Chat
idUnique chat identifier
typeChat type
nameChat display name
platformIdPlatform-specific identifier (e.g. phone number for WhatsApp)
channelIdAssociated channel ID
contactIdAssociated contact ID
avatarAvatar URL
createdAtupdatedAtChatWithRelations
idUnique chat identifier
typeChat type
nameChat display name
platformIdPlatform-specific identifier (e.g. phone number for WhatsApp)
channelIdAssociated channel ID
contactIdAssociated contact ID
avatarAvatar URL
createdAtupdatedAtMessage
idUnique message identifier
chatIdParent chat ID
platformIdPlatform-specific message identifier
senderIdID of the user who sent the message
textMessage text content
typeMessage type
statusComputed message delivery status
sendAtWhen the message was sent
receivedAtWhen the message was received by the recipient
readAtWhen the message was read by the recipient
replyToIdID of the message this is replying to
metadataAdditional message metadata
createdAtupdatedAtContact
idUnique contact identifier
nameContact display name
emailContact email address
phoneContact phone number
avatarAvatar URL
notesNotes about the contact
createdAtupdatedAtContactPlatform
idplatformIdPlatform-specific identifier
platformTypenameavataremailphonecontactIdchannelIdmetadatacreatedAtupdatedAtChannel
idUnique channel identifier
nameChannel display name
typeChannel type
stateCurrent connection state
createdAtupdatedAtMessageTemplate
idUnique template identifier
nameTemplate name
descriptionTemplate description
contentTemplate content/body
typeTemplate media type
languageTemplate language code
metadataAdditional template metadata (e.g. WhatsApp template details)
createdAtupdatedAtSendMessageRequest
contentMessage text content
typeMessage type. Defaults to TEXT unless templateId is provided.
senderIdUser ID of the sender. If not provided, the first organization member will be used.
templateIdTemplate ID to send. When provided, the type is automatically set to TEMPLATE.
Variables to fill into the template
SendTemplateRequest
phoneNumberRecipient phone number (will be normalized to digits only)
templateIdID of the message template to send
Variables to fill into the template
channelIdSpecific WhatsApp API channel to use. If not provided, the first available WhatsApp API channel will be used.