Teamwork CRM API

Getting access, Developing, Testing

Back to Teamwork CRM

Create a draft

Creates a new draft and returns it.

Input

type: object properties: parameters: type: object properties: include: type: string description: |- Comma separated list of relationships to include in the response. See [including related entities](/crm/general/related-entities) for more detailed documentation of how this works. accountId: type: integer required: - accountId title: Parameters data: type: object title: Data properties: emailDraft: type: object title: CreateDraft properties: bcc: type: array items: type: object title: EmailParticipant properties: emailAddress: type: string name: type: string body: type: string cc: type: array items: type: object title: EmailParticipant properties: emailAddress: type: string name: type: string fileIds: type: array items: type: string fromName: type: string replyTo: type: array items: type: object title: EmailParticipant properties: emailAddress: type: string name: type: string replyToExternalMessageId: type: string subject: type: string to: type: array items: type: object title: EmailParticipant properties: emailAddress: type: string name: type: string

Output

type: object title: emailDraftResponse properties: emailDraft: type: object title: Draft properties: bcc: type: array items: type: object title: EmailParticipant properties: emailAddress: type: string name: type: string body: type: string cc: type: array items: type: object title: EmailParticipant properties: emailAddress: type: string name: type: string date: type: string format: date-time externalId: type: string externalThreadID: type: string files: type: array items: type: object title: EmailFile properties: contentDisposition: type: string contentId: type: string contentType: type: string downloadUrl: type: string externalId: type: string fileName: type: string size: type: integer from: type: object title: EmailParticipant properties: emailAddress: type: string name: type: string id: type: integer isStarred: type: boolean isUnread: type: boolean mailboxes: type: array items: type: object title: ResourceIdentifier properties: id: type: integer meta: type: object type: type: string replyToExternalMessageId: type: string snippet: type: string subject: type: string to: type: array items: type: object title: EmailParticipant properties: emailAddress: type: string name: type: string version: type: integer