Back to Teamwork CRMCreate an email thread and connects it to the deal
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.
id:
type: integer
required:
- id
title: Parameters
data:
type: object
title: Data
properties:
emailMessage:
type: object
properties:
CreateDraft:
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
account:
type: object
properties:
id:
type: integer
description: The id related entity.
type:
type: string
description: The type of the related entity, e.g "users".
Output
type: object
title: connectMessageResponse
properties:
connection:
type: object
properties:
id:
type: integer
description: The id related entity.
type:
type: string
description: The type of the related entity, e.g "users".
emailMessage:
type: object
title: EmailMessage
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
snippet:
type: string
subject:
type: string
to:
type: array
items:
type: object
title: EmailParticipant
properties:
emailAddress:
type: string
name:
type: string