CreateMessageRequest
Body for sending a message to a conversation, contact or phone number.
Properties
- Name
expectedContext- Type
- InboxActionContext
- Name
inboxId- Type
- string
Sending inbox ID. Required forcontactandphonerecipients. For aconversationrecipient it's optional and must match the conversation'sinboxId.- Name
recipient- Type
- MessageRecipient
- required
- Name
content- Type
- OutboundMessageContent
- required
- Name
contexts- Type
- array<SendMessageContext>
The message this one replies to, in the recipient's conversation. Not supported forphonerecipients, or forcontactrecipients without a conversation in the inbox.