Skip to content

HubSpot: Conversations schemas

70 HubSpot schemas with complete fields and constraints.

← Conversations operations · All schemas

Batch read actors — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
inputsarrayRequired within parentAn array of strings that are required for the batch operation. Each item in the array is a string.
inputs[]stringEach item

Batch read actors — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item

FieldTypePresenceDescription and constraints
$objectRootYe olde error
categorystringRequired within parentA string indicating the category of the error.
contextobjectRequired within parentAn object containing additional context about the error condition, with properties as arrays of strings.
Additional keys: see wildcard field
context.*arrayAdditional keys
context.*[]stringEach item
errorsarrayRequired within parentAn array of ErrorDetail objects, providing further information about the error.
errors[]ModelEach itemExpand Batch read actors — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item errors item
idstringOptionalA string representing the unique identifier for the error.
linksobjectRequired within parentAn object mapping link names to associated URIs with documentation about the error or recommended remediation steps.
Additional keys: see wildcard field
links.*stringAdditional keys
messagestringRequired within parentA string containing the error message.
statusstringRequired within parentThe status of the error as a string.
subCategoryobjectOptionalAn object providing more specific details about the error category.

Referenced models: Batch read actors — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item errors item

Batch read actors — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item errors item

FieldTypePresenceDescription and constraints
$objectRootRepresents detailed information about an error that occurred in the API. This component is used to provide additional context and specifics about errors, typically as part of an error response.
codestringOptionalThe status code associated with the error detail.
contextobjectOptionalContext about the error condition, represented as an object with additional properties. Each property is an array of strings providing further context.
Additional keys: see wildcard field
context.*arrayAdditional keys
context.*[]stringEach item
instringOptionalThe name of the field or parameter in which the error was found.
messagestringRequired within parentA human-readable message describing the error along with remediation steps where appropriate. This is a required field.
subCategorystringOptionalA specific category that contains more specific detail about the error.

Batch read actors — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING — Batch Response Public Actor

FieldTypePresenceDescription and constraints
$objectRoot
completedAtstringRequired within parentThe date and time when the batch operation was completed, in ISO 8601 format.
Format: date-time
linksobjectOptionalA map of link names to their corresponding URIs, which may provide additional information or resources related to the batch operation.
Additional keys: see wildcard field
links.*stringAdditional keys
requestedAtstringOptionalThe date and time when the batch operation was requested, in ISO 8601 format.
Format: date-time
resultsarrayRequired within parentAn array of PublicActor objects representing the results of the batch operation.
results[]ModelEach itemExpand Retrieve actor — response body
startedAtstringRequired within parentThe date and time when the batch operation started, in ISO 8601 format.
Format: date-time
statusstringRequired within parentThe current status of the batch operation. Valid values include 'PENDING', 'PROCESSING', 'CANCELED', and 'COMPLETE'.
Known values: CANCELED, COMPLETE, PENDING, PROCESSING

Referenced models: Retrieve actor — response body

Batch read actors — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING — Batch Response Public Actor With Errors

FieldTypePresenceDescription and constraints
$objectRoot
completedAtstringRequired within parentThe date and time when the batch operation was completed, in ISO 8601 format.
Format: date-time
errorsarrayOptionalAn array of StandardError objects detailing any errors encountered during the batch operation.
errors[]ModelEach itemExpand Batch read actors — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item
linksobjectOptionalAn object containing key-value pairs of link names to their associated URIs.
Additional keys: see wildcard field
links.*stringAdditional keys
numErrorsJSONOptional
numErrors (anyOf 1)integerAlternativeThe number of errors encountered during the batch operation.
Format: int32
numErrors (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
requestedAtstringOptionalThe date and time when the batch operation was requested, in ISO 8601 format.
Format: date-time
resultsarrayRequired within parentAn array of PublicActor objects representing the results of the batch operation.
results[]ModelEach itemExpand Retrieve actor — response body
startedAtstringRequired within parentThe date and time when the batch operation started, in ISO 8601 format.
Format: date-time
statusstringRequired within parentThe current status of the batch operation. Valid values include 'PENDING', 'PROCESSING', 'CANCELED', and 'COMPLETE'.
Known values: CANCELED, COMPLETE, PENDING, PROCESSING

Referenced models: Batch read actors — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item, Retrieve actor — response body

Create message — request body — body

FieldTypePresenceDescription and constraints
$JSONRoot
$ (oneOf 1)ModelAlternativeExpand Create message — request body — body / type: MESSAGE
$ (oneOf 2)ModelAlternativeExpand Create message — request body — body / type: COMMENT

Referenced models: Create message — request body — body / type: COMMENT, Create message — request body — body / type: MESSAGE

Create message — request body — body / type: COMMENT

FieldTypePresenceDescription and constraints
$objectRoot
attachmentsarrayRequired within parentAn array of attachments associated with the comment. Each attachment can be a file, quick reply, or social media metadata.
attachments[]JSONEach item
attachments[] (oneOf 1)ModelAlternativeExpand Create message — request body — body / type: COMMENT attachments item type: FILE
attachments[] (oneOf 2)ModelAlternativeExpand Create message — request body — body / type: COMMENT attachments item type: QUICK REPLIES
attachments[] (oneOf 3)ModelAlternativeExpand Create message — request body — body / type: COMMENT attachments item type: SOCIAL MEDIA METADATA
richTextstringOptionalA string containing the rich text content of the comment, allowing for formatting.
textstringRequired within parentA string containing the plain text content of the comment.
typestringRequired within parentA string indicating the type of the object, which is 'COMMENT' by default.
Default: COMMENT
One of: COMMENT

Referenced models: Create message — request body — body / type: COMMENT attachments item type: FILE, Create message — request body — body / type: COMMENT attachments item type: QUICK REPLIES, Create message — request body — body / type: COMMENT attachments item type: SOCIAL MEDIA METADATA

Create message — request body — body / type: COMMENT attachments item type: FILE

FieldTypePresenceDescription and constraints
$objectRoot
fileIdstringRequired within parentA string representing the unique identifier of the file.
typestringRequired within parentA string indicating the type of the component, which is always 'FILE'.
Default: FILE
One of: FILE

Create message — request body — body / type: COMMENT attachments item type: QUICK REPLIES

FieldTypePresenceDescription and constraints
$objectRoot
quickRepliesarrayRequired within parentAn array of QuickReply objects, each representing an individual quick reply option available to the user.
quickReplies[]ModelEach itemExpand Create message — request body — body / type: COMMENT attachments item type: QUICK REPLIES quick Replies item
typestringRequired within parentA string indicating the type of the component, which is 'QUICK_REPLIES'.
Default: QUICK_REPLIES
One of: QUICK_REPLIES

Referenced models: Create message — request body — body / type: COMMENT attachments item type: QUICK REPLIES quick Replies item

Create message — request body — body / type: COMMENT attachments item type: QUICK REPLIES quick Replies item

FieldTypePresenceDescription and constraints
$objectRoot
labelstringOptionalA human-readable label for the quick reply, displayed to the user.
valuestringRequired within parentThe actual content or data of the quick reply, represented as a string.
valueTypestringRequired within parentIndicates the type of the value, which can be either 'TEXT' or 'URL'.
One of: TEXT, URL

Create message — request body — body / type: COMMENT attachments item type: SOCIAL MEDIA METADATA

FieldTypePresenceDescription and constraints
$objectRoot
socialMetadataModelRequired within parentExpand Create message — request body — body / type: COMMENT attachments item type: SOCIAL MEDIA METADATA social Metadata
typestringRequired within parentA string that specifies the type of the component. The default value is 'SOCIAL_MEDIA_METADATA'.
Default: SOCIAL_MEDIA_METADATA
One of: SOCIAL_MEDIA_METADATA

Referenced models: Create message — request body — body / type: COMMENT attachments item type: SOCIAL MEDIA METADATA social Metadata

Create message — request body — body / type: COMMENT attachments item type: SOCIAL MEDIA METADATA social Metadata

FieldTypePresenceDescription and constraints
$objectRoot
descriptionstringOptionalA description of the media content.
idstringOptionalA unique identifier for the media.
mediaTitlestringOptionalThe title of the media content.
mediaTypestringRequired within parentThe type of media represented, such as 'PHOTO', 'VIDEO', 'CAROUSEL', etc. This is a required field.
One of: ARTICLE, AUDIO, CAROUSEL, DOCUMENT, GIF, LINK, NONE, PHOTO, POLL, STORY, VIDEO
mediaUrlstringOptionalThe URL where the media can be accessed.
mediaUrlStringstringOptionalA string representing the URL of the media.
thumbnailUrlstringOptionalThe URL of the thumbnail image for the media.

Create message — request body — body / type: MESSAGE

FieldTypePresenceDescription and constraints
$objectRoot
attachmentsarrayRequired within parentAn array of attachments associated with the message. Each attachment can be a file, quick reply, or social media metadata.
attachments[]JSONEach item
attachments[] (oneOf 1)ModelAlternativeExpand Create message — request body — body / type: COMMENT attachments item type: FILE
attachments[] (oneOf 2)ModelAlternativeExpand Create message — request body — body / type: COMMENT attachments item type: QUICK REPLIES
attachments[] (oneOf 3)ModelAlternativeExpand Create message — request body — body / type: COMMENT attachments item type: SOCIAL MEDIA METADATA
channelAccountIdstringRequired within parentA string representing the unique identifier of the channel account used to send the message.
channelIdstringRequired within parentA string representing the unique identifier of the channel through which the message is sent.
recipientsarrayRequired within parentAn array of recipient objects representing the intended recipients of the message.
recipients[]ModelEach itemExpand Create message — request body — body / type: MESSAGE recipients item
richTextstringOptionalA string containing the rich text content of the message.
senderActorIdstringRequired within parentA string representing the unique identifier of the sender actor.
subjectstringOptionalA string representing the subject of the message.
textstringRequired within parentA string containing the plain text content of the message.
typestringRequired within parentA string indicating the type of message. The default value is 'MESSAGE'.
Default: MESSAGE
One of: MESSAGE

Referenced models: Create message — request body — body / type: COMMENT attachments item type: FILE, Create message — request body — body / type: COMMENT attachments item type: QUICK REPLIES, Create message — request body — body / type: MESSAGE recipients item, Create message — request body — body / type: COMMENT attachments item type: SOCIAL MEDIA METADATA

Create message — request body — body / type: MESSAGE recipients item

FieldTypePresenceDescription and constraints
$objectRoot
actorIdstringOptionalThe unique identifier for the actor, represented as a string.
deliveryIdentifierModelOptionalExpand Create message — request body — body / type: MESSAGE recipients item delivery Identifier
deliveryIdentifiersarrayRequired within parentAn array of delivery identifiers, each represented by a PublicDeliveryIdentifier object, used to specify the methods or channels through which the recipient can receive messages.
deliveryIdentifiers[]ModelEach itemExpand Create message — request body — body / type: MESSAGE recipients item delivery Identifier
namestringOptionalThe name of the recipient, represented as a string.
recipientFieldstringOptionalA field associated with the recipient, represented as a string.

Referenced models: Create message — request body — body / type: MESSAGE recipients item delivery Identifier

Create message — request body — body / type: MESSAGE recipients item delivery Identifier

FieldTypePresenceDescription and constraints
$objectRoot
typestringRequired within parentA string indicating the type of delivery identifier. Valid values include 'HS_EMAIL_ADDRESS', 'HS_PHONE_NUMBER', 'HS_SHORT_CODE', and 'CHANNEL_SPECIFIC_OPAQUE_ID'.
One of: CHANNEL_SPECIFIC_OPAQUE_ID, HS_EMAIL_ADDRESS, HS_PHONE_NUMBER, HS_SHORT_CODE
valuestringRequired within parentA string representing the actual value of the delivery identifier, such as an email address or phone number.

Create message — response body

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)ModelAlternativeExpand Create message — response body — direction: INCOMING, OUTGOING, truncation Status: NOT TRUNCATED, TRUNCATED, TRUNCATED TO MOST RECENT REPLY, type: MESSAGE
$ (anyOf 2)ModelAlternativeExpand Create message — response body — type: COMMENT
$ (anyOf 3)ModelAlternativeExpand Create message — response body — type: WELCOME MESSAGE
$ (anyOf 4)ModelAlternativeExpand Create message — response body — type: ASSIGNMENT
$ (anyOf 5)ModelAlternativeExpand Create message — response body — newStatus: CLOSED, OPEN, type: THREAD STATUS CHANGE
$ (anyOf 6)ModelAlternativeExpand Create message — response body — type: THREAD INBOX CHANGE

Referenced models: Create message — response body — direction: INCOMING, OUTGOING, truncation Status: NOT TRUNCATED, TRUNCATED, TRUNCATED TO MOST RECENT REPLY, type: MESSAGE, Create message — response body — type: ASSIGNMENT, Create message — response body — type: COMMENT, Create message — response body — type: THREAD INBOX CHANGE, Create message — response body — newStatus: CLOSED, OPEN, type: THREAD STATUS CHANGE, Create message — response body — type: WELCOME MESSAGE

Create message — response body — direction: INCOMING, OUTGOING, truncation Status: NOT TRUNCATED, TRUNCATED, TRUNCATED TO MOST RECENT REPLY, type: MESSAGE

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanRequired within parentA boolean indicating whether this message is archived.
attachmentsarrayRequired within parentAn array of attachments included with this message, which can be of various types such as files, locations, or social media metadata.
attachments[]JSONEach item
attachments[] (anyOf 1)ModelAlternativeExpand Create message — response body — type: COMMENT attachments item file Usage Type: AUDIO, IMAGE, OTHER, STICKER, VOICE RECORDING, type: FILE
attachments[] (anyOf 2)ModelAlternativeExpand Create message — response body — type: COMMENT attachments item type: LOCATION
attachments[] (anyOf 3)ModelAlternativeExpand Create message — response body — type: COMMENT attachments item type: CONTACT
attachments[] (anyOf 4)ModelAlternativeExpand Create message — response body — type: COMMENT attachments item type: UNSUPPORTED CONTENT
attachments[] (anyOf 5)ModelAlternativeExpand Create message — response body — type: COMMENT attachments item type: MESSAGE HEADER
attachments[] (anyOf 6)ModelAlternativeExpand Create message — response body — type: COMMENT attachments item type: QUICK REPLIES
attachments[] (anyOf 7)ModelAlternativeExpand Create message — response body — type: COMMENT attachments item type: WHATSAPP TEMPLATE METADATA
attachments[] (anyOf 8)ModelAlternativeExpand Create message — response body — type: COMMENT attachments item type: SOCIAL MEDIA METADATA
channelAccountIdstringRequired within parentThe identifier of the channel account associated with this message.
channelIdstringRequired within parentThe identifier of the channel through which this message was sent.
clientModelRequired within parentExpand Create message — response body — type: COMMENT client
conversationsThreadIdstringRequired within parentThe identifier of the conversation thread to which this message belongs.
createdAtstringRequired within parentThe date and time when this message was created, in ISO 8601 format.
Format: date-time
createdBystringRequired within parentThe identifier of the actor who created this message.
directionstringRequired within parentThe direction of the message, indicating whether it is 'INCOMING' or 'OUTGOING'.
Known values: INCOMING, OUTGOING
idstringRequired within parentThe unique identifier for this message.
inReplyToIdstringOptionalThe identifier of the message to which this message is a reply, if applicable.
recipientsarrayRequired within parentAn array of recipients of this message, each represented as a PublicRecipient object.
recipients[]ModelEach itemExpand Create message — response body — type: COMMENT recipients item
richTextstringOptionalThe rich text content of the message, which may include formatting.
sendersarrayRequired within parentAn array of senders involved in this message, each represented as a PublicSender object.
senders[]ModelEach itemExpand Create message — response body — type: COMMENT senders item
statusModelOptionalExpand Create message — response body — direction: INCOMING, OUTGOING, truncation Status: NOT TRUNCATED, TRUNCATED, TRUNCATED TO MOST RECENT REPLY, type: MESSAGE status
subjectstringOptionalThe subject of the message, if applicable.
textstringRequired within parentThe plain text content of the message.
truncationStatusstringRequired within parentIndicates the truncation status of the message content, with possible values being 'NOT_TRUNCATED', 'TRUNCATED_TO_MOST_RECENT_REPLY', or 'TRUNCATED'.
Known values: NOT_TRUNCATED, TRUNCATED, TRUNCATED_TO_MOST_RECENT_REPLY
typestringRequired within parentThe type of the message, which is always 'MESSAGE'.
Known values: MESSAGE
Default: MESSAGE
updatedAtstringOptionalThe date and time when this message was last updated, in ISO 8601 format.
Format: date-time

Referenced models: Create message — response body — type: COMMENT client, Create message — response body — type: COMMENT attachments item type: CONTACT, Create message — response body — type: COMMENT attachments item file Usage Type: AUDIO, IMAGE, OTHER, STICKER, VOICE RECORDING, type: FILE, Create message — response body — type: COMMENT attachments item type: LOCATION, Create message — response body — type: COMMENT attachments item type: MESSAGE HEADER, Create message — response body — direction: INCOMING, OUTGOING, truncation Status: NOT TRUNCATED, TRUNCATED, TRUNCATED TO MOST RECENT REPLY, type: MESSAGE status, Create message — response body — type: COMMENT attachments item type: QUICK REPLIES, Create message — response body — type: COMMENT recipients item, Create message — response body — type: COMMENT senders item, Create message — response body — type: COMMENT attachments item type: SOCIAL MEDIA METADATA, Create message — response body — type: COMMENT attachments item type: UNSUPPORTED CONTENT, Create message — response body — type: COMMENT attachments item type: WHATSAPP TEMPLATE METADATA

Create message — response body — direction: INCOMING, OUTGOING, truncation Status: NOT TRUNCATED, TRUNCATED, TRUNCATED TO MOST RECENT REPLY, type: MESSAGE status

FieldTypePresenceDescription and constraints
$objectRoot
failureDetailsModelOptionalExpand Create message — response body — direction: INCOMING, OUTGOING, truncation Status: NOT TRUNCATED, TRUNCATED, TRUNCATED TO MOST RECENT REPLY, type: MESSAGE status failure Details
statusTypestringRequired within parentThe type of status for the message. Valid values include 'SENT', 'FAILED', 'RECEIVED', and 'READ'.
Known values: FAILED, READ, RECEIVED, SENT

Referenced models: Create message — response body — direction: INCOMING, OUTGOING, truncation Status: NOT TRUNCATED, TRUNCATED, TRUNCATED TO MOST RECENT REPLY, type: MESSAGE status failure Details

Create message — response body — direction: INCOMING, OUTGOING, truncation Status: NOT TRUNCATED, TRUNCATED, TRUNCATED TO MOST RECENT REPLY, type: MESSAGE status failure Details

FieldTypePresenceDescription and constraints
$objectRoot
errorMessagestringOptionalA string containing a description of the error encountered during message processing.
errorMessageTokensobjectRequired within parentAn object containing key-value pairs where each key is a token name and each value is a string. These tokens provide additional context or details related to the error message.
Additional keys: see wildcard field
errorMessageTokens.*stringAdditional keys

Create message — response body — newStatus: CLOSED, OPEN, type: THREAD STATUS CHANGE

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanRequired within parentA boolean indicating whether this status change has been archived.
clientModelRequired within parentExpand Create message — response body — type: COMMENT client
conversationsThreadIdstringRequired within parentThe unique identifier of the conversation thread whose status is being changed.
createdAtstringRequired within parentThe date and time when this status change was created, in ISO 8601 format.
Format: date-time
createdBystringRequired within parentThe identifier of the user or system that created this status change.
idstringRequired within parentThe unique identifier for this status change.
newStatusstringRequired within parentA string representing the new status of the thread. Valid values include 'OPEN' and 'CLOSED'.
Known values: CLOSED, OPEN
recipientsarrayRequired within parentAn array of objects representing the recipients involved in this status change.
recipients[]ModelEach itemExpand Create message — response body — type: COMMENT recipients item
sendersarrayRequired within parentAn array of objects representing the senders involved in this status change.
senders[]ModelEach itemExpand Create message — response body — type: COMMENT senders item
typestringRequired within parentA string indicating the type of change. Defaults to 'THREAD_STATUS_CHANGE'.
Known values: THREAD_STATUS_CHANGE
Default: THREAD_STATUS_CHANGE
updatedAtstringOptionalThe date and time when this status change was last updated, in ISO 8601 format.
Format: date-time

Referenced models: Create message — response body — type: COMMENT client, Create message — response body — type: COMMENT recipients item, Create message — response body — type: COMMENT senders item

Create message — response body — type: ASSIGNMENT

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanRequired within parentA boolean indicating whether this message is archived.
assignedFromstringOptionalThe identifier of the actor from whom the conversation was assigned.
assignedTostringOptionalThe identifier of the actor to whom the conversation is assigned.
clientModelRequired within parentExpand Create message — response body — type: COMMENT client
conversationsThreadIdstringRequired within parentThe unique identifier of the conversation thread associated with this message.
createdAtstringRequired within parentThe date and time when this message was created, in ISO 8601 format.
Format: date-time
createdBystringRequired within parentThe identifier of the actor who created this message.
idstringRequired within parentThe unique identifier for this assignment message.
recipientsarrayRequired within parentAn array of recipients involved in this message, each represented by a PublicRecipient object.
recipients[]ModelEach itemExpand Create message — response body — type: COMMENT recipients item
sendersarrayRequired within parentAn array of senders involved in this message, each represented by a PublicSender object.
senders[]ModelEach itemExpand Create message — response body — type: COMMENT senders item
typestringRequired within parentThe type of message, which is 'ASSIGNMENT'.
Known values: ASSIGNMENT
Default: ASSIGNMENT
updatedAtstringOptionalThe date and time when this message was last updated, in ISO 8601 format.
Format: date-time

Referenced models: Create message — response body — type: COMMENT client, Create message — response body — type: COMMENT recipients item, Create message — response body — type: COMMENT senders item

Create message — response body — type: COMMENT

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanRequired within parentA boolean indicating whether the comment is archived.
attachmentsarrayRequired within parentAn array of attachments associated with the comment, which can include files, locations, contacts, and other types of content.
attachments[]JSONEach item
attachments[] (anyOf 1)ModelAlternativeExpand Create message — response body — type: COMMENT attachments item file Usage Type: AUDIO, IMAGE, OTHER, STICKER, VOICE RECORDING, type: FILE
attachments[] (anyOf 2)ModelAlternativeExpand Create message — response body — type: COMMENT attachments item type: LOCATION
attachments[] (anyOf 3)ModelAlternativeExpand Create message — response body — type: COMMENT attachments item type: CONTACT
attachments[] (anyOf 4)ModelAlternativeExpand Create message — response body — type: COMMENT attachments item type: UNSUPPORTED CONTENT
attachments[] (anyOf 5)ModelAlternativeExpand Create message — response body — type: COMMENT attachments item type: MESSAGE HEADER
attachments[] (anyOf 6)ModelAlternativeExpand Create message — response body — type: COMMENT attachments item type: QUICK REPLIES
attachments[] (anyOf 7)ModelAlternativeExpand Create message — response body — type: COMMENT attachments item type: WHATSAPP TEMPLATE METADATA
attachments[] (anyOf 8)ModelAlternativeExpand Create message — response body — type: COMMENT attachments item type: SOCIAL MEDIA METADATA
clientModelRequired within parentExpand Create message — response body — type: COMMENT client
conversationsThreadIdstringRequired within parentThe unique identifier of the conversation thread to which this comment belongs.
createdAtstringRequired within parentThe date and time when the comment was created, in ISO 8601 format.
Format: date-time
createdBystringRequired within parentThe identifier of the user who created the comment.
idstringRequired within parentThe unique identifier for the comment.
recipientsarrayRequired within parentAn array of recipients associated with the comment, each represented by a PublicRecipient object.
recipients[]ModelEach itemExpand Create message — response body — type: COMMENT recipients item
richTextstringRequired within parentThe rich text content of the comment, which may include formatting.
sendersarrayRequired within parentAn array of senders associated with the comment, each represented by a PublicSender object.
senders[]ModelEach itemExpand Create message — response body — type: COMMENT senders item
textstringRequired within parentThe plain text content of the comment.
typestringRequired within parentThe type of the message, which is always 'COMMENT' for this component.
Known values: COMMENT
Default: COMMENT
updatedAtstringOptionalThe date and time when the comment was last updated, in ISO 8601 format.
Format: date-time

Referenced models: Create message — response body — type: COMMENT client, Create message — response body — type: COMMENT attachments item type: CONTACT, Create message — response body — type: COMMENT attachments item file Usage Type: AUDIO, IMAGE, OTHER, STICKER, VOICE RECORDING, type: FILE, Create message — response body — type: COMMENT attachments item type: LOCATION, Create message — response body — type: COMMENT attachments item type: MESSAGE HEADER, Create message — response body — type: COMMENT attachments item type: QUICK REPLIES, Create message — response body — type: COMMENT recipients item, Create message — response body — type: COMMENT senders item, Create message — response body — type: COMMENT attachments item type: SOCIAL MEDIA METADATA, Create message — response body — type: COMMENT attachments item type: UNSUPPORTED CONTENT, Create message — response body — type: COMMENT attachments item type: WHATSAPP TEMPLATE METADATA

Create message — response body — type: COMMENT attachments item file Usage Type: AUDIO, IMAGE, OTHER, STICKER, VOICE RECORDING, type: FILE

FieldTypePresenceDescription and constraints
$objectRoot
fileIdstringRequired within parentA string representing the unique identifier for the file.
fileUsageTypestringRequired within parentA string indicating the usage type of the file. Valid values include 'STICKER', 'VOICE_RECORDING', 'IMAGE', 'AUDIO', and 'OTHER'.
Known values: AUDIO, IMAGE, OTHER, STICKER, VOICE_RECORDING
namestringOptionalA string representing the name of the file.
typestringRequired within parentA string indicating the type of the object, which is 'FILE' by default.
Known values: FILE
Default: FILE
urlstringOptionalA string representing the URL where the file can be accessed.

Create message — response body — type: COMMENT attachments item type: CONTACT

FieldTypePresenceDescription and constraints
$objectRoot
contactProfileModelRequired within parentExpand Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile
typestringRequired within parentA string indicating the type of the object, which is 'CONTACT' by default.
Known values: CONTACT
Default: CONTACT

Referenced models: Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile

Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile

FieldTypePresenceDescription and constraints
$objectRoot
addressesarrayRequired within parentAn array of addresses associated with the contact, where each address includes type (e.g., HOME, WORK), street, city, state, zip, country, and country code.
addresses[]ModelEach itemExpand Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile addresses item
emailsarrayRequired within parentAn array of email addresses associated with the contact, where each email includes type (e.g., HOME, WORK) and the email address itself.
emails[]ModelEach itemExpand Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile emails item
nameModelOptionalExpand Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile name
orgModelOptionalExpand Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile org
phonesarrayRequired within parentAn array of phone numbers associated with the contact, where each phone number includes type (e.g., CELL, MAIN, HOME, WORK) and the phone number itself.
phones[]ModelEach itemExpand Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile phones item
urlsarrayRequired within parentAn array of URLs associated with the contact, where each URL includes type (e.g., HOME, WORK) and the URL itself.
urls[]ModelEach itemExpand Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile urls item

Referenced models: Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile name, Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile org, Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile addresses item, Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile emails item, Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile phones item, Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile urls item

Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile addresses item

FieldTypePresenceDescription and constraints
$objectRoot
citystringOptionalThe city where the contact is located. It is a string representing the city name.
countrystringOptionalThe country where the contact is located. It is a string representing the country name.
countryCodestringOptionalThe code representing the country of the contact. It is a string, typically an ISO 3166-1 alpha-2 country code.
statestringOptionalThe state or region where the contact is located. It is a string representing the state or region name.
streetstringOptionalThe street address of the contact. It is a string representing the street name and number.
typestringOptionalThe type of address, indicating whether it is a 'HOME' or 'WORK' address.
Known values: HOME, WORK
zipstringOptionalThe postal code for the contact's address. It is a string representing the ZIP or postal code.

Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile emails item

FieldTypePresenceDescription and constraints
$objectRoot
emailstringRequired within parentThe email address of the contact. This is a required field.
typestringOptionalThe type of email address, which can be either 'HOME' or 'WORK'.
Known values: HOME, WORK

Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile name

FieldTypePresenceDescription and constraints
$objectRoot
firstNamestringOptionalA string representing the first name of the contact.
lastNamestringOptionalA string representing the last name of the contact.
middleNamestringOptionalAn optional string representing the middle name of the contact.
prefixstringOptionalAn optional string representing the prefix of the contact's name, such as 'Mr.', 'Ms.', or 'Dr.'.
suffixstringOptionalAn optional string representing the suffix of the contact's name, such as 'Jr.', 'Sr.', or 'III'.

Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile org

FieldTypePresenceDescription and constraints
$objectRoot
companystringOptionalThe name of the company the contact is associated with.
departmentstringOptionalThe department within the company where the contact works.
titlestringOptionalThe professional title or position held by the contact within the company.

Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile phones item

FieldTypePresenceDescription and constraints
$objectRoot
phonestringRequired within parentThe phone number associated with the contact. This is a required field.
typestringOptionalThe type of phone, which can be 'CELL', 'MAIN', 'HOME', or 'WORK'.
Known values: CELL, HOME, MAIN, WORK

Create message — response body — type: COMMENT attachments item type: CONTACT contact Profile urls item

FieldTypePresenceDescription and constraints
$objectRoot
typestringOptionalThe type of URL, which can be either 'HOME' or 'WORK'.
Known values: HOME, WORK
urlstringRequired within parentThe actual URL string associated with the contact.

Create message — response body — type: COMMENT attachments item type: LOCATION

FieldTypePresenceDescription and constraints
$objectRoot
addressstringOptionalA string providing the address of the location.
latitudeJSONRequired within parent
latitude (anyOf 1)numberAlternativeA number indicating the latitude of the location.
latitude (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
longitudeJSONRequired within parent
longitude (anyOf 1)numberAlternativeA number indicating the longitude of the location.
longitude (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
namestringOptionalA string representing the name of the location.
typestringRequired within parentA string representing the type of the component, which is 'LOCATION' by default.
Known values: LOCATION
Default: LOCATION
urlstringOptionalA string containing a URL associated with the location.

Create message — response body — type: COMMENT attachments item type: MESSAGE HEADER

FieldTypePresenceDescription and constraints
$objectRoot
fileIdJSONOptional
fileId (anyOf 1)integerAlternativeAn integer representing the ID of a file associated with the message header, formatted as an int64.
Format: int64
fileId (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
textstringOptionalA string containing the text content of the message header.
typestringRequired within parentA string indicating the type of the message header. The default and only valid value is 'MESSAGE_HEADER'.
Known values: MESSAGE_HEADER
Default: MESSAGE_HEADER

Create message — response body — type: COMMENT attachments item type: QUICK REPLIES

FieldTypePresenceDescription and constraints
$objectRoot
allowMultiSelectbooleanRequired within parentA boolean indicating whether the user can select multiple quick replies at once.
allowUserInputbooleanRequired within parentA boolean indicating whether the user is allowed to input their own response in addition to selecting from the quick replies.
quickRepliesarrayRequired within parentAn array of QuickReply objects, each representing a single quick reply option available to the user.
quickReplies[]ModelEach itemExpand Create message — response body — type: COMMENT attachments item type: QUICK REPLIES quick Replies item
typestringRequired within parentA string indicating the type of the component, with a default value of 'QUICK_REPLIES'.
Known values: QUICK_REPLIES
Default: QUICK_REPLIES

Referenced models: Create message — response body — type: COMMENT attachments item type: QUICK REPLIES quick Replies item

Create message — response body — type: COMMENT attachments item type: QUICK REPLIES quick Replies item

FieldTypePresenceDescription and constraints
$objectRoot
labelstringOptionalA human-readable label for the quick reply, displayed to the user.
valuestringRequired within parentThe actual content or data of the quick reply, represented as a string.
valueTypestringRequired within parentIndicates the type of the value, which can be either 'TEXT' or 'URL'.
Known values: TEXT, URL

Create message — response body — type: COMMENT attachments item type: SOCIAL MEDIA METADATA

FieldTypePresenceDescription and constraints
$objectRoot
socialMetadataModelRequired within parentExpand Create message — response body — type: COMMENT attachments item type: SOCIAL MEDIA METADATA social Metadata
typestringRequired within parentA string indicating the type of metadata, which is always 'SOCIAL_MEDIA_METADATA'.
Known values: SOCIAL_MEDIA_METADATA
Default: SOCIAL_MEDIA_METADATA

Referenced models: Create message — response body — type: COMMENT attachments item type: SOCIAL MEDIA METADATA social Metadata

Create message — response body — type: COMMENT attachments item type: SOCIAL MEDIA METADATA social Metadata

FieldTypePresenceDescription and constraints
$objectRoot
descriptionstringOptionalA description of the media content.
idstringOptionalA unique identifier for the media.
mediaTitlestringOptionalThe title of the media content.
mediaTypestringRequired within parentThe type of media represented, such as 'PHOTO', 'VIDEO', 'CAROUSEL', etc. This is a required field.
Known values: ARTICLE, AUDIO, CAROUSEL, DOCUMENT, GIF, LINK, NONE, PHOTO, POLL, STORY, VIDEO
mediaUrlstringOptionalThe URL where the media can be accessed.
mediaUrlStringstringOptionalA string representing the URL of the media.
thumbnailUrlstringOptionalThe URL of the thumbnail image for the media.

Create message — response body — type: COMMENT attachments item type: UNSUPPORTED CONTENT

FieldTypePresenceDescription and constraints
$objectRoot
typestringRequired within parentA string indicating the type of content. The default value is 'UNSUPPORTED_CONTENT', and it must be 'UNSUPPORTED_CONTENT'.
Known values: UNSUPPORTED_CONTENT
Default: UNSUPPORTED_CONTENT

Create message — response body — type: COMMENT attachments item type: WHATSAPP TEMPLATE METADATA

FieldTypePresenceDescription and constraints
$objectRoot
contentIdJSONOptional
contentId (anyOf 1)integerAlternativeAn integer representing the ID of the content associated with the template. This is a 64-bit integer.
Format: int64
contentId (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
crmObjectIdsobjectRequired within parentAn object that maps CRM object names to their respective IDs, where each ID is a 64-bit integer.
Additional keys: see wildcard field
crmObjectIds.*JSONAdditional keys
crmObjectIds.* (anyOf 1)integerAlternativeFormat: int64
crmObjectIds.* (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
mappedTemplateIdJSONOptional
mappedTemplateId (anyOf 1)integerAlternativeAn integer representing the ID of the mapped template. This is a 64-bit integer.
Format: int64
mappedTemplateId (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
parametersobjectRequired within parentAn object containing key-value pairs where each key is a parameter name and each value is a string representing the parameter value.
Additional keys: see wildcard field
parameters.*stringAdditional keys
rootMicIdJSONOptional
rootMicId (anyOf 1)integerAlternativeAn integer representing the root MIC ID associated with the template. This is a 64-bit integer.
Format: int64
rootMicId (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
typestringRequired within parentA string representing the type of the metadata, which is always 'WHATSAPP_TEMPLATE_METADATA'.
Known values: WHATSAPP_TEMPLATE_METADATA
Default: WHATSAPP_TEMPLATE_METADATA

Create message — response body — type: COMMENT client

FieldTypePresenceDescription and constraints
$objectRoot
clientTypestringRequired within parentThe type of client interacting with the API. Valid values include 'HUBSPOT', 'SYSTEM', 'INTEGRATION', and 'UNKNOWN'.
Known values: HUBSPOT, INTEGRATION, SYSTEM, UNKNOWN
integrationAppIdJSONOptional
integrationAppId (anyOf 1)integerAlternativeAn optional identifier for the integration application associated with the client. It is an integer value.
Format: int32
integrationAppId (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Create message — response body — type: COMMENT recipients item

FieldTypePresenceDescription and constraints
$objectRoot
actorIdstringOptionalThe unique identifier for the actor, represented as a string.
deliveryIdentifierModelRequired within parentExpand Retrieve Channel Account — response body — delivery Identifier
namestringOptionalThe name of the recipient, represented as a string.
recipientFieldstringOptionalA string representing a specific field related to the recipient.

Referenced models: Retrieve Channel Account — response body — delivery Identifier

Create message — response body — type: COMMENT senders item

FieldTypePresenceDescription and constraints
$objectRoot
actorIdstringOptionalThe unique identifier for the sender, represented as a string.
deliveryIdentifierModelOptionalExpand Retrieve Channel Account — response body — delivery Identifier
namestringOptionalThe name of the sender, represented as a string.
senderFieldstringOptionalA string field associated with the sender, purpose unspecified.

Referenced models: Retrieve Channel Account — response body — delivery Identifier

Create message — response body — type: THREAD INBOX CHANGE

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanRequired within parentA boolean indicating whether this inbox change event has been archived.
clientModelRequired within parentExpand Create message — response body — type: COMMENT client
conversationsThreadIdstringRequired within parentThe unique identifier for the conversation thread associated with this inbox change.
createdAtstringRequired within parentThe date and time when this inbox change was created, in ISO 8601 format.
Format: date-time
createdBystringRequired within parentThe identifier of the user or system that created this inbox change.
fromInboxIdstringRequired within parentThe unique identifier of the inbox from which the thread is moved.
idstringRequired within parentThe unique identifier for this inbox change event.
recipientsarrayRequired within parentAn array of objects representing the recipients involved in the conversation thread.
recipients[]ModelEach itemExpand Create message — response body — type: COMMENT recipients item
sendersarrayRequired within parentAn array of objects representing the senders involved in the conversation thread.
senders[]ModelEach itemExpand Create message — response body — type: COMMENT senders item
toInboxIdstringRequired within parentThe unique identifier of the inbox to which the thread is moved.
typestringRequired within parentA string indicating the type of change, which is 'THREAD_INBOX_CHANGE'.
Known values: THREAD_INBOX_CHANGE
Default: THREAD_INBOX_CHANGE
updatedAtstringOptionalThe date and time when this inbox change was last updated, in ISO 8601 format.
Format: date-time

Referenced models: Create message — response body — type: COMMENT client, Create message — response body — type: COMMENT recipients item, Create message — response body — type: COMMENT senders item

Create message — response body — type: WELCOME MESSAGE

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanRequired within parentA boolean indicating whether this welcome message is archived.
channelAccountIdstringRequired within parentThe unique identifier for the channel account associated with this welcome message.
channelIdstringRequired within parentThe unique identifier for the channel through which this welcome message is sent.
clientModelRequired within parentExpand Create message — response body — type: COMMENT client
conversationsThreadIdstringRequired within parentThe unique identifier for the conversation thread to which this welcome message belongs.
createdAtstringRequired within parentThe date and time when this welcome message was created, in ISO 8601 format.
Format: date-time
createdBystringRequired within parentThe identifier of the user or system that created this welcome message.
idstringRequired within parentThe unique identifier for this welcome message.
recipientsarrayRequired within parentAn array of objects representing the recipients of this welcome message.
recipients[]ModelEach itemExpand Create message — response body — type: COMMENT recipients item
richTextstringOptionalThe rich text content of the welcome message, which may include formatting.
sendersarrayRequired within parentAn array of objects representing the senders of this welcome message.
senders[]ModelEach itemExpand Create message — response body — type: COMMENT senders item
textstringRequired within parentThe plain text content of the welcome message.
typestringRequired within parentA string indicating the type of message, which is 'WELCOME_MESSAGE' by default.
Known values: WELCOME_MESSAGE
Default: WELCOME_MESSAGE
updatedAtstringOptionalThe date and time when this welcome message was last updated, in ISO 8601 format.
Format: date-time

Referenced models: Create message — response body — type: COMMENT client, Create message — response body — type: COMMENT recipients item, Create message — response body — type: COMMENT senders item

List Inboxes — response body

FieldTypePresenceDescription and constraints
$objectRoot
pagingModelOptionalExpand List Inboxes — response body — paging
resultsarrayRequired within parentAn array of public inbox objects, each representing a single inbox with its details.
results[]ModelEach itemExpand Retrieve inbox — response body
totalJSONRequired within parent
total (anyOf 1)integerAlternativeThe total number of public inboxes available. It is an integer value.
Format: int32
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: List Inboxes — response body — paging, Retrieve inbox — response body

List Inboxes — response body — paging

FieldTypePresenceDescription and constraints
$objectRootRepresents the pagination information for navigating through a list of results in the API. It provides details on how to access the previous or next set of results.
nextModelOptionalExpand List Inboxes — response body — paging next
prevModelOptionalExpand List Inboxes — response body — paging prev

Referenced models: List Inboxes — response body — paging next, List Inboxes — response body — paging prev

List Inboxes — response body — paging next

FieldTypePresenceDescription and constraints
$objectRootSpecifies the paging information needed to retrieve the next set of results in a paginated API response
afterstringRequired within parentA string token used to fetch the next set of results in a paginated response.
linkstringOptionalA string containing the URL link to the next page of results.

List Inboxes — response body — paging prev

FieldTypePresenceDescription and constraints
$objectRootspecifies the paging information needed to retrieve the previous set of results in a paginated API response
beforestringRequired within parentA string token used to identify the position before the current page in the pagination sequence.
linkstringOptionalA string URL that links to the previous page of results.

List channel accounts — response body

FieldTypePresenceDescription and constraints
$objectRoot
pagingModelOptionalExpand List Inboxes — response body — paging
resultsarrayRequired within parentAn array of public channel account objects, each containing details about a specific channel account.
results[]ModelEach itemExpand Retrieve Channel Account — response body
totalJSONRequired within parent
total (anyOf 1)integerAlternativeThe total number of public channel accounts available. It is an integer value.
Format: int32
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: List Inboxes — response body — paging, Retrieve Channel Account — response body

List channels — response body

FieldTypePresenceDescription and constraints
$objectRoot
pagingModelOptionalExpand List Inboxes — response body — paging
resultsarrayRequired within parentAn array containing the public channel objects. Each item in the array is a reference to a PublicChannel schema.
results[]ModelEach itemExpand Retrieve channel — response body
totalJSONRequired within parent
total (anyOf 1)integerAlternativeThe total number of public channels available. It is an integer value.
Format: int32
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: List Inboxes — response body — paging, Retrieve channel — response body

List threads — response body

FieldTypePresenceDescription and constraints
$objectRoot
pagingModelOptionalExpand List threads — response body — paging
resultsarrayRequired within parentAn array of PublicThread objects, representing the individual threads in the collection.
results[]ModelEach itemExpand Update thread — response body

Referenced models: List threads — response body — paging, Update thread — response body

List threads — response body — paging

FieldTypePresenceDescription and constraints
$objectRootPaging information for forward-only pagination. Contains the next page reference when more results are available; omitted or empty on the last page.
nextModelOptionalExpand List Inboxes — response body — paging next

Referenced models: List Inboxes — response body — paging next

Retrieve Channel Account — response body

FieldTypePresenceDescription and constraints
$objectRoot
activebooleanRequired within parentA boolean indicating whether the channel account is currently active.
archivedbooleanRequired within parentA boolean indicating whether the channel account is archived.
archivedAtstringOptionalThe date and time when the channel account was archived, in ISO 8601 format.
Format: date-time
authorizedbooleanRequired within parentA boolean indicating whether the channel account is authorized.
channelIdstringRequired within parentThe unique identifier for the channel associated with this account, represented as a string.
createdAtstringRequired within parentThe date and time when the channel account was created, in ISO 8601 format.
Format: date-time
deliveryIdentifierModelOptionalExpand Retrieve Channel Account — response body — delivery Identifier
idstringRequired within parentThe unique identifier for the channel account, represented as a string.
inboxIdstringRequired within parentThe unique identifier for the inbox associated with this channel account, represented as a string.
namestringRequired within parentThe name of the channel account, represented as a string.

Referenced models: Retrieve Channel Account — response body — delivery Identifier

Retrieve Channel Account — response body — delivery Identifier

FieldTypePresenceDescription and constraints
$objectRoot
typestringRequired within parentA string indicating the type of delivery identifier. Valid values include 'HS_EMAIL_ADDRESS', 'HS_PHONE_NUMBER', 'HS_SHORT_CODE', and 'CHANNEL_SPECIFIC_OPAQUE_ID'.
Known values: CHANNEL_SPECIFIC_OPAQUE_ID, HS_EMAIL_ADDRESS, HS_PHONE_NUMBER, HS_SHORT_CODE
valuestringRequired within parentA string representing the actual value of the delivery identifier, such as an email address or phone number.

Retrieve actor — response body

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)ModelAlternativeExpand Retrieve actor — response body — type: AGENT
$ (anyOf 2)ModelAlternativeExpand Retrieve actor — response body — type: BOT
$ (anyOf 3)ModelAlternativeExpand Retrieve actor — response body — type: INTEGRATOR
$ (anyOf 4)ModelAlternativeExpand Retrieve actor — response body — type: SYSTEM
$ (anyOf 5)ModelAlternativeExpand Retrieve actor — response body — type: VISITOR
$ (anyOf 6)ModelAlternativeExpand Retrieve actor — response body — type: EMAIL
$ (anyOf 7)ModelAlternativeExpand Retrieve actor — response body — type: LLM

Referenced models: Retrieve actor — response body — type: AGENT, Retrieve actor — response body — type: BOT, Retrieve actor — response body — type: EMAIL, Retrieve actor — response body — type: INTEGRATOR, Retrieve actor — response body — type: LLM, Retrieve actor — response body — type: SYSTEM, Retrieve actor — response body — type: VISITOR

Retrieve actor — response body — type: AGENT

FieldTypePresenceDescription and constraints
$objectRoot
avatarstringOptionalA string representing the URL to the avatar image of the agent.
emailstringOptionalA string containing the email address of the agent.
idstringRequired within parentA string that uniquely identifies the agent actor.
namestringOptionalA string representing the name of the agent.
typestringRequired within parentA string representing the type of actor, which is always 'AGENT' for this component.
Known values: AGENT
Default: AGENT

Retrieve actor — response body — type: BOT

FieldTypePresenceDescription and constraints
$objectRoot
avatarstringOptionalA string representing the URL of the avatar image for the bot actor.
idstringRequired within parentA string representing the unique identifier for the bot actor.
namestringOptionalA string representing the name of the bot actor.
typestringRequired within parentA string indicating the type of actor, which is always 'BOT' for this component.
Known values: BOT
Default: BOT

Retrieve actor — response body — type: EMAIL

FieldTypePresenceDescription and constraints
$objectRoot
emailstringRequired within parentA string containing the email address associated with the actor.
idstringRequired within parentA string that uniquely identifies the email actor.
typestringRequired within parentA string representing the type of actor, which defaults to 'EMAIL'.
Known values: EMAIL
Default: EMAIL

Retrieve actor — response body — type: INTEGRATOR

FieldTypePresenceDescription and constraints
$objectRoot
avatarstringOptionalA string containing the URL or identifier for the avatar image of the integrator actor.
idstringRequired within parentA string that uniquely identifies the integrator actor.
namestringRequired within parentA string representing the name of the integrator actor.
typestringRequired within parentA string representing the type of actor, with the default value 'INTEGRATOR'.
Known values: INTEGRATOR
Default: INTEGRATOR

Retrieve actor — response body — type: LLM

FieldTypePresenceDescription and constraints
$objectRoot
avatarstringOptionalA string representing the URL of the avatar image for the LLM actor.
idstringRequired within parentA unique identifier for the LLM actor, represented as a string.
namestringOptionalThe name of the LLM actor, represented as a string.
typestringRequired within parentA string indicating the type of actor, which is always 'LLM' for this component.
Known values: LLM
Default: LLM

Retrieve actor — response body — type: SYSTEM

FieldTypePresenceDescription and constraints
$objectRoot
idstringRequired within parentA string that uniquely identifies the system actor.
typestringRequired within parentA string that specifies the type of actor, which is 'SYSTEM' for this component.
Known values: SYSTEM
Default: SYSTEM

Retrieve actor — response body — type: VISITOR

FieldTypePresenceDescription and constraints
$objectRoot
avatarstringOptionalA string representing the URL of the visitor's avatar image.
emailstringOptionalA string containing the email address of the visitor.
idstringRequired within parentA string representing the unique identifier for the visitor actor.
namestringOptionalA string containing the name of the visitor.
typestringRequired within parentA string indicating the type of actor, which is 'VISITOR' for this component.
Known values: VISITOR
Default: VISITOR

Retrieve channel — response body

FieldTypePresenceDescription and constraints
$objectRoot
idstringRequired within parentThe unique identifier for the channel, represented as a string.
namestringRequired within parentThe name of the channel, represented as a string.

Retrieve inbox — response body

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanRequired within parentA boolean indicating whether the inbox is archived.
archivedAtstringOptionalThe date and time when the inbox was archived, in ISO 8601 format. This property is optional.
Format: date-time
createdAtstringRequired within parentThe date and time when the inbox was created, in ISO 8601 format.
Format: date-time
idstringRequired within parentThe unique identifier for the inbox. It is a string.
namestringRequired within parentThe name of the inbox. It is a string.
typestringRequired within parentThe type of the inbox, which can be either 'INBOX' or 'HELP_DESK'.
Known values: HELP_DESK, INBOX
updatedAtstringRequired within parentThe date and time when the inbox was last updated, in ISO 8601 format.
Format: date-time

Retrieve messages — response body

FieldTypePresenceDescription and constraints
$objectRoot
pagingModelOptionalExpand List threads — response body — paging
resultsarrayRequired within parentAn array of public messages, which can include various types such as conversations messages, comments, welcome messages, assignment messages, thread status changes, and thread inbox changes.
results[]JSONEach item
results[] (anyOf 1)ModelAlternativeExpand Create message — response body — direction: INCOMING, OUTGOING, truncation Status: NOT TRUNCATED, TRUNCATED, TRUNCATED TO MOST RECENT REPLY, type: MESSAGE
results[] (anyOf 2)ModelAlternativeExpand Create message — response body — type: COMMENT
results[] (anyOf 3)ModelAlternativeExpand Create message — response body — type: WELCOME MESSAGE
results[] (anyOf 4)ModelAlternativeExpand Create message — response body — type: ASSIGNMENT
results[] (anyOf 5)ModelAlternativeExpand Create message — response body — newStatus: CLOSED, OPEN, type: THREAD STATUS CHANGE
results[] (anyOf 6)ModelAlternativeExpand Create message — response body — type: THREAD INBOX CHANGE

Referenced models: List threads — response body — paging, Create message — response body — direction: INCOMING, OUTGOING, truncation Status: NOT TRUNCATED, TRUNCATED, TRUNCATED TO MOST RECENT REPLY, type: MESSAGE, Create message — response body — type: ASSIGNMENT, Create message — response body — type: COMMENT, Create message — response body — type: THREAD INBOX CHANGE, Create message — response body — newStatus: CLOSED, OPEN, type: THREAD STATUS CHANGE, Create message — response body — type: WELCOME MESSAGE

Retrieve original content — response body

FieldTypePresenceDescription and constraints
$objectRoot
richTextstringOptionalA string representing the rich text content of the message, which may include formatting and other rich text features.
textstringOptionalA string representing the plain text content of the message.

Update assignee — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
actorIdstringRequired within parentThe unique identifier of the actor to be assigned to the thread. It is a required string property.

Update thread — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanOptionalA boolean indicating whether the thread is archived.
statusstringOptionalThe current status of the thread. Valid values include 'OPEN' and 'CLOSED'.
One of: CLOSED, OPEN

Update thread — response body

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanRequired within parentA boolean indicating whether the thread is archived.
assignedTostringOptionalThe identifier of the user to whom the thread is assigned.
associatedContactIdstringRequired within parentThe identifier of the contact associated with the thread.
closedAtstringOptionalThe date and time when the thread was closed, in ISO 8601 format.
Format: date-time
createdAtstringRequired within parentThe date and time when the thread was created, in ISO 8601 format.
Format: date-time
idstringRequired within parentThe unique identifier for the conversation thread.
inboxIdstringRequired within parentThe identifier of the inbox where the thread is located.
latestMessageReceivedTimestampstringOptionalThe date and time when the latest message was received, in ISO 8601 format.
Format: date-time
latestMessageSentTimestampstringOptionalThe date and time when the latest message was sent, in ISO 8601 format.
Format: date-time
latestMessageTimestampstringOptionalThe date and time of the latest message in the thread, in ISO 8601 format.
Format: date-time
originalChannelAccountIdstringRequired within parentThe identifier of the original channel account associated with the thread.
originalChannelIdstringRequired within parentThe identifier of the original channel where the thread was initiated.
spambooleanRequired within parentA boolean indicating whether the thread is marked as spam.
statusstringRequired within parentThe current status of the thread. Valid values include 'OPEN' and 'CLOSED'.
Known values: CLOSED, OPEN
threadAssociationsModelOptionalExpand Update thread — response body — thread Associations

Referenced models: Update thread — response body — thread Associations

Update thread — response body — thread Associations

FieldTypePresenceDescription and constraints
$objectRoot
associatedTicketIdstringOptionalThe unique identifier for the associated ticket, represented as a string.

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.