Skip to content

HubSpot: Custom channels schemas

52 HubSpot schemas with complete fields and constraints.

← Custom channels operations · All schemas

Create a channel account — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
authorizedbooleanRequired within parentA boolean indicating whether the channel account is authorized.
deliveryIdentifierModelOptionalExpand Create a channel account — request body — body delivery Identifier
inboxIdstringRequired within parentThe unique identifier for the inbox associated with this channel account. It is a string.
namestringRequired within parentThe name of the channel account. It is a string.

Referenced models: Create a channel account — request body — body delivery Identifier

Create a channel account — request body — body delivery Identifier

FieldTypePresenceDescription and constraints
$objectRoot
typestringRequired within parentA string representing 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 value associated with the delivery identifier type.

Create a 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 to which this account belongs, represented as a string.
createdAtstringRequired within parentThe date and time when the channel account was created, in ISO 8601 format.
Format: date-time
deliveryIdentifierModelOptionalExpand Create a channel account — response body — delivery Identifier
idstringRequired within parentThe unique identifier for this 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: Create a channel account — response body — delivery Identifier

Create a channel account — response body — delivery Identifier

FieldTypePresenceDescription and constraints
$objectRoot
typestringRequired within parentA string representing 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 value associated with the delivery identifier type.

Get a message — response body

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanRequired within parentA boolean indicating whether the message is archived.
attachmentsarrayRequired within parentAn array of attachments included with the message, which can be files, locations, contacts, or other supported types.
attachments[]JSONEach item
attachments[] (anyOf 1)ModelAlternativeExpand Get a message — response body — attachments / item / fileUsageType: AUDIO, IMAGE, OTHER, STICKER, VOICE RECORDING, type: FILE
attachments[] (anyOf 2)ModelAlternativeExpand Get a message — response body — attachments / item / type: LOCATION
attachments[] (anyOf 3)ModelAlternativeExpand Get a message — response body — attachments / item / type: CONTACT
attachments[] (anyOf 4)ModelAlternativeExpand Get a message — response body — attachments / item / type: UNSUPPORTED CONTENT
attachments[] (anyOf 5)ModelAlternativeExpand Get a message — response body — attachments / item / type: MESSAGE HEADER
attachments[] (anyOf 6)ModelAlternativeExpand Get a message — response body — attachments / item / type: QUICK REPLIES
attachments[] (anyOf 7)ModelAlternativeExpand Get a message — response body — attachments / item / type: WHATSAPP TEMPLATE METADATA
attachments[] (anyOf 8)ModelAlternativeExpand Get a message — response body — attachments / item / type: SOCIAL MEDIA METADATA
channelAccountIdstringRequired within parentThe identifier of the channel account associated with the message.
channelIdstringRequired within parentThe identifier of the channel through which the message was sent.
clientModelRequired within parentExpand Get a message — response body — client
conversationsThreadIdstringRequired within parentThe identifier for the conversation thread to which this message belongs.
createdAtstringRequired within parentThe date and time when the message was created, in ISO 8601 format.
Format: date-time
createdBystringRequired within parentThe identifier of the user or system that created the message.
directionstringRequired within parentThe direction of the message, either 'INCOMING' or 'OUTGOING'.
Known values: INCOMING, OUTGOING
idstringRequired within parentThe unique identifier for the message.
inReplyToIdstringOptionalThe identifier of the message to which this message is a reply, if applicable.
recipientsarrayRequired within parentAn array of recipients of the message, each containing recipient details.
recipients[]ModelEach itemExpand Get a message — response body — recipients item
richTextstringOptionalThe rich text content of the message, if available.
sendersarrayRequired within parentAn array of senders associated with the message, each containing sender details.
senders[]ModelEach itemExpand Get a message — response body — senders item
statusModelOptionalExpand Get a message — response body — status
subjectstringOptionalThe subject of the message, if applicable.
textstringRequired within parentThe plain text content of the message.
truncationStatusstringRequired within parentIndicates whether the message content is truncated. Valid values are 'NOT_TRUNCATED', 'TRUNCATED_TO_MOST_RECENT_REPLY', and '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 the message was last updated, in ISO 8601 format.
Format: date-time

Referenced models: Get a message — response body — client, Get a message — response body — attachments / item / type: CONTACT, Get a message — response body — attachments / item / fileUsageType: AUDIO, IMAGE, OTHER, STICKER, VOICE RECORDING, type: FILE, Get a message — response body — attachments / item / type: LOCATION, Get a message — response body — attachments / item / type: MESSAGE HEADER, Get a message — response body — status, Get a message — response body — attachments / item / type: QUICK REPLIES, Get a message — response body — recipients item, Get a message — response body — senders item, Get a message — response body — attachments / item / type: SOCIAL MEDIA METADATA, Get a message — response body — attachments / item / type: UNSUPPORTED CONTENT, Get a message — response body — attachments / item / type: WHATSAPP TEMPLATE METADATA

Get a message — response body — attachments / item / fileUsageType: 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 specifying the usage type of the file, which can be 'STICKER', 'VOICE_RECORDING', 'IMAGE', 'AUDIO', or 'OTHER'.
Known values: AUDIO, IMAGE, OTHER, STICKER, VOICE_RECORDING
namestringOptionalA string containing the name of the file.
typestringRequired within parentA string indicating the type of the attachment, which is always 'FILE'.
Known values: FILE
Default: FILE
urlstringOptionalA string containing the URL where the file can be accessed.

Get a message — response body — attachments / item / type: CONTACT

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

Referenced models: Get a message — response body — attachments / item / type: CONTACT contact Profile

Get a message — response body — attachments / item / type: CONTACT contact Profile

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

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

Get a message — response body — attachments / item / type: CONTACT contact Profile addresses item

FieldTypePresenceDescription and constraints
$objectRoot
citystringOptionalThe city where the contact is located. It is a string value.
countrystringOptionalThe country where the contact is located. It is a string value.
countryCodestringOptionalThe code representing the country of the contact's address. It is a string value.
statestringOptionalThe state where the contact is located. It is a string value.
streetstringOptionalThe street address of the contact. It is a string value.
typestringOptionalThe type of address, which can be either 'HOME' or 'WORK'.
Known values: HOME, WORK
zipstringOptionalThe postal code of the contact's address. It is a string value.

Get a message — response body — attachments / item / type: CONTACT contact Profile emails item

FieldTypePresenceDescription and constraints
$objectRoot
emailstringRequired within parentThe actual email address of the contact, represented as a string.
typestringOptionalThe type of email address, which can be either 'HOME' or 'WORK'.
Known values: HOME, WORK

Get a message — response body — 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.
middleNamestringOptionalA string representing the middle name of the contact.
prefixstringOptionalA string representing the prefix of the contact's name, such as 'Mr.', 'Ms.', or 'Dr.'.
suffixstringOptionalA string representing the suffix of the contact's name, such as 'Jr.', 'Sr.', or 'III'.

Get a message — response body — attachments / item / type: CONTACT contact Profile org

FieldTypePresenceDescription and constraints
$objectRoot
companystringOptionalThe name of the company the contact is associated with. It is a string value.
departmentstringOptionalThe department within the company where the contact works. It is a string value.
titlestringOptionalThe job title of the contact within their company. It is a string value.

Get a message — response body — attachments / item / type: CONTACT contact Profile phones item

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

Get a message — response body — attachments / item / type: CONTACT contact Profile urls item

FieldTypePresenceDescription and constraints
$objectRoot
typestringOptionalThe category of the URL, indicating its purpose. Valid values include 'HOME' and 'WORK'.
Known values: HOME, WORK
urlstringRequired within parentThe actual URL string associated with the contact.

Get a message — response body — attachments / item / type: LOCATION

FieldTypePresenceDescription and constraints
$objectRoot
addressstringOptionalA string representing the address of the location.
latitudeJSONRequired within parent
latitude (anyOf 1)numberAlternativeA number representing the latitude of the location.
latitude (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
longitudeJSONRequired within parent
longitude (anyOf 1)numberAlternativeA number representing 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 that specifies the type of the component, which is 'LOCATION'.
Known values: LOCATION
Default: LOCATION
urlstringOptionalA string representing a URL associated with the location.

Get a message — response body — attachments / item / type: MESSAGE HEADER

FieldTypePresenceDescription and constraints
$objectRoot
fileIdJSONOptional
fileId (anyOf 1)integerAlternativeAn integer representing the ID of an associated file, 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 message header. The default and only valid value is 'MESSAGE_HEADER'.
Known values: MESSAGE_HEADER
Default: MESSAGE_HEADER

Get a message — response body — attachments / item / type: QUICK REPLIES

FieldTypePresenceDescription and constraints
$objectRoot
allowMultiSelectbooleanRequired within parentA boolean indicating whether multiple quick replies can be selected by the user.
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 Get a message — response body — attachments / item / type: QUICK REPLIES quick Replies item
typestringRequired within parentA string indicating the type of the component, which is 'QUICK_REPLIES'.
Known values: QUICK_REPLIES
Default: QUICK_REPLIES

Referenced models: Get a message — response body — attachments / item / type: QUICK REPLIES quick Replies item

Get a message — response body — attachments / item / type: QUICK REPLIES quick Replies item

FieldTypePresenceDescription and constraints
$objectRoot
labelstringOptionalThe label displayed to the user for the quick reply option. It is a string.
valuestringRequired within parentThe value associated with the quick reply, typically used as the response when the quick reply is selected. It is a string.
valueTypestringRequired within parentThe type of the value, indicating how the value should be interpreted. It is a string and can be either 'TEXT' or 'URL'.
Known values: TEXT, URL

Get a message — response body — attachments / item / type: SOCIAL MEDIA METADATA

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

Referenced models: Get a message — response body — attachments / item / type: SOCIAL MEDIA METADATA social Metadata

Get a message — response body — attachments / item / type: SOCIAL MEDIA METADATA social Metadata

FieldTypePresenceDescription and constraints
$objectRoot
descriptionstringOptionalA description of the media content.
idstringOptionalThe unique identifier for this media content.
mediaTitlestringOptionalThe title of the media content.
mediaTypestringRequired within parentThe type of media content, such as 'PHOTO', 'VIDEO', 'CAROUSEL', 'LINK', 'ARTICLE', 'GIF', 'DOCUMENT', 'POLL', 'NONE', 'STORY', or 'AUDIO'.
Known values: ARTICLE, AUDIO, CAROUSEL, DOCUMENT, GIF, LINK, NONE, PHOTO, POLL, STORY, VIDEO
mediaUrlstringOptionalThe URL where the media content is located.
mediaUrlStringstringOptionalA string representing the URL of the media content.
thumbnailUrlstringOptionalThe URL of the thumbnail image for the media content.

Get a message — response body — attachments / item / type: UNSUPPORTED CONTENT

FieldTypePresenceDescription and constraints
$objectRoot
typestringRequired within parentA string that specifies the type of unsupported content. The default and only valid value is 'UNSUPPORTED_CONTENT'.
Known values: UNSUPPORTED_CONTENT
Default: UNSUPPORTED_CONTENT

Get a message — response body — attachments / item / type: WHATSAPP TEMPLATE METADATA

FieldTypePresenceDescription and constraints
$objectRoot
contentIdJSONOptional
contentId (anyOf 1)integerAlternativeAn integer representing the content ID 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 mapping CRM object types 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 of parameters used for template customization, where each value is a string.
Additional keys: see wildcard field
parameters.*stringAdditional keys
rootMicIdJSONOptional
rootMicId (anyOf 1)integerAlternativeAn integer representing the root message interaction context ID. This is a 64-bit integer.
Format: int64
rootMicId (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
typestringRequired within parentA string indicating the type of metadata, which is 'WHATSAPP_TEMPLATE_METADATA'.
Known values: WHATSAPP_TEMPLATE_METADATA
Default: WHATSAPP_TEMPLATE_METADATA

Get a message — response body — 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)integerAlternativeThe unique identifier for the integration application associated with this client. It is an integer value.
Format: int32
integrationAppId (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Get a message — response body — recipients item

FieldTypePresenceDescription and constraints
$objectRoot
actorIdstringOptionalA string representing the unique identifier of the actor associated with the recipient.
deliveryIdentifierModelRequired within parentExpand Create a channel account — response body — delivery Identifier
namestringOptionalA string representing the name of the recipient.
recipientFieldstringOptionalA string representing a specific field related to the recipient.

Referenced models: Create a channel account — response body — delivery Identifier

Get a message — response body — senders item

FieldTypePresenceDescription and constraints
$objectRoot
actorIdstringOptionalThe unique identifier for the sender, represented as a string.
deliveryIdentifierModelOptionalExpand Create a channel account — response body — delivery Identifier
namestringOptionalThe name of the sender, represented as a string.
senderFieldstringOptionalA string field associated with the sender, its specific use is not detailed in the spec.

Referenced models: Create a channel account — response body — delivery Identifier

Get a message — response body — status

FieldTypePresenceDescription and constraints
$objectRoot
failureDetailsModelOptionalExpand Get a message — response body — status failure Details
statusTypestringRequired within parentThe current status of the message. Valid values include 'SENT', 'FAILED', 'RECEIVED', and 'READ'.
Known values: FAILED, READ, RECEIVED, SENT

Referenced models: Get a message — response body — status failure Details

Get a message — response body — status failure Details

FieldTypePresenceDescription and constraints
$objectRoot
errorMessagestringOptionalA string containing a human-readable description of the error that occurred during message delivery.
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

Get accounts for a channel — response body

FieldTypePresenceDescription and constraints
$objectRoot
pagingModelOptionalExpand Get accounts for a channel — response body — paging
resultsarrayRequired within parentAn array of PublicChannelAccount objects, each representing a public channel account with its details.
results[]ModelEach itemExpand Create a channel account — response body
totalJSONRequired within parent
total (anyOf 1)integerAlternativeAn integer representing the total number of public channel accounts available.
Format: int32
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Get accounts for a channel — response body — paging, Create a channel account — response body

Get accounts for a channel — 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 Get all tax rates — response body — paging next
prevModelOptionalExpand Get accounts for a channel — response body — paging prev

Referenced models: Get all tax rates — response body — paging next, Get accounts for a channel — response body — paging prev

Get accounts for a channel — 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 indicating the position before the current page in the pagination sequence.
linkstringOptionalA URL string that can be used to access the previous page of results.

Publish a message — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
associateWithContactIdintegerOptionalThe ID of the contact with which this message should be associated.
Format: int64
attachmentsarrayRequired within parentAn array of attachments included with the message, which can be files, locations, contacts, or other supported types.
attachments[]JSONEach item
attachments[] (oneOf 1)ModelAlternativeExpand Publish a message — request body — body / attachments / item / fileUsageType: AUDIO, IMAGE, OTHER, STICKER, VOICE RECORDING, type: FILE
attachments[] (oneOf 2)ModelAlternativeExpand Publish a message — request body — body / attachments / item / type: LOCATION
attachments[] (oneOf 3)ModelAlternativeExpand Publish a message — request body — body / attachments / item / type: CONTACT
attachments[] (oneOf 4)ModelAlternativeExpand Publish a message — request body — body / attachments / item / type: UNSUPPORTED CONTENT
attachments[] (oneOf 5)ModelAlternativeExpand Publish a message — request body — body / attachments / item / type: MESSAGE HEADER
attachments[] (oneOf 6)ModelAlternativeExpand Publish a message — request body — body / attachments / item / type: QUICK REPLIES
attachments[] (oneOf 7)ModelAlternativeExpand Publish a message — request body — body / attachments / item / type: SOCIAL MEDIA METADATA
channelAccountIdstringRequired within parentThe ID of the channel account through which the message is sent.
inReplyToIdstringOptionalThe ID of the message this message is replying to.
integrationIdempotencyIdstringOptionalA unique identifier to ensure idempotency of the message within the integration.
integrationThreadIdstringOptionalA unique identifier for the thread within the integration.
messageDirectionstringRequired within parentThe direction of the message, indicating whether it is 'INCOMING' or 'OUTGOING'.
One of: INCOMING, OUTGOING
preResolvedContactsModelOptionalExpand Publish a message — request body — body pre Resolved Contacts
recipientsarrayRequired within parentAn array of participants representing the recipients of the message.
recipients[]ModelEach itemExpand Publish a message — request body — body senders item
richTextstringOptionalThe rich text content of the message, allowing for formatting.
sendersarrayRequired within parentAn array of participants representing the senders of the message.
senders[]ModelEach itemExpand Publish a message — request body — body senders item
textstringRequired within parentThe plain text content of the message.
timestampstringRequired within parentThe date and time when the message was created, in ISO 8601 format.
Format: date-time

Referenced models: Publish a message — request body — body senders item, Publish a message — request body — body / attachments / item / type: CONTACT, Publish a message — request body — body / attachments / item / type: SOCIAL MEDIA METADATA, Publish a message — request body — body / attachments / item / fileUsageType: AUDIO, IMAGE, OTHER, STICKER, VOICE RECORDING, type: FILE, Publish a message — request body — body / attachments / item / type: LOCATION, Publish a message — request body — body / attachments / item / type: MESSAGE HEADER, Publish a message — request body — body pre Resolved Contacts, Publish a message — request body — body / attachments / item / type: QUICK REPLIES, Publish a message — request body — body / attachments / item / type: UNSUPPORTED CONTENT

Publish a message — request body — body / attachments / item / fileUsageType: AUDIO, IMAGE, OTHER, STICKER, VOICE RECORDING, type: FILE

FieldTypePresenceDescription and constraints
$objectRoot
fileIdstringRequired within parentA string representing the unique identifier for the file.
fileUsageTypestringOptionalA string that specifies the usage type of the file. Valid values include 'STICKER', 'VOICE_RECORDING', 'IMAGE', 'AUDIO', and 'OTHER'.
One of: AUDIO, IMAGE, OTHER, STICKER, VOICE_RECORDING
typestringRequired within parentA string that indicates the type of attachment. The default value is 'FILE'.
Default: FILE
One of: FILE

Publish a message — request body — body / attachments / item / type: CONTACT

FieldTypePresenceDescription and constraints
$objectRoot
contactProfileModelRequired within parentExpand Publish a message — request body — body / attachments / item / type: CONTACT contact Profile
typestringRequired within parentA string indicating the type of attachment. The default value is 'CONTACT'.
Default: CONTACT
One of: CONTACT

Referenced models: Publish a message — request body — body / attachments / item / type: CONTACT contact Profile

Publish a message — request body — body / attachments / item / type: CONTACT contact Profile

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

Referenced models: Publish a message — request body — body / attachments / item / type: CONTACT contact Profile addresses item, Publish a message — request body — body / attachments / item / type: CONTACT contact Profile emails item, Get a message — response body — attachments / item / type: CONTACT contact Profile name, Get a message — response body — attachments / item / type: CONTACT contact Profile org, Publish a message — request body — body / attachments / item / type: CONTACT contact Profile phones item, Publish a message — request body — body / attachments / item / type: CONTACT contact Profile urls item

Publish a message — request body — body / attachments / item / type: CONTACT contact Profile addresses item

FieldTypePresenceDescription and constraints
$objectRoot
citystringOptionalThe city where the contact is located. It is a string value.
countrystringOptionalThe country where the contact is located. It is a string value.
countryCodestringOptionalThe code representing the country of the contact's address. It is a string value.
statestringOptionalThe state where the contact is located. It is a string value.
streetstringOptionalThe street address of the contact. It is a string value.
typestringOptionalThe type of address, which can be either 'HOME' or 'WORK'.
One of: HOME, WORK
zipstringOptionalThe postal code of the contact's address. It is a string value.

Publish a message — request body — body / attachments / item / type: CONTACT contact Profile emails item

FieldTypePresenceDescription and constraints
$objectRoot
emailstringRequired within parentThe actual email address of the contact, represented as a string.
typestringOptionalThe type of email address, which can be either 'HOME' or 'WORK'.
One of: HOME, WORK

Publish a message — request body — body / attachments / item / type: CONTACT contact Profile phones item

FieldTypePresenceDescription and constraints
$objectRoot
phonestringRequired within parentThe phone number associated with the contact. This is a string representing the contact's phone number.
typestringOptionalThe type of phone, which can be one of the following: 'CELL', 'MAIN', 'HOME', or 'WORK'.
One of: CELL, HOME, MAIN, WORK

Publish a message — request body — body / attachments / item / type: CONTACT contact Profile urls item

FieldTypePresenceDescription and constraints
$objectRoot
typestringOptionalThe category of the URL, indicating its purpose. Valid values include 'HOME' and 'WORK'.
One of: HOME, WORK
urlstringRequired within parentThe actual URL string associated with the contact.

Publish a message — request body — body / attachments / item / type: LOCATION

FieldTypePresenceDescription and constraints
$objectRoot
addressstringOptionalA string representing the address of the location.
latitudenumberRequired within parentA number representing the latitude of the location.
longitudenumberRequired within parentA number representing the longitude of the location.
namestringOptionalA string representing the name of the location.
typestringRequired within parentA string indicating the type of attachment, which is always 'LOCATION'.
Default: LOCATION
One of: LOCATION
urlstringOptionalA string representing a URL associated with the location.

Publish a message — request body — body / attachments / item / type: MESSAGE HEADER

FieldTypePresenceDescription and constraints
$objectRoot
fileIdintegerOptionalAn optional integer representing the ID of an associated file, formatted as an int64.
Format: int64
textstringOptionalAn optional string containing text information for the message header.
typestringRequired within parentA string representing the type of attachment, which is always 'MESSAGE_HEADER'.
Default: MESSAGE_HEADER
One of: MESSAGE_HEADER

Publish a message — request body — body / attachments / item / type: QUICK REPLIES

FieldTypePresenceDescription and constraints
$objectRoot
quickRepliesarrayRequired within parentAn array of QuickReply objects, each representing a predefined option that a user can select.
quickReplies[]ModelEach itemExpand Publish a message — request body — body / attachments / item / type: QUICK REPLIES quick Replies item
typestringRequired within parentA string indicating the type of attachment. The default value is 'QUICK_REPLIES'.
Default: QUICK_REPLIES
One of: QUICK_REPLIES

Referenced models: Publish a message — request body — body / attachments / item / type: QUICK REPLIES quick Replies item

Publish a message — request body — body / attachments / item / type: QUICK REPLIES quick Replies item

FieldTypePresenceDescription and constraints
$objectRoot
labelstringOptionalThe label displayed to the user for the quick reply option. It is a string.
valuestringRequired within parentThe value associated with the quick reply, typically used as the response when the quick reply is selected. It is a string.
valueTypestringRequired within parentThe type of the value, indicating how the value should be interpreted. It is a string and can be either 'TEXT' or 'URL'.
One of: TEXT, URL

Publish a message — request body — body / attachments / item / type: SOCIAL MEDIA METADATA

FieldTypePresenceDescription and constraints
$objectRoot
socialMetadataModelRequired within parentExpand Publish a message — request body — body / attachments / item / type: SOCIAL MEDIA METADATA social Metadata
typestringRequired within parentA string indicating the type of attachment, which is 'SOCIAL_MEDIA_METADATA'.
Default: SOCIAL_MEDIA_METADATA
One of: SOCIAL_MEDIA_METADATA

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

Publish a message — request body — body / attachments / item / type: SOCIAL MEDIA METADATA social Metadata

FieldTypePresenceDescription and constraints
$objectRoot
descriptionstringOptionalA description of the media content.
idstringOptionalThe unique identifier for this media content.
mediaTitlestringOptionalThe title of the media content.
mediaTypestringRequired within parentThe type of media content, such as 'PHOTO', 'VIDEO', 'CAROUSEL', 'LINK', 'ARTICLE', 'GIF', 'DOCUMENT', 'POLL', 'NONE', 'STORY', or 'AUDIO'.
One of: ARTICLE, AUDIO, CAROUSEL, DOCUMENT, GIF, LINK, NONE, PHOTO, POLL, STORY, VIDEO
mediaUrlstringOptionalThe URL where the media content is located.
mediaUrlStringstringOptionalA string representing the URL of the media content.
thumbnailUrlstringOptionalThe URL of the thumbnail image for the media content.

Publish a message — request body — body / attachments / item / type: UNSUPPORTED CONTENT

FieldTypePresenceDescription and constraints
$objectRoot
typestringRequired within parentA string indicating the type of the attachment. The default value is 'UNSUPPORTED_CONTENT'.
Default: UNSUPPORTED_CONTENT
One of: UNSUPPORTED_CONTENT

Publish a message — request body — body pre Resolved Contacts

FieldTypePresenceDescription and constraints
$objectRoot
contactsarrayRequired within parentAn array of PreResolvedContact objects. Each object contains information about a contact that has been pre-resolved, including properties that led to the match. This array is required.
contacts[]ModelEach itemExpand Publish a message — request body — body pre Resolved Contacts contacts item

Referenced models: Publish a message — request body — body pre Resolved Contacts contacts item

Publish a message — request body — body pre Resolved Contacts contacts item

FieldTypePresenceDescription and constraints
$objectRoot
contactPropertiesLeadingToMatcharrayRequired within parentAn array of strings indicating the properties that were used to match and identify the contact. Valid values include various contact attributes such as 'email', 'firstname', 'lastname', and many more.
contactPropertiesLeadingToMatch[]stringEach itemOne of: address, annualrevenue, associatedcompanyid, associatedcompanylastupdated, city, closedate, company, company_size, country, createdate, currentlyinworkflow, date_of_birth, days_to_close, degree, email, engagements_last_meeting_booked, engagements_last_meeting_booked_campaign, engagements_last_meeting_booked_medium, engagements_last_meeting_booked_source, fax, field_of_study, first_conversion_date, first_conversion_event_name, first_deal_created_date, firstname, followercount, gender, graduation_date, hs_active_contracts_arr, hs_active_contracts_mrr, hs_active_contracts_tcv, hs_additional_emails, hs_all_contact_vids, hs_analytics_average_page_views, hs_analytics_first_referrer, hs_analytics_first_timestamp, hs_analytics_first_touch_converting_campaign, hs_analytics_first_url, hs_analytics_first_visit_timestamp, hs_analytics_last_referrer, hs_analytics_last_timestamp, hs_analytics_last_touch_converting_campaign, hs_analytics_last_url, hs_analytics_last_visit_timestamp, hs_analytics_num_event_completions, hs_analytics_num_page_views, hs_analytics_num_visits, hs_analytics_revenue, hs_analytics_source, hs_analytics_source_composite_data, hs_analytics_source_data_1, hs_analytics_source_data_2, hs_associated_target_accounts, hs_avatar_filemanager_key, hs_bing_ad_clicked, hs_bing_click_id, hs_buying_role, hs_calculated_form_submissions, hs_calculated_merged_vids, hs_calculated_mobile_number, hs_calculated_phone_number, hs_calculated_phone_number_area_code, hs_calculated_phone_number_country_code, hs_calculated_phone_number_region_code, hs_chat_assistant_iql_date, hs_chat_assistant_source, hs_chat_assistant_summary, hs_chatgpt_ad_clicked, hs_chatgpt_click_id, hs_clicked_linkedin_ad, hs_consent_to_email_tracking, hs_contact_creation_legal_basis_source_instance_id, hs_contact_enrichment_opt_out, hs_contact_enrichment_opt_out_timestamp, hs_content_membership_email, hs_content_membership_email_confirmed, hs_content_membership_follow_up_enqueued_at, hs_content_membership_notes, hs_content_membership_registered_at, hs_content_membership_registration_domain_sent_to, hs_content_membership_registration_email_sent_at, hs_content_membership_status, hs_conversations_visitor_email, hs_count_is_unworked, hs_count_is_worked, hs_country_region_code, hs_created_by_conversations, hs_cross_account_data_mirroring_source_account_ids, hs_cross_account_note, hs_cross_sell_opportunity, hs_current_customer, hs_currently_enrolled_in_prospecting_agent, hs_customer_agent_lead_status, hs_data_privacy_ads_consent, hs_date_entered_customer, hs_date_entered_evangelist, hs_date_entered_lead, hs_date_entered_marketingqualifiedlead, hs_date_entered_opportunity, hs_date_entered_other, hs_date_entered_salesqualifiedlead, hs_date_entered_subscriber, hs_date_exited_customer, hs_date_exited_evangelist, hs_date_exited_lead, hs_date_exited_marketingqualifiedlead, hs_date_exited_opportunity, hs_date_exited_other, hs_date_exited_salesqualifiedlead, hs_date_exited_subscriber, hs_document_last_revisited, hs_email_bad_address, hs_email_bounce, hs_email_click, hs_email_communication_subscriptions_opted_in, hs_email_communication_subscriptions_opted_out, hs_email_customer_quarantined_reason, hs_email_delivered, hs_email_domain, hs_email_engagement_likelihood_category, hs_email_first_click_date, hs_email_first_open_date, hs_email_first_reply_date, hs_email_first_send_date, hs_email_hard_bounce_reason, hs_email_hard_bounce_reason_enum, hs_email_is_ineligible, hs_email_last_click_date, hs_email_last_email_name, hs_email_last_open_date, hs_email_last_reply_date, hs_email_last_send_date, hs_email_live_sourcing_restricted, hs_email_open, hs_email_optimal_send_day_of_week, hs_email_optimal_send_time_of_day, hs_email_optout, hs_email_optout_survey_reason, hs_email_quarantined, hs_email_quarantined_reason, hs_email_recipient_fatigue_recovery_time, hs_email_replied, hs_email_sends_since_last_engagement, hs_email_type, hs_emailconfirmationstatus, hs_employment_change_detected_date, hs_enforce_double_opt_in, hs_enriched_email_bounce_detected, hs_excluded_from_cross_account_data_mirroring, hs_facebook_ad_clicked, hs_facebook_click_id, hs_facebookid, hs_feedback_last_ces_survey_date, hs_feedback_last_ces_survey_follow_up, hs_feedback_last_ces_survey_rating, hs_feedback_last_csat_survey_date, hs_feedback_last_csat_survey_follow_up, hs_feedback_last_csat_survey_rating, hs_feedback_last_nps_follow_up, hs_feedback_last_nps_rating, hs_feedback_last_nps_rating_number, hs_feedback_last_survey_date, hs_feedback_show_nps_web_survey, hs_first_closed_order_id, hs_first_engagement_object_id, hs_first_order_closed_date, hs_first_outreach_date, hs_first_subscription_create_date, hs_full_name_or_email, hs_geohash_1, hs_geohash_2, hs_geohash_3, hs_geohash_4, hs_geohash_5, hs_geohash_6, hs_google_click_id, hs_googleplusid, hs_gps_coordinates, hs_gps_error, hs_gps_latitude, hs_gps_longitude, hs_has_active_subscription, hs_inbound_agent_inquiry_type, hs_inbound_agent_last_conversation_date, hs_inbound_agent_qualification_status, hs_inferred_language_codes, hs_intent_paid_up_to_date, hs_intent_signals_enabled, hs_ip_timezone, hs_is_contact, hs_is_enriched, hs_is_mass_marketing_activation_disallowed, hs_is_merge_revertible, hs_is_unworked, hs_job_change_detected_date, hs_journey_stage, hs_language, hs_last_metered_enrichment_timestamp, hs_last_sales_activity_date, hs_last_sales_activity_timestamp, hs_last_sales_activity_type, hs_last_sms_send_date, hs_last_sms_send_name, hs_latest_disqualified_lead_date, hs_latest_meeting_activity, hs_latest_open_lead_date, hs_latest_qualified_lead_date, hs_latest_sequence_ended_date, hs_latest_sequence_enrolled, hs_latest_sequence_enrolled_date, hs_latest_sequence_finished_date, hs_latest_sequence_unenrolled_date, hs_latest_source, hs_latest_source_composite_data, hs_latest_source_data_1, hs_latest_source_data_2, hs_latest_source_timestamp, hs_latest_subscription_create_date, hs_latitude, hs_lead_status, hs_legal_basis, hs_lifecyclestage_customer_date, hs_lifecyclestage_evangelist_date, hs_lifecyclestage_lead_date, hs_lifecyclestage_marketingqualifiedlead_date, hs_lifecyclestage_opportunity_date, hs_lifecyclestage_other_date, hs_lifecyclestage_salesqualifiedlead_date, hs_lifecyclestage_subscriber_date, hs_linkedin_ad_clicked, hs_linkedin_click_id, hs_linkedin_url, hs_linkedinid, hs_live_enrichment_deadline, hs_longitude, hs_manual_campaign_ids, hs_marketable_reason_id, hs_marketable_reason_type, hs_marketable_status, hs_marketable_until_renewal, hs_membership_has_accessed_private_content, hs_membership_last_private_content_access_date, hs_messaging_engagement_score, hs_mobile_sdk_push_tokens, hs_next_renewal_date, hs_notes_last_activity, hs_notes_next_activity, hs_notes_next_activity_type, hs_num_active_contracts, hs_num_associated_open_deals, hs_persona, hs_pinned_engagement_id, hs_pipeline, hs_predictivecontactscore, hs_predictivecontactscore_tmp, hs_predictivecontactscore_v2, hs_predictivecontactscorebucket, hs_predictivescoringtier, hs_predictivescoringtier_tmp, hs_prospecting_agent_activation_email_id, hs_prospecting_agent_activation_status, hs_prospecting_agent_actively_enrolled_count, hs_prospecting_agent_enrollment_status, hs_prospecting_agent_enrollment_status_raw, hs_prospecting_agent_last_enrolled, hs_prospecting_agent_sender, hs_prospecting_agent_total_enrolled_count, hs_quarantined_emails, hs_recent_closed_order_date, hs_reddit_ad_clicked, hs_reddit_click_id, hs_registered_member, hs_registration_method, hs_returning_to_office_detected_date, hs_role, hs_sa_first_engagement_date, hs_sa_first_engagement_descr, hs_sa_first_engagement_object_type, hs_sales_email_last_clicked, hs_sales_email_last_opened, hs_sales_email_last_replied, hs_searchable_calculated_international_mobile_number, hs_searchable_calculated_international_phone_number, hs_searchable_calculated_mobile_number, hs_searchable_calculated_phone_number, hs_seniority, hs_sequences_actively_enrolled_count, hs_sequences_enrolled_count, hs_sequences_is_enrolled, hs_sms_mobilephone_communication_subscriptions_opted_in, hs_sms_mobilephone_communication_subscriptions_opted_out, hs_sms_phone_communication_subscriptions_opted_in, hs_sms_phone_communication_subscriptions_opted_out, hs_social_facebook_clicks, hs_social_google_plus_clicks, hs_social_last_engagement, hs_social_linkedin_clicks, hs_social_num_broadcast_clicks, hs_social_twitter_clicks, hs_source_object_id, hs_source_portal_id, hs_sourced_contact_origin, hs_state_code, hs_sub_role, hs_testpurge, hs_testrollback, hs_tiktok_ad_clicked, hs_tiktok_click_id, hs_time_between_contact_creation_and_deal_close, hs_time_between_contact_creation_and_deal_creation, hs_time_in_customer, hs_time_in_evangelist, hs_time_in_lead, hs_time_in_marketingqualifiedlead, hs_time_in_opportunity, hs_time_in_other, hs_time_in_salesqualifiedlead, hs_time_in_subscriber, hs_time_to_first_engagement, hs_time_to_move_from_lead_to_customer, hs_time_to_move_from_marketingqualifiedlead_to_customer, hs_time_to_move_from_opportunity_to_customer, hs_time_to_move_from_salesqualifiedlead_to_customer, hs_time_to_move_from_subscriber_to_customer, hs_timezone, hs_twitterid, hs_user_ids_of_all_notification_recipients, hs_v2_cumulative_time_in_customer, hs_v2_cumulative_time_in_evangelist, hs_v2_cumulative_time_in_lead, hs_v2_cumulative_time_in_marketingqualifiedlead, hs_v2_cumulative_time_in_opportunity, hs_v2_cumulative_time_in_other, hs_v2_cumulative_time_in_salesqualifiedlead, hs_v2_cumulative_time_in_subscriber, hs_v2_date_entered_current_stage, hs_v2_date_entered_customer, hs_v2_date_entered_evangelist, hs_v2_date_entered_lead, hs_v2_date_entered_marketingqualifiedlead, hs_v2_date_entered_opportunity, hs_v2_date_entered_other, hs_v2_date_entered_salesqualifiedlead, hs_v2_date_entered_subscriber, hs_v2_date_exited_customer, hs_v2_date_exited_evangelist, hs_v2_date_exited_lead, hs_v2_date_exited_marketingqualifiedlead, hs_v2_date_exited_opportunity, hs_v2_date_exited_other, hs_v2_date_exited_salesqualifiedlead, hs_v2_date_exited_subscriber, hs_v2_latest_time_in_customer, hs_v2_latest_time_in_evangelist, hs_v2_latest_time_in_lead, hs_v2_latest_time_in_marketingqualifiedlead, hs_v2_latest_time_in_opportunity, hs_v2_latest_time_in_other, hs_v2_latest_time_in_salesqualifiedlead, hs_v2_latest_time_in_subscriber, hs_v2_time_in_current_stage, hs_whatsapp_bsuids, hs_whatsapp_communication_subscriptions_opted_in, hs_whatsapp_communication_subscriptions_opted_out, hs_whatsapp_phone_number, hs_why_this_contact, hubspot_owner_id, hubspotscore, industry, ip_city, ip_country, ip_country_code, ip_latlon, ip_state, ip_state_code, ip_zipcode, job_function, jobtitle, kloutscoregeneral, lastmodifieddate, lastname, lifecyclestage, linkedinbio, linkedinconnections, marital_status, message, military_status, mobilephone, notes_last_contacted, notes_last_updated, notes_next_activity_date, num_associated_deals, num_contacted_notes, num_conversion_events, num_notes, num_unique_conversion_events, numemployees, owneremail, ownername, phone, photo, recent_conversion_date, recent_conversion_event_name, recent_deal_amount, recent_deal_close_date, relationship_status, salutation, school, seniority, start_date, state, surveymonkeyeventlastupdated, total_revenue, twitterbio, twitterhandle, twitterprofilephoto, webinareventlastupdated, website, work_email, zip
contactVidintegerRequired within parentThe unique identifier for the contact, represented as an integer in int64 format.
Format: int64

Publish a message — request body — body senders item

FieldTypePresenceDescription and constraints
$objectRoot
deliveryIdentifierModelRequired within parentExpand Create a channel account — request body — body delivery Identifier
namestringOptionalThe name of the participant. It is a string that can be used to identify the participant within the channel.
senderActorIdstringOptionalA string representing the unique identifier of the sender actor. This is used to distinguish the sender within the channel integration.

Referenced models: Create a channel account — request body — body delivery Identifier

Update a channel account staging token — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
accountNamestringOptionalA string representing the name of the account associated with the staging token.
deliveryIdentifierModelOptionalExpand Create a channel account — request body — body delivery Identifier

Referenced models: Create a channel account — request body — body delivery Identifier

Update a channel account staging token — response body

FieldTypePresenceDescription and constraints
$objectRoot
accountNamestringOptionalA string representing the name of the account.
accountTokenstringRequired within parentA string representing the unique token for the account.
createdAtstringRequired within parentThe date and time when the token was created, in ISO 8601 format.
Format: date-time
deliveryIdentifierModelOptionalExpand Create a channel account — response body — delivery Identifier
genericChannelIdJSONRequired within parent
genericChannelId (anyOf 1)integerAlternativeAn integer representing the unique identifier of the generic channel.
Format: int32
genericChannelId (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
inboxIdJSONRequired within parent
inboxId (anyOf 1)integerAlternativeAn integer representing the unique identifier of the inbox associated with the account.
Format: int32
inboxId (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
userIdJSONRequired within parent
userId (anyOf 1)integerAlternativeAn integer representing the unique identifier of the user associated with the account.
Format: int32
userId (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Create a channel account — response body — delivery Identifier

Update a channel account — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
authorizedbooleanOptionalA boolean indicating whether the channel account is authorized.
namestringOptionalA string representing the name of the channel account.

Update a message — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
errorMessagestringOptionalA string containing an error message, if applicable.
statusTypestringRequired within parentValid status are SENT, FAILED, and READ
One of: FAILED, READ, SENT

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.