# Messages resource

A Message resource represents a message sent or received through the Twilio Bulk Messaging API. You can send messages to up to 10,000 recipients in a single API request across SMS, MMS, RCS, and WhatsApp channels.

When you send messages, the API responds with a `202 Accepted` status code and an `operationId` header. Use the [Operations resource](/docs/bulk-messaging/api/operation-resource) to track the status of your request.

## Message Properties

<OperationTable type="properties" data={{"x-twilio-version":1,"title":"MessageMetadata","type":"object","description":"The MessageMetadata provides information about the Message but does not include the Content or Attempts.","required":["id","from","to","status","related","tags","scheduledFor","createdAt","updatedAt","deletedAt"],"refName":"MessageBase","modelName":"MessageBase","properties":{"id":{"x-twilio-version":1,"description":"A reference to a Message.","title":"MessageId","type":"string","pattern":"^comms_message_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_message_01h9krwprkeee8fzqspvwy6nq8","refName":"MessageId","modelName":""},"from":{"title":"MessageFrom","description":"The sender of the Message.","oneOf":[{"x-twilio-version":1,"title":"MessageSender","description":"A Message Sender is a person or entity whose communication identity is hosted by Twilio.","type":"object","properties":{"address":{"description":"The identifier within a channel address space for a Sender (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageSenderChannel","description":"The channels available for Message entity.","type":"string","enum":["SMS","RCS","WHATSAPP"],"example":"SMS","refName":"MessageSenderChannel","modelName":"MessageSenderChannel"},"senderId":{"x-twilio-version":1,"description":"A reference to a Sender.","title":"SenderId","type":"string","pattern":"^comms_sender_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_sender_01h9krwprkeee8fzqspvwy6nq8","refName":"SenderId","modelName":""}},"required":["address","channel","senderId"],"additionalProperties":false,"refName":"MessageSender","modelName":"MessageSender"},{"x-twilio-version":1,"title":"MessageSenderAndPool","description":"A Message Sender is a person or entity whose communication identity is hosted by Twilio. The `senderPoolId` field indicates the pool for which the `Sender` was resolved from.","type":"object","properties":{"address":{"description":"The identifier within a channel address space for a Sender (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageSenderChannel","description":"The channels available for Message entity.","type":"string","enum":["SMS","RCS","WHATSAPP"],"example":"SMS","refName":"MessageSenderChannel","modelName":"MessageSenderChannel"},"senderId":{"x-twilio-version":1,"description":"A reference to a Sender.","title":"SenderId","type":"string","pattern":"^comms_sender_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_sender_01h9krwprkeee8fzqspvwy6nq8","refName":"SenderId","modelName":""},"senderPoolId":{"x-twilio-version":1,"description":"A reference to a SenderPool.","title":"SenderPoolId","type":"string","pattern":"^comms_senderpool_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8","refName":"SenderPoolId","modelName":""}},"required":["address","channel","senderId","senderPoolId"],"refName":"MessageSenderAndPool","modelName":"MessageSenderAndPool"},{"x-twilio-version":1,"title":"MessageProfile","description":"A Message Profile is a person or entity that is not hosted by Twilio.","type":"object","properties":{"address":{"description":"The identifier within a channel address space for a Profile (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageProfileChannel","description":"The channels available for specifying a Message Profile.\n\n- `PHONE`: Includes SMS, MMS, and RCS, pair it with a phone number in the `address` field.\n\n- `WHATSAPP`: WhatsApp channel, pair it with a WhatsApp number in the `address` field.","type":"string","enum":["PHONE","WHATSAPP"],"example":"PHONE","refName":"MessageProfileChannel","modelName":"MessageProfileChannel"},"profileId":{"x-twilio-version":1,"title":"ProfileId","description":"A reference to a Profile","type":"string","pattern":"^mem_profile_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_profile_01h9krwprkeee8fzqspvwy6nq8","refName":"ProfileId","modelName":""},"memoryStoreId":{"x-twilio-version":1,"title":"MemoryStoreId","description":"A reference to a Memory Store","type":"string","pattern":"^mem_store_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_store_00000000000000000000000000","refName":"MemoryStoreId","modelName":""}},"required":["address","channel","profileId","memoryStoreId"],"additionalProperties":false,"refName":"MessageProfile","modelName":"MessageProfile"},{"x-twilio-version":1,"title":"MessageAddress","description":"A messaging address and channel.","type":"object","properties":{"address":{"type":"string","description":"The communication address within a Messaging channel, such as a phone number."},"channel":{"x-twilio-version":1,"title":"MessageAddressChannel","description":"The corresponding channel name for a Message address.\n\n- `PHONE`: Includes SMS, MMS, and RCS, pair it with a phone number in the `address` field.\n\n- `WHATSAPP`: WhatsApp channel, pair it with a WhatsApp number in the `address` field.","type":"string","enum":["PHONE","WHATSAPP"],"example":"PHONE","refName":"MessageAddressChannel","modelName":"MessageAddressChannel"}},"required":["address","channel"],"additionalProperties":false,"refName":"MessageAddress","modelName":"MessageAddress"}]},"to":{"title":"MessageRecipients","description":"The list of recipient(s) that the Message was directed to. \n\n- This list is always of size 1, except for Group Messaging usage, \nwhere the number of recipients plus the sender will match the group size.","type":"array","items":{"oneOf":[{"x-twilio-version":1,"title":"MessageAddress","description":"A messaging address and channel.","type":"object","properties":{"address":{"type":"string","description":"The communication address within a Messaging channel, such as a phone number."},"channel":{"x-twilio-version":1,"title":"MessageAddressChannel","description":"The corresponding channel name for a Message address.\n\n- `PHONE`: Includes SMS, MMS, and RCS, pair it with a phone number in the `address` field.\n\n- `WHATSAPP`: WhatsApp channel, pair it with a WhatsApp number in the `address` field.","type":"string","enum":["PHONE","WHATSAPP"],"example":"PHONE","refName":"MessageAddressChannel","modelName":"MessageAddressChannel"}},"required":["address","channel"],"additionalProperties":false,"refName":"MessageAddress","modelName":"MessageAddress"},{"x-twilio-version":1,"title":"MessageSender","description":"A Message Sender is a person or entity whose communication identity is hosted by Twilio.","type":"object","properties":{"address":{"description":"The identifier within a channel address space for a Sender (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageSenderChannel","description":"The channels available for Message entity.","type":"string","enum":["SMS","RCS","WHATSAPP"],"example":"SMS","refName":"MessageSenderChannel","modelName":"MessageSenderChannel"},"senderId":{"x-twilio-version":1,"description":"A reference to a Sender.","title":"SenderId","type":"string","pattern":"^comms_sender_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_sender_01h9krwprkeee8fzqspvwy6nq8","refName":"SenderId","modelName":""}},"required":["address","channel","senderId"],"additionalProperties":false,"refName":"MessageSender","modelName":"MessageSender"},{"x-twilio-version":1,"title":"MessageProfile","description":"A Message Profile is a person or entity that is not hosted by Twilio.","type":"object","properties":{"address":{"description":"The identifier within a channel address space for a Profile (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageProfileChannel","description":"The channels available for specifying a Message Profile.\n\n- `PHONE`: Includes SMS, MMS, and RCS, pair it with a phone number in the `address` field.\n\n- `WHATSAPP`: WhatsApp channel, pair it with a WhatsApp number in the `address` field.","type":"string","enum":["PHONE","WHATSAPP"],"example":"PHONE","refName":"MessageProfileChannel","modelName":"MessageProfileChannel"},"profileId":{"x-twilio-version":1,"title":"ProfileId","description":"A reference to a Profile","type":"string","pattern":"^mem_profile_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_profile_01h9krwprkeee8fzqspvwy6nq8","refName":"ProfileId","modelName":""},"memoryStoreId":{"x-twilio-version":1,"title":"MemoryStoreId","description":"A reference to a Memory Store","type":"string","pattern":"^mem_store_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_store_00000000000000000000000000","refName":"MemoryStoreId","modelName":""}},"required":["address","channel","profileId","memoryStoreId"],"additionalProperties":false,"refName":"MessageProfile","modelName":"MessageProfile"}]}},"status":{"x-twilio-version":1,"title":"MessageStatus","description":"The status of a `Message`. The status can be one of the following:\n- `SCHEDULED` The `Message` is scheduled to be sent by\n  Twilio in the future.\n\n- `QUEUED` The `Message` is queued in Twilio for sending.\n- `SENT` The `Message` has been sent by Twilio.\n- `DELIVERED` The `Message` has been successfully\n    delivered to the recipient.\n\n- `READ` The `Message` has been read by the recipient.\n- `UNDELIVERED` The `Message` was successfully sent by Twilio\n  but have not been delivered to the recipient.\n\n- `FAILED` The `Message` processing failed inside Twilio.\n  Use `GET /Messages/Operations/{operationId}/Errors` for more details.\n\n- `CANCELED` The `Message` was canceled via API request.\n- `GROUP` The `Message` is part of a group communication.\n  To get the status for each Recipient of the group communication, use the `Receipts` endpoint\n  e.g. GET `/Messages/comms_message_01h2xcejqtf2nbrexx3vqjhp41/Receipts`\n\n- `INBOUND` The `Message` was received by Twilio from an external source.","type":"string","enum":["QUEUED","SENT","SCHEDULED","DELIVERED","READ","FAILED","UNDELIVERED","CANCELED","GROUP","INBOUND"],"refName":"MessageStatus","modelName":"MessageStatus"},"related":{"title":"MessageRelatedResources","description":"A list of resources that are associated with the Message.","type":"array","items":{"x-twilio-version":1,"title":"RelatedResource","type":"object","description":"A reference to a related resource.","refName":"RelatedResource","modelName":"RelatedResource","properties":{"name":{"type":"string","description":"The name of the related resource.","enum":["EMAIL","MESSAGE","PUSH_NOTIFICATION","SESSION","MEDIA","SENDER","SENDER_POOL","OPERATION","ENGAGEMENT","CREDENTIAL","PUSH_NOTIFICATION_APP","PUSH_NOTIFICATION_USER","DEVICE_REGISTRATION"]},"id":{"description":"The identifier of the related resource.","type":"string"},"uri":{"description":"The path to the related resource.","type":"string"}}}},"tags":{"x-twilio-version":1,"title":"Tags","type":"object","description":"Custom metadata in the form of key-value pairs.\nMaximum size of a tag key is 128 characters.\nMaximum size of a tag value is 256 characters.\nThere can be a maximum of 10 key-value pairs.\n\nThis field can be templated with [Liquid](https://shopify.github.io/liquid/).\nSpecify `variables` with each recipient for personalization.","maxProperties":10,"propertyNames":{"type":"string","maxLength":128,"pattern":"^[a-zA-Z0-9._~-]+$"},"refName":"Tags","modelName":"","additionalProperties":{"type":"string","maxLength":256,"pattern":"^[a-zA-Z0-9._~-]+$"}},"createdAt":{"description":"The date and time when the entity was created.","type":"string","format":"date-time"},"updatedAt":{"description":"The date and time when the entity was last updated.","type":"string","format":"date-time"},"scheduledFor":{"description":"The scheduled send time of the `Message`.\nThis field is only present if the `Message` was created with a `schedule`.","type":["string","null"]}}}} />

## Send Messages

`POST https://comms.twilio.com/v1/Messages`

Create and send messages to the specified recipients.

The API responds with a `202 Accepted` status code and an empty response body. The response headers include an `operationId`, which you can use to check the status of your request with the [Operations resource](/docs/bulk-messaging/api/operation-resource).

### Request body parameters

```json
{"schema":{"title":"SendMessagesRequest","type":"object","required":["to","content"],"properties":{"to":{"title":"SendMessagesRequestTo","description":"An array of recipient objects to send the Message(s) to.","x-twilio-version":1,"type":"array","minItems":1,"maxItems":10000,"items":{"title":"SendMessagesRecipient","oneOf":[{"type":"object","title":"SendMessagesAddressRecipient","x-twilio-version":1,"description":"Describe the recipient by their address and channel.","properties":{"address":{"type":"string","description":"The recipient’s communication address within a channel, e.g. phone number"},"channel":{"x-twilio-version":1,"title":"MessageAddressChannel","description":"The corresponding channel name for a Message address.\n\n- `PHONE`: Includes SMS, MMS, and RCS, pair it with a phone number in the `address` field.\n\n- `WHATSAPP`: WhatsApp channel, pair it with a WhatsApp number in the `address` field.","type":"string","enum":["PHONE","WHATSAPP"],"example":"PHONE","refName":"MessageAddressChannel","modelName":"MessageAddressChannel"},"variables":{"x-twilio-version":1,"title":"ContentPersonalization","type":"object","description":"To personalize content for each recipient, supply variables here with values to substitute into any [Liquid](https://shopify.github.io/liquid/) templated content string or pre-stored Content template.","refName":"ContentPersonalization","modelName":"","additionalProperties":{"type":"string"}}},"required":["address","channel"],"additionalProperties":false},{"type":"object","title":"SendMessagesConnectedAddressRecipient","description":"Provide a list of addresses for a recipient and Twilio will pick the best\none. \n\nTwilio will automatically handle errors and retry across channels when necessary.","x-twilio-version":1,"properties":{"addresses":{"type":"array","minItems":1,"maxItems":10,"items":{"x-twilio-version":1,"title":"MessageAddress","description":"A messaging address and channel.","type":"object","required":["address","channel"],"refName":"MessageAddress","modelName":"MessageAddress","additionalProperties":false,"properties":{"address":{"type":"string","description":"The communication address within a Messaging channel, such as a phone number."},"channel":{"x-twilio-version":1,"title":"MessageAddressChannel","description":"The corresponding channel name for a Message address.\n\n- `PHONE`: Includes SMS, MMS, and RCS, pair it with a phone number in the `address` field.\n\n- `WHATSAPP`: WhatsApp channel, pair it with a WhatsApp number in the `address` field.","type":"string","enum":["PHONE","WHATSAPP"],"example":"PHONE","refName":"MessageAddressChannel","modelName":"MessageAddressChannel"}}}},"variables":{"x-twilio-version":1,"title":"ContentPersonalization","type":"object","description":"To personalize content for each recipient, supply variables here with values to substitute into any [Liquid](https://shopify.github.io/liquid/) templated content string or pre-stored Content template.","refName":"ContentPersonalization","modelName":"","additionalProperties":{"type":"string"}}},"required":["addresses"]},{"type":"object","title":"SendMessagesProfileRecipient","description":"Describe your recipient by their Twilio `Profile` identified by `Profile.Id`.","x-twilio-version":1,"properties":{"profileId":{"x-twilio-version":1,"title":"ProfileId","description":"A reference to a Profile","type":"string","pattern":"^mem_profile_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_profile_01h9krwprkeee8fzqspvwy6nq8","refName":"ProfileId","modelName":""},"memoryStoreId":{"x-twilio-version":1,"title":"MemoryStoreId","description":"A reference to a Memory Store","type":"string","pattern":"^mem_store_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_store_00000000000000000000000000","refName":"MemoryStoreId","modelName":""},"variables":{"x-twilio-version":1,"title":"ContentPersonalization","type":"object","description":"To personalize content for each recipient, supply variables here with values to substitute into any [Liquid](https://shopify.github.io/liquid/) templated content string or pre-stored Content template.","refName":"ContentPersonalization","modelName":"","additionalProperties":{"type":"string"}}},"required":["profileId","memoryStoreId"]}]}},"content":{"title":"SendMessagesRequestContent","type":"object","description":"The content of the Message.\n\n***\n\n* Use the [Liquid](https://shopify.github.io/liquid/)\ntemplating language for personalization in any text-based field.\n\n* When using a templated content,\nuse the `variables` field on each recipient to specify\nthe values to substitute.\n\n* For each variable you specify in your template, you should have\na matching key in each recipient's `variables` object.\n\n* When targeting `Audience` or `Profile` recipients, you may specify `variables`\nwith values that reference stored traits on the `Profile` -- for example:\n`${Twilio.Profile.firstName}` or `${Twilio.Profile.myCustomField}`.","x-twilio-version":1,"oneOf":[{"title":"MessageContentTextWithMedia","x-twilio-version":1,"type":"object","description":"The text and media content of a `Message`.","properties":{"text":{"type":"string","minLength":1,"description":"A simple content string (formerly called 'body').\n\nThis field can be templated with [Liquid](https://shopify.github.io/liquid/). Specify `variables` with each recipient for personalization."},"media":{"description":"A list of Media (images, etc.) to include in the message.\n\nIf this field is specified, Twilio will attempt to send the `Message` as an MMS.\n\nUse `MediaUrl` to supply links to media files with templated URLs, using [Liquid](https://shopify.github.io/liquid/).\n\nSpecify `variables` with each recipient for personalization.","x-twilio-version":1,"title":"ContentMediaInput","type":"array","refName":"ContentMediaInput","modelName":"ContentMediaInput","items":{"x-twilio-version":1,"title":"MediaUrl","type":"object","description":"A publicly accessible URL of a media file (image, etc.) to include in the message. The media file will be copied to Twilio's servers and then sent to the recipient.","required":["url"],"refName":"MediaUrl","modelName":"MediaUrl","properties":{"url":{"type":"string","minLength":1,"description":"The publicly accessible URL of the media file to copy.\n\nThis field can be templated with [Liquid](https://shopify.github.io/liquid/).\nSpecify `variables` with each recipient for personalization."}}}}},"additionalProperties":false,"minProperties":1,"refName":"MessageContentTextWithMedia","modelName":"MessageContentTextWithMedia"},{"x-twilio-version":1,"title":"MessageContentTemplate","description":"A reference to a stored Content template  that can be used to generate content for a Message.","type":"object","properties":{"contentId":{"description":"A reference to a Content template.","x-twilio-version":1,"title":"ContentId","type":"string","pattern":"^HX[a-zA-Z0-9]{26,34}$","example":"HX78e8e67fc0246521490fb9907fd0c165","refName":"ContentId","modelName":""}},"required":["contentId"],"refName":"MessageContentTemplate","modelName":"MessageContentTemplate"},{"title":"MessageContentChannelModules","x-twilio-version":1,"description":"Define content with modules","type":"object","properties":{"modules":{"title":"MessageContentChannelModulesList","description":"A list of content `modules`.\n\nEach module targets a specific Message channel, allowing for different content to be sent\ndepending on the channel used for sending the Message.","type":"array","minItems":1,"maxItems":4,"items":{"title":"MessageContentChannelModule","description":"Content module.","type":"object","oneOf":[{"x-twilio-version":1,"title":"MessageContentModuleSms","description":"The `sms` (includes mms) content module for Messages.\nFor RCS use `MessageContentModuleRcs`.","type":"object","properties":{"sms":{"description":"The `sms` (includes mms) content module for Messages.","title":"MessageContentSms","x-twilio-version":1,"type":"object","minProperties":1,"refName":"MessageContentSms","modelName":"MessageContentSms","additionalProperties":false,"properties":{"text":{"type":"string","minLength":1,"description":"A simple content string (formerly called 'body').\n\nThis field can be templated with [Liquid](https://shopify.github.io/liquid/). Specify `variables` with each recipient for personalization."},"media":{"description":"A list of Media (images, etc.) to include in the message.\n\nIf this field is specified, Twilio will attempt to send the `Message` as an MMS.\n\nUse `MediaUrl` to supply links to media files with templated URLs, using [Liquid](https://shopify.github.io/liquid/).\n\nSpecify `variables` with each recipient for personalization.","x-twilio-version":1,"title":"ContentMediaInput","type":"array","refName":"ContentMediaInput","modelName":"ContentMediaInput","items":{"x-twilio-version":1,"title":"MediaUrl","type":"object","description":"A publicly accessible URL of a media file (image, etc.) to include in the message. The media file will be copied to Twilio's servers and then sent to the recipient.","required":["url"],"refName":"MediaUrl","modelName":"MediaUrl","properties":{"url":{"type":"string","minLength":1,"description":"The publicly accessible URL of the media file to copy.\n\nThis field can be templated with [Liquid](https://shopify.github.io/liquid/).\nSpecify `variables` with each recipient for personalization."}}}}}}},"required":["sms"],"refName":"MessageContentModuleSms","modelName":"MessageContentModuleSms"},{"x-twilio-version":1,"title":"MessageContentModuleRcs","description":"The RCS content.","type":"object","properties":{"rcs":{"title":"MessageContentRcs","description":"The RCS content, follows the RCS Business Messaging `SenderContentMessage` format.\nFor more information, see [RCS Business Messaging](https://developers.google.com/business-communications/rcs-business-messaging)","type":"object","oneOf":[{"title":"MessageContentModuleRcsText","description":"The RCS union Text content.","type":"object","properties":{"text":{"title":"MessageContentRcsText","description":"An RCS message simple text content.","type":"string","minLength":1},"suggestions":{"x-twilio-version":1,"title":"MessageContentRcsSuggestions","description":"A list of RCS suggestions to display. Maximum 11 suggestions.","type":"array","maxItems":11,"refName":"MessageContentRcsSuggestions","modelName":"MessageContentRcsSuggestions","items":{"oneOf":[{"x-twilio-version":1,"title":"MessageContentRcsSuggestedAction","description":"An RCS action suggestion.","type":"object","properties":{"action":{"title":"MessageContentRcsAction","description":"The RCS action to suggest.","type":"object","oneOf":[{"title":"MessageContentRcsSuggestedActionDial","type":"object","description":"A action item that when selected by the recipient, initiates a voice call using the native calling app on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionDialText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"dialAction":{"x-twilio-version":1,"title":"MessageContentRcsDialAction","description":"An RCS suggested action of type Dial.","type":"object","required":["phoneNumber"],"refName":"MessageContentRcsDialAction","modelName":"MessageContentRcsDialAction","properties":{"phoneNumber":{"type":"string","description":"The phone number to call when the action is triggered."}}}},"required":["text","postbackData","dialAction"]},{"title":"MessageContentRcsSuggestedActionOpenUrl","type":"object","description":"A action item, that when selected by the recipient, opens the provided `url` on the end-users device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionOpenUrlText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"openUrlAction":{"x-twilio-version":1,"title":"MessageContentRcsOpenUrlAction","description":"An RCS action of type Open Url.","type":"object","required":["url"],"refName":"MessageContentRcsOpenUrlAction","modelName":"MessageContentRcsOpenUrlAction","properties":{"url":{"title":"MessageContentRcsOpenUrlActionUrl","type":"string","description":"The url to open when the suggested action is selected."},"application":{"title":"MessageContentRcsOpenUrlActionApplication","type":"string","description":"The application to use when opening the URL.","enum":["BROWSER","WEBVIEW"]},"webviewViewMode":{"title":"MessageContentRcsOpenUrlActionWebviewViewMode","type":"string","description":"The view mode for the webview.\nRequired field (and only applicable) when application is `WEBVIEW`.","enum":["FULL","HALF","TALL"]}}}},"required":["text","postbackData","openUrlAction"]},{"title":"MessageContentRcsSuggestedActionViewLocation","type":"object","description":"An action item that when selected by the recipient, opens a map to display a location.","properties":{"text":{"title":"MessageContentRcsSuggestedActionViewLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"viewLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsViewLocationAction","description":"An RCS action that opens a map to display a location. Either latLong or query should be provided.","type":"object","minProperties":1,"refName":"MessageContentRcsViewLocationAction","modelName":"MessageContentRcsViewLocationAction","additionalProperties":false,"properties":{"latLong":{"x-twilio-version":1,"title":"MessageContentRcsLatLng","description":"A geographic coordinate (latitude and longitude).","type":"object","required":["latitude","longitude"],"refName":"MessageContentRcsLatLng","modelName":"MessageContentRcsLatLng","properties":{"latitude":{"type":"number","description":"The latitude in degrees. Must be in the range [-90.0, +90.0].","minimum":-90,"maximum":90},"longitude":{"type":"number","description":"The longitude in degrees. Must be in the range [-180.0, +180.0].","minimum":-180,"maximum":180}}},"label":{"type":"string","description":"The label of the pin dropped at the specified latLong."},"query":{"type":"string","description":"A query string for a location search. If specified instead of latLong, the device performs a location search centered on the user's current location. (Android Only)"}}}},"required":["text","postbackData","viewLocationAction"]},{"title":"MessageContentRcsSuggestedActionCreateCalendarEvent","type":"object","description":"An action item that when selected by the recipient, creates a calendar event on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionCreateCalendarEventText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"createCalendarEventAction":{"x-twilio-version":1,"title":"MessageContentRcsCreateCalendarEventAction","description":"An RCS action that creates a calendar event on the user's device.","type":"object","required":["startTime","endTime","title","description"],"refName":"MessageContentRcsCreateCalendarEventAction","modelName":"MessageContentRcsCreateCalendarEventAction","properties":{"startTime":{"type":"string","format":"date-time","description":"The start time of the calendar event."},"endTime":{"type":"string","format":"date-time","description":"The end time of the calendar event."},"title":{"type":"string","minLength":1,"description":"The title of the calendar event."},"description":{"type":"string","minLength":1,"description":"The description of the calendar event."}}}},"required":["text","postbackData","createCalendarEventAction"]},{"title":"MessageContentRcsSuggestedActionShareLocation","type":"object","description":"An action item that when selected by the recipient, opens the device's location chooser to share a location with the agent.","properties":{"text":{"title":"MessageContentRcsSuggestedActionShareLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"shareLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsShareLocationAction","description":"An RCS action that opens the device's location chooser, allowing the user to pick a location to send to the agent.","type":"object","refName":"MessageContentRcsShareLocationAction","modelName":"","additionalProperties":false}},"required":["text","postbackData","shareLocationAction"]}]}},"required":["action"],"refName":"MessageContentRcsSuggestedAction","modelName":"MessageContentRcsSuggestedAction"},{"x-twilio-version":1,"title":"MessageContentRcsSuggestedReply","type":"object","description":"An RCS reply suggestion.","properties":{"reply":{"title":"MessageContentRcsReply","description":"The RCS reply to suggest.","type":"object","required":["text","postbackData"],"properties":{"text":{"title":"MessageContentRcsReplyText","description":"The text to display for the suggested reply.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""}}}},"required":["reply"],"refName":"MessageContentRcsSuggestedReply","modelName":"MessageContentRcsSuggestedReply"}]}}},"required":["text"]},{"title":"MessageContentModuleRcsContentInfo","type":"object","description":"The RCS union Content Info content.","properties":{"contentInfo":{"x-twilio-version":1,"title":"MessageContentRcsContentInfo","description":"An RCS Content Info.","type":"object","required":["fileUrl"],"refName":"MessageContentRcsContentInfo","modelName":"MessageContentRcsContentInfo","properties":{"fileUrl":{"type":"string","description":"The URL of the media file."},"thumbnailUrl":{"type":"string","description":"The URL of the thumbnail image for the media."},"forceRefresh":{"type":"boolean","default":false,"description":"If set to true, the content is fetched from the URL even if cached content is available. Forces a cache refresh for the media content."}}},"suggestions":{"x-twilio-version":1,"title":"MessageContentRcsSuggestions","description":"A list of RCS suggestions to display. Maximum 11 suggestions.","type":"array","maxItems":11,"refName":"MessageContentRcsSuggestions","modelName":"MessageContentRcsSuggestions","items":{"oneOf":[{"x-twilio-version":1,"title":"MessageContentRcsSuggestedAction","description":"An RCS action suggestion.","type":"object","properties":{"action":{"title":"MessageContentRcsAction","description":"The RCS action to suggest.","type":"object","oneOf":[{"title":"MessageContentRcsSuggestedActionDial","type":"object","description":"A action item that when selected by the recipient, initiates a voice call using the native calling app on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionDialText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"dialAction":{"x-twilio-version":1,"title":"MessageContentRcsDialAction","description":"An RCS suggested action of type Dial.","type":"object","required":["phoneNumber"],"refName":"MessageContentRcsDialAction","modelName":"MessageContentRcsDialAction","properties":{"phoneNumber":{"type":"string","description":"The phone number to call when the action is triggered."}}}},"required":["text","postbackData","dialAction"]},{"title":"MessageContentRcsSuggestedActionOpenUrl","type":"object","description":"A action item, that when selected by the recipient, opens the provided `url` on the end-users device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionOpenUrlText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"openUrlAction":{"x-twilio-version":1,"title":"MessageContentRcsOpenUrlAction","description":"An RCS action of type Open Url.","type":"object","required":["url"],"refName":"MessageContentRcsOpenUrlAction","modelName":"MessageContentRcsOpenUrlAction","properties":{"url":{"title":"MessageContentRcsOpenUrlActionUrl","type":"string","description":"The url to open when the suggested action is selected."},"application":{"title":"MessageContentRcsOpenUrlActionApplication","type":"string","description":"The application to use when opening the URL.","enum":["BROWSER","WEBVIEW"]},"webviewViewMode":{"title":"MessageContentRcsOpenUrlActionWebviewViewMode","type":"string","description":"The view mode for the webview.\nRequired field (and only applicable) when application is `WEBVIEW`.","enum":["FULL","HALF","TALL"]}}}},"required":["text","postbackData","openUrlAction"]},{"title":"MessageContentRcsSuggestedActionViewLocation","type":"object","description":"An action item that when selected by the recipient, opens a map to display a location.","properties":{"text":{"title":"MessageContentRcsSuggestedActionViewLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"viewLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsViewLocationAction","description":"An RCS action that opens a map to display a location. Either latLong or query should be provided.","type":"object","minProperties":1,"refName":"MessageContentRcsViewLocationAction","modelName":"MessageContentRcsViewLocationAction","additionalProperties":false,"properties":{"latLong":{"x-twilio-version":1,"title":"MessageContentRcsLatLng","description":"A geographic coordinate (latitude and longitude).","type":"object","required":["latitude","longitude"],"refName":"MessageContentRcsLatLng","modelName":"MessageContentRcsLatLng","properties":{"latitude":{"type":"number","description":"The latitude in degrees. Must be in the range [-90.0, +90.0].","minimum":-90,"maximum":90},"longitude":{"type":"number","description":"The longitude in degrees. Must be in the range [-180.0, +180.0].","minimum":-180,"maximum":180}}},"label":{"type":"string","description":"The label of the pin dropped at the specified latLong."},"query":{"type":"string","description":"A query string for a location search. If specified instead of latLong, the device performs a location search centered on the user's current location. (Android Only)"}}}},"required":["text","postbackData","viewLocationAction"]},{"title":"MessageContentRcsSuggestedActionCreateCalendarEvent","type":"object","description":"An action item that when selected by the recipient, creates a calendar event on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionCreateCalendarEventText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"createCalendarEventAction":{"x-twilio-version":1,"title":"MessageContentRcsCreateCalendarEventAction","description":"An RCS action that creates a calendar event on the user's device.","type":"object","required":["startTime","endTime","title","description"],"refName":"MessageContentRcsCreateCalendarEventAction","modelName":"MessageContentRcsCreateCalendarEventAction","properties":{"startTime":{"type":"string","format":"date-time","description":"The start time of the calendar event."},"endTime":{"type":"string","format":"date-time","description":"The end time of the calendar event."},"title":{"type":"string","minLength":1,"description":"The title of the calendar event."},"description":{"type":"string","minLength":1,"description":"The description of the calendar event."}}}},"required":["text","postbackData","createCalendarEventAction"]},{"title":"MessageContentRcsSuggestedActionShareLocation","type":"object","description":"An action item that when selected by the recipient, opens the device's location chooser to share a location with the agent.","properties":{"text":{"title":"MessageContentRcsSuggestedActionShareLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"shareLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsShareLocationAction","description":"An RCS action that opens the device's location chooser, allowing the user to pick a location to send to the agent.","type":"object","refName":"MessageContentRcsShareLocationAction","modelName":"","additionalProperties":false}},"required":["text","postbackData","shareLocationAction"]}]}},"required":["action"],"refName":"MessageContentRcsSuggestedAction","modelName":"MessageContentRcsSuggestedAction"},{"x-twilio-version":1,"title":"MessageContentRcsSuggestedReply","type":"object","description":"An RCS reply suggestion.","properties":{"reply":{"title":"MessageContentRcsReply","description":"The RCS reply to suggest.","type":"object","required":["text","postbackData"],"properties":{"text":{"title":"MessageContentRcsReplyText","description":"The text to display for the suggested reply.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""}}}},"required":["reply"],"refName":"MessageContentRcsSuggestedReply","modelName":"MessageContentRcsSuggestedReply"}]}}},"required":["contentInfo"]},{"title":"MessageContentModuleRcsRichCard","description":"The RCS union Rich Card content.","type":"object","properties":{"richCard":{"title":"MessageContentRcsRichCard","description":"An RCS rich card.","type":"object","oneOf":[{"title":"MessageContentRcsRichCardCarousel","description":"A carousel card.","type":"object","properties":{"carouselCard":{"x-twilio-version":1,"title":"MessageContentRcsCarouselCard","description":"An RCS carousel card.","type":"object","required":["cardContents"],"refName":"MessageContentRcsCarouselCard","modelName":"MessageContentRcsCarouselCard","properties":{"cardWidth":{"title":"MessageContentRcsCarouselCardWidth","description":"The width of the cards in the carousel.","type":"string","enum":["SMALL","MEDIUM"]},"cardContents":{"title":"MessageContentRcsCarouselCardContents","description":"The contents of the carousel card.","type":"array","minItems":2,"maxItems":10,"items":{"x-twilio-version":1,"title":"MessageContentRcsStandaloneCardContent","description":"The content of the standalone card.","type":"object","minProperties":1,"refName":"MessageContentRcsCardContent","modelName":"MessageContentRcsCardContent","additionalProperties":false,"properties":{"title":{"title":"MessageContentRcsStandaloneCardTitle","description":"The title of the standalone card.","type":"string","minLength":1},"description":{"title":"MessageContentRcsStandaloneCardDescription","description":"The description of the standalone card.","type":"string","minLength":1},"media":{"x-twilio-version":1,"title":"MessageContentRcsMedia","description":"An RCS media.","type":"object","required":["contentInfo"],"refName":"MessageContentRcsMedia","modelName":"MessageContentRcsMedia","properties":{"contentInfo":{"x-twilio-version":1,"title":"MessageContentRcsContentInfo","description":"An RCS Content Info.","type":"object","required":["fileUrl"],"refName":"MessageContentRcsContentInfo","modelName":"MessageContentRcsContentInfo","properties":{"fileUrl":{"type":"string","description":"The URL of the media file."},"thumbnailUrl":{"type":"string","description":"The URL of the thumbnail image for the media."},"forceRefresh":{"type":"boolean","default":false,"description":"If set to true, the content is fetched from the URL even if cached content is available. Forces a cache refresh for the media content."}}},"height":{"description":"The height of the media.","type":"string","enum":["TALL","MEDIUM","SHORT"]}}},"suggestions":{"title":"MessageContentRcsCardSuggestions","description":"A list of suggestions for the card. Maximum 4 suggestions per card.","type":"array","maxItems":4,"items":{"oneOf":[{"x-twilio-version":1,"title":"MessageContentRcsSuggestedAction","description":"An RCS action suggestion.","type":"object","properties":{"action":{"title":"MessageContentRcsAction","description":"The RCS action to suggest.","type":"object","oneOf":[{"title":"MessageContentRcsSuggestedActionDial","type":"object","description":"A action item that when selected by the recipient, initiates a voice call using the native calling app on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionDialText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"dialAction":{"x-twilio-version":1,"title":"MessageContentRcsDialAction","description":"An RCS suggested action of type Dial.","type":"object","required":["phoneNumber"],"refName":"MessageContentRcsDialAction","modelName":"MessageContentRcsDialAction","properties":{"phoneNumber":{"type":"string","description":"The phone number to call when the action is triggered."}}}},"required":["text","postbackData","dialAction"]},{"title":"MessageContentRcsSuggestedActionOpenUrl","type":"object","description":"A action item, that when selected by the recipient, opens the provided `url` on the end-users device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionOpenUrlText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"openUrlAction":{"x-twilio-version":1,"title":"MessageContentRcsOpenUrlAction","description":"An RCS action of type Open Url.","type":"object","required":["url"],"refName":"MessageContentRcsOpenUrlAction","modelName":"MessageContentRcsOpenUrlAction","properties":{"url":{"title":"MessageContentRcsOpenUrlActionUrl","type":"string","description":"The url to open when the suggested action is selected."},"application":{"title":"MessageContentRcsOpenUrlActionApplication","type":"string","description":"The application to use when opening the URL.","enum":["BROWSER","WEBVIEW"]},"webviewViewMode":{"title":"MessageContentRcsOpenUrlActionWebviewViewMode","type":"string","description":"The view mode for the webview.\nRequired field (and only applicable) when application is `WEBVIEW`.","enum":["FULL","HALF","TALL"]}}}},"required":["text","postbackData","openUrlAction"]},{"title":"MessageContentRcsSuggestedActionViewLocation","type":"object","description":"An action item that when selected by the recipient, opens a map to display a location.","properties":{"text":{"title":"MessageContentRcsSuggestedActionViewLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"viewLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsViewLocationAction","description":"An RCS action that opens a map to display a location. Either latLong or query should be provided.","type":"object","minProperties":1,"refName":"MessageContentRcsViewLocationAction","modelName":"MessageContentRcsViewLocationAction","additionalProperties":false,"properties":{"latLong":{"x-twilio-version":1,"title":"MessageContentRcsLatLng","description":"A geographic coordinate (latitude and longitude).","type":"object","required":["latitude","longitude"],"refName":"MessageContentRcsLatLng","modelName":"MessageContentRcsLatLng","properties":{"latitude":{"type":"number","description":"The latitude in degrees. Must be in the range [-90.0, +90.0].","minimum":-90,"maximum":90},"longitude":{"type":"number","description":"The longitude in degrees. Must be in the range [-180.0, +180.0].","minimum":-180,"maximum":180}}},"label":{"type":"string","description":"The label of the pin dropped at the specified latLong."},"query":{"type":"string","description":"A query string for a location search. If specified instead of latLong, the device performs a location search centered on the user's current location. (Android Only)"}}}},"required":["text","postbackData","viewLocationAction"]},{"title":"MessageContentRcsSuggestedActionCreateCalendarEvent","type":"object","description":"An action item that when selected by the recipient, creates a calendar event on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionCreateCalendarEventText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"createCalendarEventAction":{"x-twilio-version":1,"title":"MessageContentRcsCreateCalendarEventAction","description":"An RCS action that creates a calendar event on the user's device.","type":"object","required":["startTime","endTime","title","description"],"refName":"MessageContentRcsCreateCalendarEventAction","modelName":"MessageContentRcsCreateCalendarEventAction","properties":{"startTime":{"type":"string","format":"date-time","description":"The start time of the calendar event."},"endTime":{"type":"string","format":"date-time","description":"The end time of the calendar event."},"title":{"type":"string","minLength":1,"description":"The title of the calendar event."},"description":{"type":"string","minLength":1,"description":"The description of the calendar event."}}}},"required":["text","postbackData","createCalendarEventAction"]},{"title":"MessageContentRcsSuggestedActionShareLocation","type":"object","description":"An action item that when selected by the recipient, opens the device's location chooser to share a location with the agent.","properties":{"text":{"title":"MessageContentRcsSuggestedActionShareLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"shareLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsShareLocationAction","description":"An RCS action that opens the device's location chooser, allowing the user to pick a location to send to the agent.","type":"object","refName":"MessageContentRcsShareLocationAction","modelName":"","additionalProperties":false}},"required":["text","postbackData","shareLocationAction"]}]}},"required":["action"],"refName":"MessageContentRcsSuggestedAction","modelName":"MessageContentRcsSuggestedAction"},{"x-twilio-version":1,"title":"MessageContentRcsSuggestedReply","type":"object","description":"An RCS reply suggestion.","properties":{"reply":{"title":"MessageContentRcsReply","description":"The RCS reply to suggest.","type":"object","required":["text","postbackData"],"properties":{"text":{"title":"MessageContentRcsReplyText","description":"The text to display for the suggested reply.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""}}}},"required":["reply"],"refName":"MessageContentRcsSuggestedReply","modelName":"MessageContentRcsSuggestedReply"}]}}}}}}}},"required":["carouselCard"]},{"title":"MessageContentRcsRichCardStandalone","description":"A standalone card.","type":"object","properties":{"standaloneCard":{"x-twilio-version":1,"title":"MessageContentRcsStandaloneCard","description":"An RCS standalone card.","type":"object","required":["cardContent"],"refName":"MessageContentRcsStandaloneCard","modelName":"MessageContentRcsStandaloneCard","properties":{"cardOrientation":{"title":"MessageContentRcsStandaloneCardOrientation","description":"The orientation of the card. Horizontal cards require media and at least one of title, description, or suggestions.","type":"string","enum":["HORIZONTAL","VERTICAL"],"default":"VERTICAL"},"thumbnailImageAlignment":{"title":"MessageContentRcsStandaloneCardThumbnailImageAlignment","description":"The alignment of the thumbnail image in horizontal cards. Only applicable when cardOrientation is HORIZONTAL.","type":"string","enum":["LEFT","RIGHT"],"default":"RIGHT"},"cardContent":{"x-twilio-version":1,"title":"MessageContentRcsStandaloneCardContent","description":"The content of the standalone card.","type":"object","minProperties":1,"refName":"MessageContentRcsCardContent","modelName":"MessageContentRcsCardContent","additionalProperties":false,"properties":{"title":{"title":"MessageContentRcsStandaloneCardTitle","description":"The title of the standalone card.","type":"string","minLength":1},"description":{"title":"MessageContentRcsStandaloneCardDescription","description":"The description of the standalone card.","type":"string","minLength":1},"media":{"x-twilio-version":1,"title":"MessageContentRcsMedia","description":"An RCS media.","type":"object","required":["contentInfo"],"refName":"MessageContentRcsMedia","modelName":"MessageContentRcsMedia","properties":{"contentInfo":{"x-twilio-version":1,"title":"MessageContentRcsContentInfo","description":"An RCS Content Info.","type":"object","required":["fileUrl"],"refName":"MessageContentRcsContentInfo","modelName":"MessageContentRcsContentInfo","properties":{"fileUrl":{"type":"string","description":"The URL of the media file."},"thumbnailUrl":{"type":"string","description":"The URL of the thumbnail image for the media."},"forceRefresh":{"type":"boolean","default":false,"description":"If set to true, the content is fetched from the URL even if cached content is available. Forces a cache refresh for the media content."}}},"height":{"description":"The height of the media.","type":"string","enum":["TALL","MEDIUM","SHORT"]}}},"suggestions":{"title":"MessageContentRcsCardSuggestions","description":"A list of suggestions for the card. Maximum 4 suggestions per card.","type":"array","maxItems":4,"items":{"oneOf":[{"x-twilio-version":1,"title":"MessageContentRcsSuggestedAction","description":"An RCS action suggestion.","type":"object","properties":{"action":{"title":"MessageContentRcsAction","description":"The RCS action to suggest.","type":"object","oneOf":[{"title":"MessageContentRcsSuggestedActionDial","type":"object","description":"A action item that when selected by the recipient, initiates a voice call using the native calling app on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionDialText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"dialAction":{"x-twilio-version":1,"title":"MessageContentRcsDialAction","description":"An RCS suggested action of type Dial.","type":"object","required":["phoneNumber"],"refName":"MessageContentRcsDialAction","modelName":"MessageContentRcsDialAction","properties":{"phoneNumber":{"type":"string","description":"The phone number to call when the action is triggered."}}}},"required":["text","postbackData","dialAction"]},{"title":"MessageContentRcsSuggestedActionOpenUrl","type":"object","description":"A action item, that when selected by the recipient, opens the provided `url` on the end-users device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionOpenUrlText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"openUrlAction":{"x-twilio-version":1,"title":"MessageContentRcsOpenUrlAction","description":"An RCS action of type Open Url.","type":"object","required":["url"],"refName":"MessageContentRcsOpenUrlAction","modelName":"MessageContentRcsOpenUrlAction","properties":{"url":{"title":"MessageContentRcsOpenUrlActionUrl","type":"string","description":"The url to open when the suggested action is selected."},"application":{"title":"MessageContentRcsOpenUrlActionApplication","type":"string","description":"The application to use when opening the URL.","enum":["BROWSER","WEBVIEW"]},"webviewViewMode":{"title":"MessageContentRcsOpenUrlActionWebviewViewMode","type":"string","description":"The view mode for the webview.\nRequired field (and only applicable) when application is `WEBVIEW`.","enum":["FULL","HALF","TALL"]}}}},"required":["text","postbackData","openUrlAction"]},{"title":"MessageContentRcsSuggestedActionViewLocation","type":"object","description":"An action item that when selected by the recipient, opens a map to display a location.","properties":{"text":{"title":"MessageContentRcsSuggestedActionViewLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"viewLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsViewLocationAction","description":"An RCS action that opens a map to display a location. Either latLong or query should be provided.","type":"object","minProperties":1,"refName":"MessageContentRcsViewLocationAction","modelName":"MessageContentRcsViewLocationAction","additionalProperties":false,"properties":{"latLong":{"x-twilio-version":1,"title":"MessageContentRcsLatLng","description":"A geographic coordinate (latitude and longitude).","type":"object","required":["latitude","longitude"],"refName":"MessageContentRcsLatLng","modelName":"MessageContentRcsLatLng","properties":{"latitude":{"type":"number","description":"The latitude in degrees. Must be in the range [-90.0, +90.0].","minimum":-90,"maximum":90},"longitude":{"type":"number","description":"The longitude in degrees. Must be in the range [-180.0, +180.0].","minimum":-180,"maximum":180}}},"label":{"type":"string","description":"The label of the pin dropped at the specified latLong."},"query":{"type":"string","description":"A query string for a location search. If specified instead of latLong, the device performs a location search centered on the user's current location. (Android Only)"}}}},"required":["text","postbackData","viewLocationAction"]},{"title":"MessageContentRcsSuggestedActionCreateCalendarEvent","type":"object","description":"An action item that when selected by the recipient, creates a calendar event on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionCreateCalendarEventText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"createCalendarEventAction":{"x-twilio-version":1,"title":"MessageContentRcsCreateCalendarEventAction","description":"An RCS action that creates a calendar event on the user's device.","type":"object","required":["startTime","endTime","title","description"],"refName":"MessageContentRcsCreateCalendarEventAction","modelName":"MessageContentRcsCreateCalendarEventAction","properties":{"startTime":{"type":"string","format":"date-time","description":"The start time of the calendar event."},"endTime":{"type":"string","format":"date-time","description":"The end time of the calendar event."},"title":{"type":"string","minLength":1,"description":"The title of the calendar event."},"description":{"type":"string","minLength":1,"description":"The description of the calendar event."}}}},"required":["text","postbackData","createCalendarEventAction"]},{"title":"MessageContentRcsSuggestedActionShareLocation","type":"object","description":"An action item that when selected by the recipient, opens the device's location chooser to share a location with the agent.","properties":{"text":{"title":"MessageContentRcsSuggestedActionShareLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"shareLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsShareLocationAction","description":"An RCS action that opens the device's location chooser, allowing the user to pick a location to send to the agent.","type":"object","refName":"MessageContentRcsShareLocationAction","modelName":"","additionalProperties":false}},"required":["text","postbackData","shareLocationAction"]}]}},"required":["action"],"refName":"MessageContentRcsSuggestedAction","modelName":"MessageContentRcsSuggestedAction"},{"x-twilio-version":1,"title":"MessageContentRcsSuggestedReply","type":"object","description":"An RCS reply suggestion.","properties":{"reply":{"title":"MessageContentRcsReply","description":"The RCS reply to suggest.","type":"object","required":["text","postbackData"],"properties":{"text":{"title":"MessageContentRcsReplyText","description":"The text to display for the suggested reply.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""}}}},"required":["reply"],"refName":"MessageContentRcsSuggestedReply","modelName":"MessageContentRcsSuggestedReply"}]}}}}}}},"required":["standaloneCard"]}]},"suggestions":{"x-twilio-version":1,"title":"MessageContentRcsSuggestions","description":"A list of RCS suggestions to display. Maximum 11 suggestions.","type":"array","maxItems":11,"refName":"MessageContentRcsSuggestions","modelName":"MessageContentRcsSuggestions","items":{"oneOf":[{"x-twilio-version":1,"title":"MessageContentRcsSuggestedAction","description":"An RCS action suggestion.","type":"object","properties":{"action":{"title":"MessageContentRcsAction","description":"The RCS action to suggest.","type":"object","oneOf":[{"title":"MessageContentRcsSuggestedActionDial","type":"object","description":"A action item that when selected by the recipient, initiates a voice call using the native calling app on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionDialText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"dialAction":{"x-twilio-version":1,"title":"MessageContentRcsDialAction","description":"An RCS suggested action of type Dial.","type":"object","required":["phoneNumber"],"refName":"MessageContentRcsDialAction","modelName":"MessageContentRcsDialAction","properties":{"phoneNumber":{"type":"string","description":"The phone number to call when the action is triggered."}}}},"required":["text","postbackData","dialAction"]},{"title":"MessageContentRcsSuggestedActionOpenUrl","type":"object","description":"A action item, that when selected by the recipient, opens the provided `url` on the end-users device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionOpenUrlText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"openUrlAction":{"x-twilio-version":1,"title":"MessageContentRcsOpenUrlAction","description":"An RCS action of type Open Url.","type":"object","required":["url"],"refName":"MessageContentRcsOpenUrlAction","modelName":"MessageContentRcsOpenUrlAction","properties":{"url":{"title":"MessageContentRcsOpenUrlActionUrl","type":"string","description":"The url to open when the suggested action is selected."},"application":{"title":"MessageContentRcsOpenUrlActionApplication","type":"string","description":"The application to use when opening the URL.","enum":["BROWSER","WEBVIEW"]},"webviewViewMode":{"title":"MessageContentRcsOpenUrlActionWebviewViewMode","type":"string","description":"The view mode for the webview.\nRequired field (and only applicable) when application is `WEBVIEW`.","enum":["FULL","HALF","TALL"]}}}},"required":["text","postbackData","openUrlAction"]},{"title":"MessageContentRcsSuggestedActionViewLocation","type":"object","description":"An action item that when selected by the recipient, opens a map to display a location.","properties":{"text":{"title":"MessageContentRcsSuggestedActionViewLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"viewLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsViewLocationAction","description":"An RCS action that opens a map to display a location. Either latLong or query should be provided.","type":"object","minProperties":1,"refName":"MessageContentRcsViewLocationAction","modelName":"MessageContentRcsViewLocationAction","additionalProperties":false,"properties":{"latLong":{"x-twilio-version":1,"title":"MessageContentRcsLatLng","description":"A geographic coordinate (latitude and longitude).","type":"object","required":["latitude","longitude"],"refName":"MessageContentRcsLatLng","modelName":"MessageContentRcsLatLng","properties":{"latitude":{"type":"number","description":"The latitude in degrees. Must be in the range [-90.0, +90.0].","minimum":-90,"maximum":90},"longitude":{"type":"number","description":"The longitude in degrees. Must be in the range [-180.0, +180.0].","minimum":-180,"maximum":180}}},"label":{"type":"string","description":"The label of the pin dropped at the specified latLong."},"query":{"type":"string","description":"A query string for a location search. If specified instead of latLong, the device performs a location search centered on the user's current location. (Android Only)"}}}},"required":["text","postbackData","viewLocationAction"]},{"title":"MessageContentRcsSuggestedActionCreateCalendarEvent","type":"object","description":"An action item that when selected by the recipient, creates a calendar event on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionCreateCalendarEventText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"createCalendarEventAction":{"x-twilio-version":1,"title":"MessageContentRcsCreateCalendarEventAction","description":"An RCS action that creates a calendar event on the user's device.","type":"object","required":["startTime","endTime","title","description"],"refName":"MessageContentRcsCreateCalendarEventAction","modelName":"MessageContentRcsCreateCalendarEventAction","properties":{"startTime":{"type":"string","format":"date-time","description":"The start time of the calendar event."},"endTime":{"type":"string","format":"date-time","description":"The end time of the calendar event."},"title":{"type":"string","minLength":1,"description":"The title of the calendar event."},"description":{"type":"string","minLength":1,"description":"The description of the calendar event."}}}},"required":["text","postbackData","createCalendarEventAction"]},{"title":"MessageContentRcsSuggestedActionShareLocation","type":"object","description":"An action item that when selected by the recipient, opens the device's location chooser to share a location with the agent.","properties":{"text":{"title":"MessageContentRcsSuggestedActionShareLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"shareLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsShareLocationAction","description":"An RCS action that opens the device's location chooser, allowing the user to pick a location to send to the agent.","type":"object","refName":"MessageContentRcsShareLocationAction","modelName":"","additionalProperties":false}},"required":["text","postbackData","shareLocationAction"]}]}},"required":["action"],"refName":"MessageContentRcsSuggestedAction","modelName":"MessageContentRcsSuggestedAction"},{"x-twilio-version":1,"title":"MessageContentRcsSuggestedReply","type":"object","description":"An RCS reply suggestion.","properties":{"reply":{"title":"MessageContentRcsReply","description":"The RCS reply to suggest.","type":"object","required":["text","postbackData"],"properties":{"text":{"title":"MessageContentRcsReplyText","description":"The text to display for the suggested reply.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""}}}},"required":["reply"],"refName":"MessageContentRcsSuggestedReply","modelName":"MessageContentRcsSuggestedReply"}]}}},"required":["richCard"]}]}},"required":["rcs"],"refName":"MessageContentModuleRcs","modelName":"MessageContentModuleRcs"}]}}},"required":["modules"],"refName":"MessageContentChannelModules","modelName":"MessageContentChannelModules"}]},"from":{"title":"SendMessagesRequestFrom","description":"The sending identity to associate with the Message(s).","x-twilio-version":1,"oneOf":[{"title":"MessageAddressSender","description":"A messaging address and channel","x-twilio-version":1,"type":"object","properties":{"address":{"type":"string","description":"The Sender’s communication address within a channel, such as a phone number, email address, or device token."},"channel":{"x-twilio-version":1,"title":"MessageSenderChannel","description":"The channels available for Message entity.","type":"string","enum":["SMS","RCS","WHATSAPP"],"example":"SMS","refName":"MessageSenderChannel","modelName":"MessageSenderChannel"}},"required":["address","channel"],"refName":"MessageAddressSender","modelName":"MessageAddressSender"},{"title":"SenderIdSender","description":"A reference to a Sender.","x-twilio-version":1,"type":"object","properties":{"senderId":{"x-twilio-version":1,"description":"A reference to a Sender.","title":"SenderId","type":"string","pattern":"^comms_sender_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_sender_01h9krwprkeee8fzqspvwy6nq8","refName":"SenderId","modelName":""}},"required":["senderId"],"refName":"SenderIdSender","modelName":"SenderIdSender"},{"title":"MessageSenderPoolIdSender","description":"A reference to a `SenderPool` and optional channel controls.","x-twilio-version":1,"type":"object","properties":{"senderPoolId":{"x-twilio-version":1,"description":"A reference to a SenderPool.","title":"SenderPoolId","type":"string","pattern":"^comms_senderpool_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8","refName":"SenderPoolId","modelName":""},"channels":{"title":"MessageSenderChannelControl","description":"Define controls to `filter` and `prioritize` Senders based on their `channel`.","type":"object","x-twilio-version":1,"refName":"MessageSenderChannelControl","modelName":"MessageSenderChannelControl","properties":{"filterIn":{"title":"MessageSenderChannelControlFilterIn","description":"A list of eligible channels to constrain `Sender` resolution to;\nleave undefined to send across all available channels.\n\nWarning: If there is no viable path from any `Sender` to a recipient resulting from\nthis filter, no `Message` will be sent to the recipient(s)!","type":"array","uniqueItems":true,"items":{"x-twilio-version":1,"title":"MessageSenderChannel","description":"The channels available for Message entity.","type":"string","enum":["SMS","RCS","WHATSAPP"],"example":"SMS","refName":"MessageSenderChannel","modelName":"MessageSenderChannel"}},"priority":{"title":"MessageSenderChannelControlPriority","description":"A list of channels and their priority for use. \nLowest numeric value is highest priority.","type":"array","items":{"title":"MessageSenderChannelControlPriorityItem","description":"A channel and its priority.","required":["channel","priority"],"properties":{"channel":{"x-twilio-version":1,"title":"MessageSenderChannel","description":"The channels available for Message entity.","type":"string","enum":["SMS","RCS","WHATSAPP"],"example":"SMS","refName":"MessageSenderChannel","modelName":"MessageSenderChannel"},"priority":{"type":"integer","description":"The priority of the channel. Lower values indicate higher priority.\nFor example, a value of `0` indicates the highest priority channel."}}}}}}},"required":["senderPoolId"],"refName":"MessageSenderPoolIdSender","modelName":"MessageSenderPoolIdSender"}]},"schedule":{"title":"Schedule","description":"A schedule defines *when* a communication will be sent to a recipient.","x-twilio-version":1,"type":"object","minProperties":1,"refName":"Schedule","modelName":"Schedule","additionalProperties":false,"properties":{"sendAt":{"description":"List of expressions for when the communication may be sent.\n\nThe supported expression formats are:\n  - RFC 3339 date-time string. e.g `\"2025-11-11T11:11:00Z\"`\n\nThe maximum time you can schedule a communication is 7 days in the future.\n\nCurrently, you may specify only a single expression.\nIf you specify multiple expressions, only the first will be used.\nSupport for additional scheduling expression formats may be added in the future.","type":"array","items":{"type":"string"}}}},"tags":{"x-twilio-version":1,"title":"Tags","type":"object","description":"Custom metadata in the form of key-value pairs.\nMaximum size of a tag key is 128 characters.\nMaximum size of a tag value is 256 characters.\nThere can be a maximum of 10 key-value pairs.\n\nThis field can be templated with [Liquid](https://shopify.github.io/liquid/).\nSpecify `variables` with each recipient for personalization.","maxProperties":10,"propertyNames":{"type":"string","maxLength":128,"pattern":"^[a-zA-Z0-9._~-]+$"},"refName":"Tags","modelName":"","additionalProperties":{"type":"string","maxLength":256,"pattern":"^[a-zA-Z0-9._~-]+$"}}}},"examples":{"SendSimplestMessage":{"summary":"Send simplest message","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"to\": [\n    {\n      \"address\": \"+14153902337\",\n      \"channel\": \"PHONE\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  }\n}","meta":"","code":"{\n  \"to\": [\n    {\n      \"address\": \"+14153902337\",\n      \"channel\": \"PHONE\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+14153902337\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Hello, World!\"","#A5D6FF"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"SendASimpleSms":{"summary":"Send a simple sms with explicit from","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"from\": {\n    \"address\": \"+14153901002\",\n    \"channel\": \"SMS\"\n  },\n  \"to\": [\n    {\n      \"address\": \"+12065558844\",\n      \"channel\": \"PHONE\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  }\n}","meta":"","code":"{\n  \"from\": {\n    \"address\": \"+14153901002\",\n    \"channel\": \"SMS\"\n  },\n  \"to\": [\n    {\n      \"address\": \"+12065558844\",\n      \"channel\": \"PHONE\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+14153901002\"","#A5D6FF"],[",","#C9D1D9"],"\n    ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"SMS\"","#A5D6FF"],"\n  ",["},","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558844\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Hello, World!\"","#A5D6FF"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"SendRCSWithPersonalization":{"summary":"Send RCS with personalization","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"from\": {\n    \"address\": \"rbm_zx238c_agent\",\n    \"channel\": \"RCS\"\n  },\n  \"to\": [\n    {\n      \"address\": \"+12065558844\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Zane\",\n        \"trackingNumber\": \"1Z6789012345678901\"\n      }\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hi {{ name | default: 'there' }}! \\nYour BubuLemon order has shipped.\\nTrack your order: {{ trackingNumber }}\"\n  }\n}","meta":"","code":"{\n  \"from\": {\n    \"address\": \"rbm_zx238c_agent\",\n    \"channel\": \"RCS\"\n  },\n  \"to\": [\n    {\n      \"address\": \"+12065558844\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Zane\",\n        \"trackingNumber\": \"1Z6789012345678901\"\n      }\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hi {{ name | default: 'there' }}! \\nYour BubuLemon order has shipped.\\nTrack your order: {{ trackingNumber }}\"\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"rbm_zx238c_agent\"","#A5D6FF"],[",","#C9D1D9"],"\n    ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"RCS\"","#A5D6FF"],"\n  ",["},","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558844\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"Zane\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"trackingNumber\"","#7EE787"],[":","#C9D1D9"]," ",["\"1Z6789012345678901\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Hi {{ name | default: 'there' }}!","#A5D6FF"]," ",["\\n","#79C0FF"],["Your BubuLemon order has shipped.","#A5D6FF"],["\\n","#79C0FF"],["Track your order: {{ trackingNumber }}\"","#A5D6FF"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"SendToTenRecipientsWithPersonalization":{"summary":"Send ten Messages with personalization","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"from\": {\n    \"senderPoolId\": \"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\"\n  },\n  \"to\": [\n    {\n      \"address\": \"+12065558841\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Alice\"\n      }\n    },\n    {\n      \"address\": \"+12065558842\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Bob\"\n      }\n    },\n    {\n      \"address\": \"+12065558843\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Zane\"\n      }\n    },\n    {\n      \"address\": \"+12065558844\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Taylor\"\n      }\n    },\n    {\n      \"address\": \"+12065558845\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Riley\"\n      }\n    },\n    {\n      \"address\": \"+12065558846\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Kai\"\n      }\n    },\n    {\n      \"address\": \"+12065558847\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"River\"\n      }\n    },\n    {\n      \"address\": \"+12065558848\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Robin\"\n      }\n    },\n    {\n      \"address\": \"+12065558849\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Ivan\"\n      }\n    },\n    {\n      \"address\": \"+12065558850\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Ollie\"\n      }\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello {{ name | default: '' }}!\\nThanks for registering for updates.\\nWe'll let you know when we launch the next batch.\"\n  }\n}","meta":"","code":"{\n  \"from\": {\n    \"senderPoolId\": \"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\"\n  },\n  \"to\": [\n    {\n      \"address\": \"+12065558841\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Alice\"\n      }\n    },\n    {\n      \"address\": \"+12065558842\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Bob\"\n      }\n    },\n    {\n      \"address\": \"+12065558843\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Zane\"\n      }\n    },\n    {\n      \"address\": \"+12065558844\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Taylor\"\n      }\n    },\n    {\n      \"address\": \"+12065558845\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Riley\"\n      }\n    },\n    {\n      \"address\": \"+12065558846\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Kai\"\n      }\n    },\n    {\n      \"address\": \"+12065558847\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"River\"\n      }\n    },\n    {\n      \"address\": \"+12065558848\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Robin\"\n      }\n    },\n    {\n      \"address\": \"+12065558849\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Ivan\"\n      }\n    },\n    {\n      \"address\": \"+12065558850\",\n      \"channel\": \"PHONE\",\n      \"variables\": {\n        \"name\": \"Ollie\"\n      }\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello {{ name | default: '' }}!\\nThanks for registering for updates.\\nWe'll let you know when we launch the next batch.\"\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"senderPoolId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n  ",["},","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558841\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"Alice\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558842\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"Bob\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558843\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"Zane\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558844\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"Taylor\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558845\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"Riley\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558846\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"Kai\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558847\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"River\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558848\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"Robin\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558849\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"Ivan\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558850\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"Ollie\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Hello {{ name | default: '' }}!","#A5D6FF"],["\\n","#79C0FF"],["Thanks for registering for updates.","#A5D6FF"],["\\n","#79C0FF"],["We'll let you know when we launch the next batch.\"","#A5D6FF"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"SendAMessageToOneRecipientThatHasMultipleAddresses":{"summary":"Send a Message (wa, rcs, mms/sms) to one recipient that has multiple addresses","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"from\": {\n    \"senderPoolId\": \"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\"\n  },\n  \"to\": [\n    {\n      \"addresses\": [\n        {\n          \"address\": \"+12065558844\",\n          \"channel\": \"WHATSAPP\"\n        },\n        {\n          \"address\": \"+12065558844\",\n          \"channel\": \"PHONE\"\n        }\n      ]\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  }\n}","meta":"","code":"{\n  \"from\": {\n    \"senderPoolId\": \"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\"\n  },\n  \"to\": [\n    {\n      \"addresses\": [\n        {\n          \"address\": \"+12065558844\",\n          \"channel\": \"WHATSAPP\"\n        },\n        {\n          \"address\": \"+12065558844\",\n          \"channel\": \"PHONE\"\n        }\n      ]\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"senderPoolId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n  ",["},","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"addresses\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["{","#C9D1D9"],"\n          ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558844\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"WHATSAPP\"","#A5D6FF"],"\n        ",["},","#C9D1D9"],"\n        ",["{","#C9D1D9"],"\n          ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558844\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],"\n        ",["}","#C9D1D9"],"\n      ",["]","#C9D1D9"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Hello, World!\"","#A5D6FF"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"SendOneMessageFromSenderToProfile":{"summary":"Send one Message from Sender to Profile","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"from\": {\n    \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n  },\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  }\n}","meta":"","code":"{\n  \"from\": {\n    \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n  },\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"senderId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n  ",["},","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Hello, World!\"","#A5D6FF"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"SendRcsMessagesToMultipleRecipients":{"summary":"Send rcs Messages to multiple recipients","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"from\": {\n    \"address\": \"rbm_abc123_sender\",\n    \"channel\": \"RCS\"\n  },\n  \"to\": [\n    {\n      \"address\": \"+14153979999\",\n      \"channel\": \"PHONE\"\n    },\n    {\n      \"address\": \"+12065558063\",\n      \"channel\": \"PHONE\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  }\n}","meta":"","code":"{\n  \"from\": {\n    \"address\": \"rbm_abc123_sender\",\n    \"channel\": \"RCS\"\n  },\n  \"to\": [\n    {\n      \"address\": \"+14153979999\",\n      \"channel\": \"PHONE\"\n    },\n    {\n      \"address\": \"+12065558063\",\n      \"channel\": \"PHONE\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"rbm_abc123_sender\"","#A5D6FF"],[",","#C9D1D9"],"\n    ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"RCS\"","#A5D6FF"],"\n  ",["},","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+14153979999\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558063\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Hello, World!\"","#A5D6FF"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"SendSmsMessagesToMultipleProfileRecipients":{"summary":"Send sms Messages to multiple Profile recipients","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"from\": {\n    \"address\": \"+14155551002\",\n    \"channel\": \"SMS\"\n  },\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    },\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  }\n}","meta":"","code":"{\n  \"from\": {\n    \"address\": \"+14155551002\",\n    \"channel\": \"SMS\"\n  },\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    },\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+14155551002\"","#A5D6FF"],[",","#C9D1D9"],"\n    ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"SMS\"","#A5D6FF"],"\n  ",["},","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Hello, World!\"","#A5D6FF"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"SendMessagesFromASenderToMultipleProfileRecipients":{"summary":"Send Messages from a Sender to multiple Profile recipients","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"from\": {\n    \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n  },\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    },\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  }\n}","meta":"","code":"{\n  \"from\": {\n    \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n  },\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    },\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"senderId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n  ",["},","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Hello, World!\"","#A5D6FF"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"SendMessagesFromSenderPoolToAMixOfRecipientTypes":{"summary":"Send Messages from Sender Pool to a mix of recipient types","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"from\": {\n    \"senderPoolId\": \"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\",\n    \"channels\": {\n      \"filterIn\": [\n        \"SMS\",\n        \"RCS\"\n      ]\n    }\n  },\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    },\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    },\n    {\n      \"address\": \"+17773178001\",\n      \"channel\": \"PHONE\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  }\n}","meta":"","code":"{\n  \"from\": {\n    \"senderPoolId\": \"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\",\n    \"channels\": {\n      \"filterIn\": [\n        \"SMS\",\n        \"RCS\"\n      ]\n    }\n  },\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    },\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    },\n    {\n      \"address\": \"+17773178001\",\n      \"channel\": \"PHONE\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"senderPoolId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n    ",["\"channels\"","#7EE787"],[": {","#C9D1D9"],"\n      ",["\"filterIn\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["\"SMS\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"RCS\"","#A5D6FF"],"\n      ",["]","#C9D1D9"],"\n    ",["}","#C9D1D9"],"\n  ",["},","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+17773178001\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Hello, World!\"","#A5D6FF"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"SendMultipleMessagesWithPersonalization":{"summary":"Send multiple Messages with personalization","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"from\": {\n    \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n  },\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\",\n      \"variables\": {\n        \"firstName\": \"John\",\n        \"lastName\": \"Doe\"\n      }\n    },\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\",\n      \"variables\": {\n        \"firstName\": \"Jane\",\n        \"lastName\": \"Doe\"\n      }\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, {{ firstName }} {{ lastName }}!\"\n  }\n}","meta":"","code":"{\n  \"from\": {\n    \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n  },\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\",\n      \"variables\": {\n        \"firstName\": \"John\",\n        \"lastName\": \"Doe\"\n      }\n    },\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\",\n      \"variables\": {\n        \"firstName\": \"Jane\",\n        \"lastName\": \"Doe\"\n      }\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, {{ firstName }} {{ lastName }}!\"\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"senderId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n  ",["},","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"firstName\"","#7EE787"],[":","#C9D1D9"]," ",["\"John\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"lastName\"","#7EE787"],[":","#C9D1D9"]," ",["\"Doe\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"firstName\"","#7EE787"],[":","#C9D1D9"]," ",["\"Jane\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"lastName\"","#7EE787"],[":","#C9D1D9"]," ",["\"Doe\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Hello, {{ firstName }} {{ lastName }}!\"","#A5D6FF"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"SendMultipleMessagesWithProfileReferencePersonalization":{"summary":"Send multiple Messages with Profile reference personalization","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"from\": {\n    \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n  },\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\",\n      \"variables\": {\n        \"firstName\": \"${Twilio.Profile.firstName}\",\n        \"lastName\": \"${Twilio.Profile.lastName}\"\n      }\n    },\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\",\n      \"variables\": {\n        \"firstName\": \"${Twilio.Profile.firstName}\",\n        \"lastName\": \"${Twilio.Profile.lastName}\"\n      }\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, {{ firstName | default: 'Valued' }} {{ lastName | default: 'Customer' }}!\"\n  }\n}","meta":"","code":"{\n  \"from\": {\n    \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n  },\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\",\n      \"variables\": {\n        \"firstName\": \"${Twilio.Profile.firstName}\",\n        \"lastName\": \"${Twilio.Profile.lastName}\"\n      }\n    },\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\",\n      \"variables\": {\n        \"firstName\": \"${Twilio.Profile.firstName}\",\n        \"lastName\": \"${Twilio.Profile.lastName}\"\n      }\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, {{ firstName | default: 'Valued' }} {{ lastName | default: 'Customer' }}!\"\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"senderId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n  ",["},","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"firstName\"","#7EE787"],[":","#C9D1D9"]," ",["\"${Twilio.Profile.firstName}\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"lastName\"","#7EE787"],[":","#C9D1D9"]," ",["\"${Twilio.Profile.lastName}\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"firstName\"","#7EE787"],[":","#C9D1D9"]," ",["\"${Twilio.Profile.firstName}\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"lastName\"","#7EE787"],[":","#C9D1D9"]," ",["\"${Twilio.Profile.lastName}\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Hello, {{ firstName | default: 'Valued' }} {{ lastName | default: 'Customer' }}!\"","#A5D6FF"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"SendMessagesConstrainedToWhatsappAndSms":{"summary":"Send Messages, constrained to whatsapp, and sms","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"from\": {\n    \"senderPoolId\": \"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\",\n    \"channels\": {\n      \"filterIn\": [\n        \"WHATSAPP\",\n        \"SMS\"\n      ]\n    }\n  },\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\",\n      \"variables\": {\n        \"firstName\": \"John\",\n        \"lastName\": \"Doe\"\n      }\n    },\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\",\n      \"variables\": {\n        \"firstName\": \"Jane\",\n        \"lastName\": \"Doe\"\n      }\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, {{ firstName | default: 'Valued' }} {{ lastName | default: 'Customer' }}!\",\n    \"media\": [\n      {\n        \"url\": \"https://cdn.bikinibottom.com/bikinibottom.jpg\"\n      }\n    ]\n  }\n}","meta":"","code":"{\n  \"from\": {\n    \"senderPoolId\": \"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\",\n    \"channels\": {\n      \"filterIn\": [\n        \"WHATSAPP\",\n        \"SMS\"\n      ]\n    }\n  },\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\",\n      \"variables\": {\n        \"firstName\": \"John\",\n        \"lastName\": \"Doe\"\n      }\n    },\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\",\n      \"variables\": {\n        \"firstName\": \"Jane\",\n        \"lastName\": \"Doe\"\n      }\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, {{ firstName | default: 'Valued' }} {{ lastName | default: 'Customer' }}!\",\n    \"media\": [\n      {\n        \"url\": \"https://cdn.bikinibottom.com/bikinibottom.jpg\"\n      }\n    ]\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"senderPoolId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n    ",["\"channels\"","#7EE787"],[": {","#C9D1D9"],"\n      ",["\"filterIn\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["\"WHATSAPP\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"SMS\"","#A5D6FF"],"\n      ",["]","#C9D1D9"],"\n    ",["}","#C9D1D9"],"\n  ",["},","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"firstName\"","#7EE787"],[":","#C9D1D9"]," ",["\"John\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"lastName\"","#7EE787"],[":","#C9D1D9"]," ",["\"Doe\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"variables\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"firstName\"","#7EE787"],[":","#C9D1D9"]," ",["\"Jane\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"lastName\"","#7EE787"],[":","#C9D1D9"]," ",["\"Doe\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Hello, {{ firstName | default: 'Valued' }} {{ lastName | default: 'Customer' }}!\"","#A5D6FF"],[",","#C9D1D9"],"\n    ",["\"media\"","#7EE787"],[": [","#C9D1D9"],"\n      ",["{","#C9D1D9"],"\n        ",["\"url\"","#7EE787"],[":","#C9D1D9"]," ",["\"https://cdn.bikinibottom.com/bikinibottom.jpg\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["]","#C9D1D9"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"SendMMSMessageWithMedia":{"summary":"Send an mms message with media","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"from\": {\n    \"address\": \"+14158871002\",\n    \"channel\": \"SMS\"\n  },\n  \"to\": [\n    {\n      \"address\": \"+19144178063\",\n      \"channel\": \"PHONE\"\n    }\n  ],\n  \"content\": {\n    \"media\": [\n      {\n        \"url\": \"https://example.com/steelers.jpg\"\n      },\n      {\n        \"url\": \"https://example.com/cowboys.png\"\n      }\n    ]\n  }\n}","meta":"","code":"{\n  \"from\": {\n    \"address\": \"+14158871002\",\n    \"channel\": \"SMS\"\n  },\n  \"to\": [\n    {\n      \"address\": \"+19144178063\",\n      \"channel\": \"PHONE\"\n    }\n  ],\n  \"content\": {\n    \"media\": [\n      {\n        \"url\": \"https://example.com/steelers.jpg\"\n      },\n      {\n        \"url\": \"https://example.com/cowboys.png\"\n      }\n    ]\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+14158871002\"","#A5D6FF"],[",","#C9D1D9"],"\n    ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"SMS\"","#A5D6FF"],"\n  ",["},","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+19144178063\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"media\"","#7EE787"],[": [","#C9D1D9"],"\n      ",["{","#C9D1D9"],"\n        ",["\"url\"","#7EE787"],[":","#C9D1D9"]," ",["\"https://example.com/steelers.jpg\"","#A5D6FF"],"\n      ",["},","#C9D1D9"],"\n      ",["{","#C9D1D9"],"\n        ",["\"url\"","#7EE787"],[":","#C9D1D9"]," ",["\"https://example.com/cowboys.png\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["]","#C9D1D9"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"SendAScheduledSms":{"summary":"Send a scheduled sms","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"from\": {\n    \"address\": \"+14153901002\",\n    \"channel\": \"SMS\"\n  },\n  \"to\": [\n    {\n      \"address\": \"+12065558844\",\n      \"channel\": \"PHONE\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  },\n  \"schedule\": {\n    \"sendAt\": [\n      \"2030-04-01T10:04:01Z\"\n    ]\n  }\n}","meta":"","code":"{\n  \"from\": {\n    \"address\": \"+14153901002\",\n    \"channel\": \"SMS\"\n  },\n  \"to\": [\n    {\n      \"address\": \"+12065558844\",\n      \"channel\": \"PHONE\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Hello, World!\"\n  },\n  \"schedule\": {\n    \"sendAt\": [\n      \"2030-04-01T10:04:01Z\"\n    ]\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+14153901002\"","#A5D6FF"],[",","#C9D1D9"],"\n    ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"SMS\"","#A5D6FF"],"\n  ",["},","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558844\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Hello, World!\"","#A5D6FF"],"\n  ",["},","#C9D1D9"],"\n  ",["\"schedule\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"sendAt\"","#7EE787"],[": [","#C9D1D9"],"\n      ",["\"2030-04-01T10:04:01Z\"","#A5D6FF"],"\n    ",["]","#C9D1D9"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"SendAMessageWithJustRecipientAndContent":{"summary":"Send a Message with just recipient and content","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Look ma, no 'from' ✨!\"\n  }\n}","meta":"","code":"{\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Look ma, no 'from' ✨!\"\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Look ma, no 'from' ✨!\"","#A5D6FF"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"FlexibleContentPerChannelControl":{"summary":"Flexible content, per channel control","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"from\": {\n    \"senderPoolId\": \"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\"\n  },\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    }\n  ],\n  \"content\": {\n    \"modules\": [\n      {\n        \"rcs\": {\n          \"richCard\": {\n            \"standaloneCard\": {\n              \"cardContent\": {\n                \"title\": \"Your photo\",\n                \"description\": \"We hope you enjoyed the roller coaster!\",\n                \"media\": {\n                  \"contentInfo\": {\n                    \"fileUrl\": \"https://example.com/image.jpg\"\n                  }\n                },\n                \"suggestions\": [\n                  {\n                    \"reply\": {\n                      \"text\": \"Purchase 8x11 Print\",\n                      \"postbackData\": \"print_8x11\"\n                    }\n                  },\n                  {\n                    \"reply\": {\n                      \"text\": \"Purchase Digital Copy\",\n                      \"postbackData\": \"digitalCopy\"\n                    }\n                  },\n                  {\n                    \"reply\": {\n                      \"text\": \"Request Help\",\n                      \"postbackData\": \"requestHelp\"\n                    }\n                  }\n                ]\n              }\n            }\n          }\n        }\n      },\n      {\n        \"sms\": {\n          \"text\": \"We hope you enjoyed the roller coaster! Here's your photo!\",\n          \"media\": [\n            {\n              \"url\": \"https://example.com/image.jpg\"\n            }\n          ]\n        }\n      }\n    ]\n  }\n}","meta":"","code":"{\n  \"from\": {\n    \"senderPoolId\": \"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\"\n  },\n  \"to\": [\n    {\n      \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n      \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n    }\n  ],\n  \"content\": {\n    \"modules\": [\n      {\n        \"rcs\": {\n          \"richCard\": {\n            \"standaloneCard\": {\n              \"cardContent\": {\n                \"title\": \"Your photo\",\n                \"description\": \"We hope you enjoyed the roller coaster!\",\n                \"media\": {\n                  \"contentInfo\": {\n                    \"fileUrl\": \"https://example.com/image.jpg\"\n                  }\n                },\n                \"suggestions\": [\n                  {\n                    \"reply\": {\n                      \"text\": \"Purchase 8x11 Print\",\n                      \"postbackData\": \"print_8x11\"\n                    }\n                  },\n                  {\n                    \"reply\": {\n                      \"text\": \"Purchase Digital Copy\",\n                      \"postbackData\": \"digitalCopy\"\n                    }\n                  },\n                  {\n                    \"reply\": {\n                      \"text\": \"Request Help\",\n                      \"postbackData\": \"requestHelp\"\n                    }\n                  }\n                ]\n              }\n            }\n          }\n        }\n      },\n      {\n        \"sms\": {\n          \"text\": \"We hope you enjoyed the roller coaster! Here's your photo!\",\n          \"media\": [\n            {\n              \"url\": \"https://example.com/image.jpg\"\n            }\n          ]\n        }\n      }\n    ]\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"senderPoolId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n  ",["},","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"modules\"","#7EE787"],[": [","#C9D1D9"],"\n      ",["{","#C9D1D9"],"\n        ",["\"rcs\"","#7EE787"],[": {","#C9D1D9"],"\n          ",["\"richCard\"","#7EE787"],[": {","#C9D1D9"],"\n            ",["\"standaloneCard\"","#7EE787"],[": {","#C9D1D9"],"\n              ",["\"cardContent\"","#7EE787"],[": {","#C9D1D9"],"\n                ",["\"title\"","#7EE787"],[":","#C9D1D9"]," ",["\"Your photo\"","#A5D6FF"],[",","#C9D1D9"],"\n                ",["\"description\"","#7EE787"],[":","#C9D1D9"]," ",["\"We hope you enjoyed the roller coaster!\"","#A5D6FF"],[",","#C9D1D9"],"\n                ",["\"media\"","#7EE787"],[": {","#C9D1D9"],"\n                  ",["\"contentInfo\"","#7EE787"],[": {","#C9D1D9"],"\n                    ",["\"fileUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"https://example.com/image.jpg\"","#A5D6FF"],"\n                  ",["}","#C9D1D9"],"\n                ",["},","#C9D1D9"],"\n                ",["\"suggestions\"","#7EE787"],[": [","#C9D1D9"],"\n                  ",["{","#C9D1D9"],"\n                    ",["\"reply\"","#7EE787"],[": {","#C9D1D9"],"\n                      ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Purchase 8x11 Print\"","#A5D6FF"],[",","#C9D1D9"],"\n                      ",["\"postbackData\"","#7EE787"],[":","#C9D1D9"]," ",["\"print_8x11\"","#A5D6FF"],"\n                    ",["}","#C9D1D9"],"\n                  ",["},","#C9D1D9"],"\n                  ",["{","#C9D1D9"],"\n                    ",["\"reply\"","#7EE787"],[": {","#C9D1D9"],"\n                      ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Purchase Digital Copy\"","#A5D6FF"],[",","#C9D1D9"],"\n                      ",["\"postbackData\"","#7EE787"],[":","#C9D1D9"]," ",["\"digitalCopy\"","#A5D6FF"],"\n                    ",["}","#C9D1D9"],"\n                  ",["},","#C9D1D9"],"\n                  ",["{","#C9D1D9"],"\n                    ",["\"reply\"","#7EE787"],[": {","#C9D1D9"],"\n                      ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Request Help\"","#A5D6FF"],[",","#C9D1D9"],"\n                      ",["\"postbackData\"","#7EE787"],[":","#C9D1D9"]," ",["\"requestHelp\"","#A5D6FF"],"\n                    ",["}","#C9D1D9"],"\n                  ",["}","#C9D1D9"],"\n                ",["]","#C9D1D9"],"\n              ",["}","#C9D1D9"],"\n            ",["}","#C9D1D9"],"\n          ",["}","#C9D1D9"],"\n        ",["}","#C9D1D9"],"\n      ",["},","#C9D1D9"],"\n      ",["{","#C9D1D9"],"\n        ",["\"sms\"","#7EE787"],[": {","#C9D1D9"],"\n          ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"We hope you enjoyed the roller coaster! Here's your photo!\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"media\"","#7EE787"],[": [","#C9D1D9"],"\n            ",["{","#C9D1D9"],"\n              ",["\"url\"","#7EE787"],[":","#C9D1D9"]," ",["\"https://example.com/image.jpg\"","#A5D6FF"],"\n            ",["}","#C9D1D9"],"\n          ",["]","#C9D1D9"],"\n        ",["}","#C9D1D9"],"\n      ",["}","#C9D1D9"],"\n    ",["]","#C9D1D9"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}},"encodingType":"application/json","conditionalParameterMap":{}}
```

### Responses

<OperationResponse responses={[{"responseCode":"202","schema":{"x-twilio-version":1,"description":"The request was accepted and an Operation was created to track its progress. The response body contains the ID and link to the Operation resource.","headers":{"Location":{"x-twilio-version":1,"schema":{"x-twilio-version":1,"type":"string","format":"uri","description":"The location (uri) of the Operation resource identified by `operationId`.","refName":"OperationLocation","modelName":""},"description":"The location (uri) of the Operation resource.\nIssue a GET request to this URI to retrieve the status of the Operation."}},"content":{"application/json":{"schema":{"title":"Http202ResponseWithOperationBody","description":"Response body for HTTP 202 response with Operation data.","type":"object","required":["operationId","operationLocation"],"refName":"Http202ResponseWithOperationBody","modelName":"Http202ResponseWithOperationBody","properties":{"operationId":{"x-twilio-version":1,"description":"The Operation ID is an identifier that can be used to correlate all of the\nresources created in a request.\n\nIssue a GET request to the resource list location, using the Operation ID as a query parameter\nto retrieve the resources that correlate with the Operation.","title":"OperationId","type":"string","pattern":"^comms_operation_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_operation_01h9krwprkeee8fzqspvwy6nq8","refName":"OperationId","modelName":""},"operationLocation":{"x-twilio-version":1,"type":"string","format":"uri","description":"The location (uri) of the Operation resource identified by `operationId`.","refName":"OperationLocation","modelName":""}}},"examples":{"SendMessagesAccepted":{"summary":"Send Messages request accepted","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"operationId\": \"comms_operation_01h9krwprkeee8fzqspvwy6nq8\",\n  \"operationLocation\": \"https://comms.twilio.com/v1/Messages/Operations/comms_operation_01h9krwprkeee8fzqspvwy6nq8\"\n}","meta":"","code":"{\n  \"operationId\": \"comms_operation_01h9krwprkeee8fzqspvwy6nq8\",\n  \"operationLocation\": \"https://comms.twilio.com/v1/Messages/Operations/comms_operation_01h9krwprkeee8fzqspvwy6nq8\"\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"operationId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_operation_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n  ",["\"operationLocation\"","#7EE787"],[":","#C9D1D9"]," ",["\"https://comms.twilio.com/v1/Messages/Operations/comms_operation_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}}}}}},{"responseCode":"400","schema":{"x-twilio-version":1,"description":"This error indicates that the request content was malformed or ambiguous.","content":{"application/json":{"schema":{"x-twilio-version":1,"title":"TwilioErrors","type":"object","required":["errors"],"example":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21614","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The address specified in the request is not a valid phone number.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21614\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.to[0].address\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21617","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The concatenated message text exceeds the 1600 character limit\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21617\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.content.text\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}},"refName":"TwilioErrors","modelName":"TwilioErrors","properties":{"errors":{"description":"A list of one or more Twilio API errors.","type":"array","items":{"x-twilio-version":1,"title":"TwilioError","type":"object","description":"A generic error object communicating client and server side API errors.","required":["code","message","infoUrl","context"],"example":{"code":21614,"message":"The address specified in the request is not a valid phone number.","infoUrl":"/docs/api/errors/21614","context":"$.to[0].address"},"refName":"TwilioError","modelName":"TwilioError","properties":{"code":{"type":"integer","description":"The Twilio error code."},"message":{"type":"string","description":"A human readable message describing the error."},"infoUrl":{"type":"string","format":"uri","description":"A URL to a [Twilio error directory](/docs/api/errors) page with more information about the error code."},"context":{"description":"A JSON path that identifies the errant field.","type":["string","null"]}}}}}},"examples":{"ResourceNotFound":{"summary":"Resource not found","value":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 20404,\n      \"message\": \"Not Found\",\n      \"infoUrl\": \"/docs/api/errors/20404\",\n      \"context\": \"null\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 20404,\n      \"message\": \"Not Found\",\n      \"infoUrl\": \"/docs/api/errors/20404\",\n      \"context\": \"null\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["20404","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"Not Found\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/20404\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"null\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}}}},"refName":"#/components/responses/Http400Response","modelName":"__components_responses_Http400Response"}},{"responseCode":"429","schema":{"x-twilio-version":1,"description":"This error indicates that you have sent too many requests to the API. You should retry according to the `Retry-After` response header.","content":{"application/json":{"schema":{"x-twilio-version":1,"title":"TwilioErrors","type":"object","required":["errors"],"example":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21614","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The address specified in the request is not a valid phone number.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21614\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.to[0].address\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21617","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The concatenated message text exceeds the 1600 character limit\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21617\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.content.text\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}},"refName":"TwilioErrors","modelName":"TwilioErrors","properties":{"errors":{"description":"A list of one or more Twilio API errors.","type":"array","items":{"x-twilio-version":1,"title":"TwilioError","type":"object","description":"A generic error object communicating client and server side API errors.","required":["code","message","infoUrl","context"],"example":{"code":21614,"message":"The address specified in the request is not a valid phone number.","infoUrl":"/docs/api/errors/21614","context":"$.to[0].address"},"refName":"TwilioError","modelName":"TwilioError","properties":{"code":{"type":"integer","description":"The Twilio error code."},"message":{"type":"string","description":"A human readable message describing the error."},"infoUrl":{"type":"string","format":"uri","description":"A URL to a [Twilio error directory](/docs/api/errors) page with more information about the error code."},"context":{"description":"A JSON path that identifies the errant field.","type":["string","null"]}}}}}},"examples":{"TooManyRequests":{"summary":"Too Many Requests","value":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 20429,\n      \"message\": \"Too many requests. Please retry according to the Retry-After response header.\",\n      \"infoUrl\": \"/docs/api/errors/20429\",\n      \"context\": \"null\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 20429,\n      \"message\": \"Too many requests. Please retry according to the Retry-After response header.\",\n      \"infoUrl\": \"/docs/api/errors/20429\",\n      \"context\": \"null\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["20429","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"Too many requests. Please retry according to the Retry-After response header.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/20429\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"null\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}}}},"headers":{"Retry-After":{"schema":{"type":"string"},"description":"The amount of time in seconds that the customer should wait before issuing a new request towards the API."}},"refName":"#/components/responses/Http429Response","modelName":"__components_responses_Http429Response"}},{"responseCode":"500","schema":{"x-twilio-version":1,"description":"This error indicates that the Twilio API is experiencing server-side issues. The request should not be retried.","content":{"application/json":{"schema":{"x-twilio-version":1,"title":"TwilioErrors","type":"object","required":["errors"],"example":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21614","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The address specified in the request is not a valid phone number.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21614\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.to[0].address\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21617","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The concatenated message text exceeds the 1600 character limit\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21617\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.content.text\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}},"refName":"TwilioErrors","modelName":"TwilioErrors","properties":{"errors":{"description":"A list of one or more Twilio API errors.","type":"array","items":{"x-twilio-version":1,"title":"TwilioError","type":"object","description":"A generic error object communicating client and server side API errors.","required":["code","message","infoUrl","context"],"example":{"code":21614,"message":"The address specified in the request is not a valid phone number.","infoUrl":"/docs/api/errors/21614","context":"$.to[0].address"},"refName":"TwilioError","modelName":"TwilioError","properties":{"code":{"type":"integer","description":"The Twilio error code."},"message":{"type":"string","description":"A human readable message describing the error."},"infoUrl":{"type":"string","format":"uri","description":"A URL to a [Twilio error directory](/docs/api/errors) page with more information about the error code."},"context":{"description":"A JSON path that identifies the errant field.","type":["string","null"]}}}}}},"examples":{"InternalServerError":{"summary":"Internal Server Error","value":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 20500,\n      \"message\": \"Internal server error.\",\n      \"infoUrl\": \"/docs/api/errors/20500\",\n      \"context\": \"null\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 20500,\n      \"message\": \"Internal server error.\",\n      \"infoUrl\": \"/docs/api/errors/20500\",\n      \"context\": \"null\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["20500","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"Internal server error.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/20500\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"null\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}}}},"refName":"#/components/responses/Http500Response","modelName":"__components_responses_Http500Response"}},{"responseCode":"503","schema":{"x-twilio-version":1,"description":"This error indicates that the Twilio API is temporarily unavailable.  You should retry according to the `Retry-After` response header.","content":{"application/json":{"schema":{"x-twilio-version":1,"title":"TwilioErrors","type":"object","required":["errors"],"example":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21614","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The address specified in the request is not a valid phone number.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21614\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.to[0].address\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21617","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The concatenated message text exceeds the 1600 character limit\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21617\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.content.text\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}},"refName":"TwilioErrors","modelName":"TwilioErrors","properties":{"errors":{"description":"A list of one or more Twilio API errors.","type":"array","items":{"x-twilio-version":1,"title":"TwilioError","type":"object","description":"A generic error object communicating client and server side API errors.","required":["code","message","infoUrl","context"],"example":{"code":21614,"message":"The address specified in the request is not a valid phone number.","infoUrl":"/docs/api/errors/21614","context":"$.to[0].address"},"refName":"TwilioError","modelName":"TwilioError","properties":{"code":{"type":"integer","description":"The Twilio error code."},"message":{"type":"string","description":"A human readable message describing the error."},"infoUrl":{"type":"string","format":"uri","description":"A URL to a [Twilio error directory](/docs/api/errors) page with more information about the error code."},"context":{"description":"A JSON path that identifies the errant field.","type":["string","null"]}}}}}},"examples":{"ServiceUnavailable":{"summary":"Service Unavailable","value":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 20503,\n      \"message\": \"Service unavailable.\",\n      \"infoUrl\": \"/docs/api/errors/20503\",\n      \"context\": \"null\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 20503,\n      \"message\": \"Service unavailable.\",\n      \"infoUrl\": \"/docs/api/errors/20503\",\n      \"context\": \"null\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["20503","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"Service unavailable.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/20503\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"null\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}}}},"headers":{"Retry-After":{"schema":{"type":"string"},"description":"The amount of time in seconds that the customer should wait before issuing a new request towards the API."}},"refName":"#/components/responses/Http503Response","modelName":"__components_responses_Http503Response"}}]} path="https://comms.twilio.com/v1/Messages" method="post" specType="comms" />

Send a basic SMS

```ts
import { TwilioClient } from "twilio-comms";

async function main() {
    const client = new TwilioClient({
        accountId: "TWILIO_ACCOUNT_SID",
        authToken: "TWILIO_AUTH_TOKEN",
    });
    await client.messages.send({
        to: [
            {
                address: "+12065558844",
                channel: "PHONE",
            },
        ],
        content: {
            text: "Hello, World!",
        },
        from: {
            address: "+14153901002",
            channel: "SMS",
        },
    });
}
main();
```

```py
from twilio_comms import TwilioComms

client = TwilioComms(
    account_id="TWILIO_ACCOUNT_SID",
    auth_token="TWILIO_AUTH_TOKEN",
)

client.messages.send(
    to=[
        {
            "address": "+12065558844",
            "channel": "PHONE"
        }
    ],
    content={
        "text": "Hello, World!"
    },
    from_={
        "address": "+14153901002",
        "channel": "SMS"
    },
)
```

```cs
using Twilio.Comms;
using System.Threading.Tasks;
using System.Collections.Generic;
using OneOf;

public partial class Examples
{
    public async Task Example() {
        var client = new TwilioComms(
            accountId: "TWILIO_ACCOUNT_SID",
            authToken: "TWILIO_AUTH_TOKEN"
        );

        await client.Messages.SendAsync(
            new MessagesSendRequest {
                To = new List<OneOf<MessagesSendRequestToItemAddress, MessagesSendRequestToItemAddresses, MessagesSendRequestToItemMemoryStoreId>>(){
                    new MessagesSendRequestToItemAddress {
                        Address = "+12065558844",
                        Channel = MessageAddressChannel.Phone
                    },
                }
                ,
                Content = new MessageContentTextWithMedia {
                    Text = "Hello, World!"
                },
                From = new MessageAddressSender {
                    Address = "+14153901002",
                    Channel = MessageSenderChannel.Sms
                }
            }
        );
    }

}
```

```java
package com.example.usage;

import com.twilio.sdk.TwilioComms;
import com.twilio.sdk.resources.messages.requests.MessagesSendRequest;
import com.twilio.sdk.resources.messages.types.MessagesSendRequestContent;
import com.twilio.sdk.resources.messages.types.MessagesSendRequestFrom;
import com.twilio.sdk.resources.messages.types.MessagesSendRequestToItem;
import com.twilio.sdk.resources.messages.types.MessagesSendRequestToItemAddress;
import com.twilio.sdk.types.MessageAddressChannel;
import com.twilio.sdk.types.MessageAddressSender;
import com.twilio.sdk.types.MessageContentTextWithMedia;
import com.twilio.sdk.types.MessageSenderChannel;
import java.util.Arrays;
import java.util.Optional;

public class Example {
    public static void main(String[] args) {
        TwilioComms client = TwilioComms
            .builder()
            .credentials("TWILIO_ACCOUNT_SID", "TWILIO_AUTH_TOKEN")
            .build();

        client.messages().send(
            MessagesSendRequest
                .builder()
                .content(
                    MessagesSendRequestContent.of(
                        MessageContentTextWithMedia
                            .builder()
                            .text(Optional.of("Hello, World!"))
                            .build()
                    )
                )
                .to(
                    Arrays.asList(
                        MessagesSendRequestToItem.of(
                            MessagesSendRequestToItemAddress
                                .builder()
                                .address("+12065558844")
                                .channel(MessageAddressChannel.PHONE)
                                .build()
                        )
                    )
                )
                .from(
                    MessagesSendRequestFrom.of(
                        MessageAddressSender
                            .builder()
                            .address("+14153901002")
                            .channel(MessageSenderChannel.SMS)
                            .build()
                    )
                )
                .build()
        );
    }
}
```

```go
package example

import (
    context "context"

    twiliocomms "github.com/twilio/twilio-comms-go/twilio"
    client "github.com/twilio/twilio-comms-go/twilio/client"
    option "github.com/twilio/twilio-comms-go/twilio/option"
)

func do() {
    client := client.NewWithOptions(
        option.WithBasicAuth(
            "TWILIO_ACCOUNT_SID",
            "TWILIO_AUTH_TOKEN",
        ),
    )
    request := &twiliocomms.MessagesSendRequest{
        To: []*twiliocomms.MessagesSendRequestToItem{
            &twiliocomms.MessagesSendRequestToItem{
                MessagesSendRequestToItemAddress: &twiliocomms.MessagesSendRequestToItemAddress{
                    Address: "+12065558844",
                    Channel: twiliocomms.MessageAddressChannelPhone,
                },
            },
        },
        Content: &twiliocomms.MessagesSendRequestContent{
            MessageContentTextWithMedia: &twiliocomms.MessageContentTextWithMedia{
                Text: twiliocomms.String(
                    "Hello, World!",
                ),
            },
        },
        From: &twiliocomms.MessagesSendRequestFrom{
            MessageAddressSender: &twiliocomms.MessageAddressSender{
                Address: "+14153901002",
                Channel: twiliocomms.MessageSenderChannelSms,
            },
        },
    }
    client.Messages.Send(
        context.TODO(),
        request,
    )
}
```

```php
<?php

namespace Example;

use Twilio\Comms\TwilioComms;
use Twilio\Comms\Messages\Requests\MessagesSendRequest;
use Twilio\Comms\Messages\Types\MessagesSendRequestToItemAddress;
use Twilio\Comms\Types\MessageAddressChannel;
use Twilio\Comms\Types\MessageContentTextWithMedia;
use Twilio\Comms\Types\MessageAddressSender;
use Twilio\Comms\Types\MessageSenderChannel;

$client = new TwilioComms(
    accountId: 'TWILIO_ACCOUNT_SID',
    authToken: 'TWILIO_AUTH_TOKEN',
);
$client->messages->send(
    new MessagesSendRequest([
        'to' => [
            new MessagesSendRequestToItemAddress([
                'address' => '+12065558844',
                'channel' => MessageAddressChannel::Phone->value,
            ]),
        ],
        'content' => new MessageContentTextWithMedia([
            'text' => 'Hello, World!',
        ]),
        'from' => new MessageAddressSender([
            'address' => '+14153901002',
            'channel' => MessageSenderChannel::Sms->value,
        ]),
    ]),
);
```

```rb
require "twiliocomms"

client = TwilioComms::Client.new(
  account_id: "TWILIO_ACCOUNT_SID",
  auth_token: "TWILIO_AUTH_TOKEN"
)

client.messages.send_(
  to: [{
    address: "+12065558844",
    channel: "PHONE"
  }],
  content: {
    text: "Hello, World!"
  },
  from: {
    address: "+14153901002",
    channel: "SMS"
  }
)
```

```bash
curl -X POST "https://comms.twilio.com/v1/Messages" \
--header "Content-Type: application/json" \
--data "{
    "to": [
        {
            "address": "+12065558844",
            "channel": "PHONE"
        }
    ],
    "content": {
        "text": "Hello, World!"
    },
    "from": {
        "address": "+14153901002",
        "channel": "SMS"
    }
}" \
-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
```

## Fetch a Message

`GET https://comms.twilio.com/v1/Messages/{messageId}`

Retrieve a Message by its identifier. The response includes full details about the sender, recipients, delivery status, message content, and all delivery attempts.

### Path parameters

```json
[{"schema":{"x-twilio-version":1,"description":"A reference to a Message.","title":"MessageId","type":"string","pattern":"^comms_message_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_message_01h9krwprkeee8fzqspvwy6nq8","refName":"MessageId","modelName":""},"name":"messageId","in":"path","required":true,"x-twilio-version":1}]
```

### Responses

<OperationResponse responses={[{"responseCode":"200","schema":{"description":"OK","content":{"application/json":{"schema":{"title":"Message","description":"A Message is the atomic unit of communication that may be used across all available channels.","type":"object","x-twilio-version":1,"required":["attempts","content","createdAt","deletedAt","from","id","related","scheduledFor","status","tags","to","updatedAt"],"refName":["MessageBase","MessageContentResolved"],"modelName":["MessageBase","MessageContentResolved"],"properties":{"id":{"x-twilio-version":1,"description":"A reference to a Message.","title":"MessageId","type":"string","pattern":"^comms_message_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_message_01h9krwprkeee8fzqspvwy6nq8","refName":"MessageId","modelName":""},"from":{"title":"MessageFrom","description":"The sender of the Message.","oneOf":[{"x-twilio-version":1,"title":"MessageSender","description":"A Message Sender is a person or entity whose communication identity is hosted by Twilio.","type":"object","properties":{"address":{"description":"The identifier within a channel address space for a Sender (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageSenderChannel","description":"The channels available for Message entity.","type":"string","enum":["SMS","RCS","WHATSAPP"],"example":"SMS","refName":"MessageSenderChannel","modelName":"MessageSenderChannel"},"senderId":{"x-twilio-version":1,"description":"A reference to a Sender.","title":"SenderId","type":"string","pattern":"^comms_sender_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_sender_01h9krwprkeee8fzqspvwy6nq8","refName":"SenderId","modelName":""}},"required":["address","channel","senderId"],"additionalProperties":false,"refName":"MessageSender","modelName":"MessageSender"},{"x-twilio-version":1,"title":"MessageSenderAndPool","description":"A Message Sender is a person or entity whose communication identity is hosted by Twilio. The `senderPoolId` field indicates the pool for which the `Sender` was resolved from.","type":"object","properties":{"address":{"description":"The identifier within a channel address space for a Sender (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageSenderChannel","description":"The channels available for Message entity.","type":"string","enum":["SMS","RCS","WHATSAPP"],"example":"SMS","refName":"MessageSenderChannel","modelName":"MessageSenderChannel"},"senderId":{"x-twilio-version":1,"description":"A reference to a Sender.","title":"SenderId","type":"string","pattern":"^comms_sender_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_sender_01h9krwprkeee8fzqspvwy6nq8","refName":"SenderId","modelName":""},"senderPoolId":{"x-twilio-version":1,"description":"A reference to a SenderPool.","title":"SenderPoolId","type":"string","pattern":"^comms_senderpool_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8","refName":"SenderPoolId","modelName":""}},"required":["address","channel","senderId","senderPoolId"],"refName":"MessageSenderAndPool","modelName":"MessageSenderAndPool"},{"x-twilio-version":1,"title":"MessageProfile","description":"A Message Profile is a person or entity that is not hosted by Twilio.","type":"object","properties":{"address":{"description":"The identifier within a channel address space for a Profile (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageProfileChannel","description":"The channels available for specifying a Message Profile.\n\n- `PHONE`: Includes SMS, MMS, and RCS, pair it with a phone number in the `address` field.\n\n- `WHATSAPP`: WhatsApp channel, pair it with a WhatsApp number in the `address` field.","type":"string","enum":["PHONE","WHATSAPP"],"example":"PHONE","refName":"MessageProfileChannel","modelName":"MessageProfileChannel"},"profileId":{"x-twilio-version":1,"title":"ProfileId","description":"A reference to a Profile","type":"string","pattern":"^mem_profile_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_profile_01h9krwprkeee8fzqspvwy6nq8","refName":"ProfileId","modelName":""},"memoryStoreId":{"x-twilio-version":1,"title":"MemoryStoreId","description":"A reference to a Memory Store","type":"string","pattern":"^mem_store_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_store_00000000000000000000000000","refName":"MemoryStoreId","modelName":""}},"required":["address","channel","profileId","memoryStoreId"],"additionalProperties":false,"refName":"MessageProfile","modelName":"MessageProfile"},{"x-twilio-version":1,"title":"MessageAddress","description":"A messaging address and channel.","type":"object","properties":{"address":{"type":"string","description":"The communication address within a Messaging channel, such as a phone number."},"channel":{"x-twilio-version":1,"title":"MessageAddressChannel","description":"The corresponding channel name for a Message address.\n\n- `PHONE`: Includes SMS, MMS, and RCS, pair it with a phone number in the `address` field.\n\n- `WHATSAPP`: WhatsApp channel, pair it with a WhatsApp number in the `address` field.","type":"string","enum":["PHONE","WHATSAPP"],"example":"PHONE","refName":"MessageAddressChannel","modelName":"MessageAddressChannel"}},"required":["address","channel"],"additionalProperties":false,"refName":"MessageAddress","modelName":"MessageAddress"}]},"to":{"title":"MessageRecipients","description":"The list of recipient(s) that the Message was directed to. \n\n- This list is always of size 1, except for Group Messaging usage, \nwhere the number of recipients plus the sender will match the group size.","type":"array","items":{"oneOf":[{"x-twilio-version":1,"title":"MessageAddress","description":"A messaging address and channel.","type":"object","properties":{"address":{"type":"string","description":"The communication address within a Messaging channel, such as a phone number."},"channel":{"x-twilio-version":1,"title":"MessageAddressChannel","description":"The corresponding channel name for a Message address.\n\n- `PHONE`: Includes SMS, MMS, and RCS, pair it with a phone number in the `address` field.\n\n- `WHATSAPP`: WhatsApp channel, pair it with a WhatsApp number in the `address` field.","type":"string","enum":["PHONE","WHATSAPP"],"example":"PHONE","refName":"MessageAddressChannel","modelName":"MessageAddressChannel"}},"required":["address","channel"],"additionalProperties":false,"refName":"MessageAddress","modelName":"MessageAddress"},{"x-twilio-version":1,"title":"MessageSender","description":"A Message Sender is a person or entity whose communication identity is hosted by Twilio.","type":"object","properties":{"address":{"description":"The identifier within a channel address space for a Sender (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageSenderChannel","description":"The channels available for Message entity.","type":"string","enum":["SMS","RCS","WHATSAPP"],"example":"SMS","refName":"MessageSenderChannel","modelName":"MessageSenderChannel"},"senderId":{"x-twilio-version":1,"description":"A reference to a Sender.","title":"SenderId","type":"string","pattern":"^comms_sender_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_sender_01h9krwprkeee8fzqspvwy6nq8","refName":"SenderId","modelName":""}},"required":["address","channel","senderId"],"additionalProperties":false,"refName":"MessageSender","modelName":"MessageSender"},{"x-twilio-version":1,"title":"MessageProfile","description":"A Message Profile is a person or entity that is not hosted by Twilio.","type":"object","properties":{"address":{"description":"The identifier within a channel address space for a Profile (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageProfileChannel","description":"The channels available for specifying a Message Profile.\n\n- `PHONE`: Includes SMS, MMS, and RCS, pair it with a phone number in the `address` field.\n\n- `WHATSAPP`: WhatsApp channel, pair it with a WhatsApp number in the `address` field.","type":"string","enum":["PHONE","WHATSAPP"],"example":"PHONE","refName":"MessageProfileChannel","modelName":"MessageProfileChannel"},"profileId":{"x-twilio-version":1,"title":"ProfileId","description":"A reference to a Profile","type":"string","pattern":"^mem_profile_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_profile_01h9krwprkeee8fzqspvwy6nq8","refName":"ProfileId","modelName":""},"memoryStoreId":{"x-twilio-version":1,"title":"MemoryStoreId","description":"A reference to a Memory Store","type":"string","pattern":"^mem_store_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_store_00000000000000000000000000","refName":"MemoryStoreId","modelName":""}},"required":["address","channel","profileId","memoryStoreId"],"additionalProperties":false,"refName":"MessageProfile","modelName":"MessageProfile"}]}},"status":{"x-twilio-version":1,"title":"MessageStatus","description":"The status of a `Message`. The status can be one of the following:\n- `SCHEDULED` The `Message` is scheduled to be sent by\n  Twilio in the future.\n\n- `QUEUED` The `Message` is queued in Twilio for sending.\n- `SENT` The `Message` has been sent by Twilio.\n- `DELIVERED` The `Message` has been successfully\n    delivered to the recipient.\n\n- `READ` The `Message` has been read by the recipient.\n- `UNDELIVERED` The `Message` was successfully sent by Twilio\n  but have not been delivered to the recipient.\n\n- `FAILED` The `Message` processing failed inside Twilio.\n  Use `GET /Messages/Operations/{operationId}/Errors` for more details.\n\n- `CANCELED` The `Message` was canceled via API request.\n- `GROUP` The `Message` is part of a group communication.\n  To get the status for each Recipient of the group communication, use the `Receipts` endpoint\n  e.g. GET `/Messages/comms_message_01h2xcejqtf2nbrexx3vqjhp41/Receipts`\n\n- `INBOUND` The `Message` was received by Twilio from an external source.","type":"string","enum":["QUEUED","SENT","SCHEDULED","DELIVERED","READ","FAILED","UNDELIVERED","CANCELED","GROUP","INBOUND"],"refName":"MessageStatus","modelName":"MessageStatus"},"related":{"title":"MessageRelatedResources","description":"A list of resources that are associated with the Message.","type":"array","items":{"x-twilio-version":1,"title":"RelatedResource","type":"object","description":"A reference to a related resource.","refName":"RelatedResource","modelName":"RelatedResource","properties":{"name":{"type":"string","description":"The name of the related resource.","enum":["EMAIL","MESSAGE","PUSH_NOTIFICATION","SESSION","MEDIA","SENDER","SENDER_POOL","OPERATION","ENGAGEMENT","CREDENTIAL","PUSH_NOTIFICATION_APP","PUSH_NOTIFICATION_USER","DEVICE_REGISTRATION"]},"id":{"description":"The identifier of the related resource.","type":"string"},"uri":{"description":"The path to the related resource.","type":"string"}}}},"tags":{"x-twilio-version":1,"title":"Tags","type":"object","description":"Custom metadata in the form of key-value pairs.\nMaximum size of a tag key is 128 characters.\nMaximum size of a tag value is 256 characters.\nThere can be a maximum of 10 key-value pairs.\n\nThis field can be templated with [Liquid](https://shopify.github.io/liquid/).\nSpecify `variables` with each recipient for personalization.","maxProperties":10,"propertyNames":{"type":"string","maxLength":128,"pattern":"^[a-zA-Z0-9._~-]+$"},"refName":"Tags","modelName":"","additionalProperties":{"type":"string","maxLength":256,"pattern":"^[a-zA-Z0-9._~-]+$"}},"createdAt":{"description":"The date and time when the entity was created.","type":"string","format":"date-time"},"updatedAt":{"description":"The date and time when the entity was last updated.","type":"string","format":"date-time"},"scheduledFor":{"description":"The scheduled send time of the `Message`.\nThis field is only present if the `Message` was created with a `schedule`.","type":["string","null"]},"content":{"description":"The resolved content of the Message.","oneOf":[{"x-twilio-version":1,"title":"MessageContentTextWithMediaResolved","type":"object","properties":{"text":{"type":"string","description":"A simple content string (formerly called 'body')."},"media":{"type":"array","description":"A list of Media objects (images, etc.) included in the Message.","items":{"oneOf":[{"x-twilio-version":1,"title":"Media","type":"object","description":"A document, image or other type of file attached to a message, email or push notification.","properties":{"fileName":{"type":"string","description":"The name of the media file."},"fileSize":{"type":"number","description":"The size of the media file in bytes."},"mimeType":{"x-twilio-version":1,"title":"MimeType","type":"string","example":"text/plain","default":"text/plain","description":"A MIME type (or \"media type\") identifies the type of data of an object.","refName":"MimeType","modelName":""},"contentReference":{"title":"MediaContentReference","type":"object","description":"The reference to the content of the media file.","properties":{"temporaryUrl":{"type":"string","description":"A temporary, expiring URL that can be used to access the media file.","format":"uri"},"expiresAt":{"type":"string","description":"The time at which the temporary URL expires.","format":"date-time"}}},"updatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"deletedAt":{"type":["string","null"],"format":"date-time"}},"required":["fileName","fileSize","mimeType","contentReference","updatedAt","createdAt"],"refName":"Media","modelName":"Media"},{"x-twilio-version":1,"title":"MediaUrl","type":"object","description":"A publicly accessible URL of a media file (image, etc.) to include in the message. The media file will be copied to Twilio's servers and then sent to the recipient.","properties":{"url":{"type":"string","minLength":1,"description":"The publicly accessible URL of the media file to copy.\n\nThis field can be templated with [Liquid](https://shopify.github.io/liquid/).\nSpecify `variables` with each recipient for personalization."}},"required":["url"],"refName":"MediaUrl","modelName":"MediaUrl"}]}}},"additionalProperties":false,"minProperties":1,"refName":"MessageContentTextWithMediaResolved","modelName":"MessageContentTextWithMediaResolved"},{"x-twilio-version":1,"title":"MessageContentTemplate","description":"A reference to a stored Content template  that can be used to generate content for a Message.","type":"object","properties":{"contentId":{"description":"A reference to a Content template.","x-twilio-version":1,"title":"ContentId","type":"string","pattern":"^HX[a-zA-Z0-9]{26,34}$","example":"HX78e8e67fc0246521490fb9907fd0c165","refName":"ContentId","modelName":""}},"required":["contentId"],"refName":"MessageContentTemplate","modelName":"MessageContentTemplate"},{"title":"MessageContentChannelModules","x-twilio-version":1,"description":"Define content with modules","type":"object","properties":{"modules":{"title":"MessageContentChannelModulesList","description":"A list of content `modules`.\n\nEach module targets a specific Message channel, allowing for different content to be sent\ndepending on the channel used for sending the Message.","type":"array","minItems":1,"maxItems":4,"items":{"title":"MessageContentChannelModule","description":"Content module.","type":"object","oneOf":[{"x-twilio-version":1,"title":"MessageContentModuleSms","description":"The `sms` (includes mms) content module for Messages.\nFor RCS use `MessageContentModuleRcs`.","type":"object","properties":{"sms":{"description":"The `sms` (includes mms) content module for Messages.","title":"MessageContentSms","x-twilio-version":1,"type":"object","minProperties":1,"refName":"MessageContentSms","modelName":"MessageContentSms","additionalProperties":false,"properties":{"text":{"type":"string","minLength":1,"description":"A simple content string (formerly called 'body').\n\nThis field can be templated with [Liquid](https://shopify.github.io/liquid/). Specify `variables` with each recipient for personalization."},"media":{"description":"A list of Media (images, etc.) to include in the message.\n\nIf this field is specified, Twilio will attempt to send the `Message` as an MMS.\n\nUse `MediaUrl` to supply links to media files with templated URLs, using [Liquid](https://shopify.github.io/liquid/).\n\nSpecify `variables` with each recipient for personalization.","x-twilio-version":1,"title":"ContentMediaInput","type":"array","refName":"ContentMediaInput","modelName":"ContentMediaInput","items":{"x-twilio-version":1,"title":"MediaUrl","type":"object","description":"A publicly accessible URL of a media file (image, etc.) to include in the message. The media file will be copied to Twilio's servers and then sent to the recipient.","required":["url"],"refName":"MediaUrl","modelName":"MediaUrl","properties":{"url":{"type":"string","minLength":1,"description":"The publicly accessible URL of the media file to copy.\n\nThis field can be templated with [Liquid](https://shopify.github.io/liquid/).\nSpecify `variables` with each recipient for personalization."}}}}}}},"required":["sms"],"refName":"MessageContentModuleSms","modelName":"MessageContentModuleSms"},{"x-twilio-version":1,"title":"MessageContentModuleRcs","description":"The RCS content.","type":"object","properties":{"rcs":{"title":"MessageContentRcs","description":"The RCS content, follows the RCS Business Messaging `SenderContentMessage` format.\nFor more information, see [RCS Business Messaging](https://developers.google.com/business-communications/rcs-business-messaging)","type":"object","oneOf":[{"title":"MessageContentModuleRcsText","description":"The RCS union Text content.","type":"object","properties":{"text":{"title":"MessageContentRcsText","description":"An RCS message simple text content.","type":"string","minLength":1},"suggestions":{"x-twilio-version":1,"title":"MessageContentRcsSuggestions","description":"A list of RCS suggestions to display. Maximum 11 suggestions.","type":"array","maxItems":11,"refName":"MessageContentRcsSuggestions","modelName":"MessageContentRcsSuggestions","items":{"oneOf":[{"x-twilio-version":1,"title":"MessageContentRcsSuggestedAction","description":"An RCS action suggestion.","type":"object","properties":{"action":{"title":"MessageContentRcsAction","description":"The RCS action to suggest.","type":"object","oneOf":[{"title":"MessageContentRcsSuggestedActionDial","type":"object","description":"A action item that when selected by the recipient, initiates a voice call using the native calling app on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionDialText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"dialAction":{"x-twilio-version":1,"title":"MessageContentRcsDialAction","description":"An RCS suggested action of type Dial.","type":"object","required":["phoneNumber"],"refName":"MessageContentRcsDialAction","modelName":"MessageContentRcsDialAction","properties":{"phoneNumber":{"type":"string","description":"The phone number to call when the action is triggered."}}}},"required":["text","postbackData","dialAction"]},{"title":"MessageContentRcsSuggestedActionOpenUrl","type":"object","description":"A action item, that when selected by the recipient, opens the provided `url` on the end-users device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionOpenUrlText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"openUrlAction":{"x-twilio-version":1,"title":"MessageContentRcsOpenUrlAction","description":"An RCS action of type Open Url.","type":"object","required":["url"],"refName":"MessageContentRcsOpenUrlAction","modelName":"MessageContentRcsOpenUrlAction","properties":{"url":{"title":"MessageContentRcsOpenUrlActionUrl","type":"string","description":"The url to open when the suggested action is selected."},"application":{"title":"MessageContentRcsOpenUrlActionApplication","type":"string","description":"The application to use when opening the URL.","enum":["BROWSER","WEBVIEW"]},"webviewViewMode":{"title":"MessageContentRcsOpenUrlActionWebviewViewMode","type":"string","description":"The view mode for the webview.\nRequired field (and only applicable) when application is `WEBVIEW`.","enum":["FULL","HALF","TALL"]}}}},"required":["text","postbackData","openUrlAction"]},{"title":"MessageContentRcsSuggestedActionViewLocation","type":"object","description":"An action item that when selected by the recipient, opens a map to display a location.","properties":{"text":{"title":"MessageContentRcsSuggestedActionViewLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"viewLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsViewLocationAction","description":"An RCS action that opens a map to display a location. Either latLong or query should be provided.","type":"object","minProperties":1,"refName":"MessageContentRcsViewLocationAction","modelName":"MessageContentRcsViewLocationAction","additionalProperties":false,"properties":{"latLong":{"x-twilio-version":1,"title":"MessageContentRcsLatLng","description":"A geographic coordinate (latitude and longitude).","type":"object","required":["latitude","longitude"],"refName":"MessageContentRcsLatLng","modelName":"MessageContentRcsLatLng","properties":{"latitude":{"type":"number","description":"The latitude in degrees. Must be in the range [-90.0, +90.0].","minimum":-90,"maximum":90},"longitude":{"type":"number","description":"The longitude in degrees. Must be in the range [-180.0, +180.0].","minimum":-180,"maximum":180}}},"label":{"type":"string","description":"The label of the pin dropped at the specified latLong."},"query":{"type":"string","description":"A query string for a location search. If specified instead of latLong, the device performs a location search centered on the user's current location. (Android Only)"}}}},"required":["text","postbackData","viewLocationAction"]},{"title":"MessageContentRcsSuggestedActionCreateCalendarEvent","type":"object","description":"An action item that when selected by the recipient, creates a calendar event on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionCreateCalendarEventText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"createCalendarEventAction":{"x-twilio-version":1,"title":"MessageContentRcsCreateCalendarEventAction","description":"An RCS action that creates a calendar event on the user's device.","type":"object","required":["startTime","endTime","title","description"],"refName":"MessageContentRcsCreateCalendarEventAction","modelName":"MessageContentRcsCreateCalendarEventAction","properties":{"startTime":{"type":"string","format":"date-time","description":"The start time of the calendar event."},"endTime":{"type":"string","format":"date-time","description":"The end time of the calendar event."},"title":{"type":"string","minLength":1,"description":"The title of the calendar event."},"description":{"type":"string","minLength":1,"description":"The description of the calendar event."}}}},"required":["text","postbackData","createCalendarEventAction"]},{"title":"MessageContentRcsSuggestedActionShareLocation","type":"object","description":"An action item that when selected by the recipient, opens the device's location chooser to share a location with the agent.","properties":{"text":{"title":"MessageContentRcsSuggestedActionShareLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"shareLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsShareLocationAction","description":"An RCS action that opens the device's location chooser, allowing the user to pick a location to send to the agent.","type":"object","refName":"MessageContentRcsShareLocationAction","modelName":"","additionalProperties":false}},"required":["text","postbackData","shareLocationAction"]}]}},"required":["action"],"refName":"MessageContentRcsSuggestedAction","modelName":"MessageContentRcsSuggestedAction"},{"x-twilio-version":1,"title":"MessageContentRcsSuggestedReply","type":"object","description":"An RCS reply suggestion.","properties":{"reply":{"title":"MessageContentRcsReply","description":"The RCS reply to suggest.","type":"object","required":["text","postbackData"],"properties":{"text":{"title":"MessageContentRcsReplyText","description":"The text to display for the suggested reply.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""}}}},"required":["reply"],"refName":"MessageContentRcsSuggestedReply","modelName":"MessageContentRcsSuggestedReply"}]}}},"required":["text"]},{"title":"MessageContentModuleRcsContentInfo","type":"object","description":"The RCS union Content Info content.","properties":{"contentInfo":{"x-twilio-version":1,"title":"MessageContentRcsContentInfo","description":"An RCS Content Info.","type":"object","required":["fileUrl"],"refName":"MessageContentRcsContentInfo","modelName":"MessageContentRcsContentInfo","properties":{"fileUrl":{"type":"string","description":"The URL of the media file."},"thumbnailUrl":{"type":"string","description":"The URL of the thumbnail image for the media."},"forceRefresh":{"type":"boolean","default":false,"description":"If set to true, the content is fetched from the URL even if cached content is available. Forces a cache refresh for the media content."}}},"suggestions":{"x-twilio-version":1,"title":"MessageContentRcsSuggestions","description":"A list of RCS suggestions to display. Maximum 11 suggestions.","type":"array","maxItems":11,"refName":"MessageContentRcsSuggestions","modelName":"MessageContentRcsSuggestions","items":{"oneOf":[{"x-twilio-version":1,"title":"MessageContentRcsSuggestedAction","description":"An RCS action suggestion.","type":"object","properties":{"action":{"title":"MessageContentRcsAction","description":"The RCS action to suggest.","type":"object","oneOf":[{"title":"MessageContentRcsSuggestedActionDial","type":"object","description":"A action item that when selected by the recipient, initiates a voice call using the native calling app on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionDialText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"dialAction":{"x-twilio-version":1,"title":"MessageContentRcsDialAction","description":"An RCS suggested action of type Dial.","type":"object","required":["phoneNumber"],"refName":"MessageContentRcsDialAction","modelName":"MessageContentRcsDialAction","properties":{"phoneNumber":{"type":"string","description":"The phone number to call when the action is triggered."}}}},"required":["text","postbackData","dialAction"]},{"title":"MessageContentRcsSuggestedActionOpenUrl","type":"object","description":"A action item, that when selected by the recipient, opens the provided `url` on the end-users device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionOpenUrlText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"openUrlAction":{"x-twilio-version":1,"title":"MessageContentRcsOpenUrlAction","description":"An RCS action of type Open Url.","type":"object","required":["url"],"refName":"MessageContentRcsOpenUrlAction","modelName":"MessageContentRcsOpenUrlAction","properties":{"url":{"title":"MessageContentRcsOpenUrlActionUrl","type":"string","description":"The url to open when the suggested action is selected."},"application":{"title":"MessageContentRcsOpenUrlActionApplication","type":"string","description":"The application to use when opening the URL.","enum":["BROWSER","WEBVIEW"]},"webviewViewMode":{"title":"MessageContentRcsOpenUrlActionWebviewViewMode","type":"string","description":"The view mode for the webview.\nRequired field (and only applicable) when application is `WEBVIEW`.","enum":["FULL","HALF","TALL"]}}}},"required":["text","postbackData","openUrlAction"]},{"title":"MessageContentRcsSuggestedActionViewLocation","type":"object","description":"An action item that when selected by the recipient, opens a map to display a location.","properties":{"text":{"title":"MessageContentRcsSuggestedActionViewLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"viewLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsViewLocationAction","description":"An RCS action that opens a map to display a location. Either latLong or query should be provided.","type":"object","minProperties":1,"refName":"MessageContentRcsViewLocationAction","modelName":"MessageContentRcsViewLocationAction","additionalProperties":false,"properties":{"latLong":{"x-twilio-version":1,"title":"MessageContentRcsLatLng","description":"A geographic coordinate (latitude and longitude).","type":"object","required":["latitude","longitude"],"refName":"MessageContentRcsLatLng","modelName":"MessageContentRcsLatLng","properties":{"latitude":{"type":"number","description":"The latitude in degrees. Must be in the range [-90.0, +90.0].","minimum":-90,"maximum":90},"longitude":{"type":"number","description":"The longitude in degrees. Must be in the range [-180.0, +180.0].","minimum":-180,"maximum":180}}},"label":{"type":"string","description":"The label of the pin dropped at the specified latLong."},"query":{"type":"string","description":"A query string for a location search. If specified instead of latLong, the device performs a location search centered on the user's current location. (Android Only)"}}}},"required":["text","postbackData","viewLocationAction"]},{"title":"MessageContentRcsSuggestedActionCreateCalendarEvent","type":"object","description":"An action item that when selected by the recipient, creates a calendar event on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionCreateCalendarEventText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"createCalendarEventAction":{"x-twilio-version":1,"title":"MessageContentRcsCreateCalendarEventAction","description":"An RCS action that creates a calendar event on the user's device.","type":"object","required":["startTime","endTime","title","description"],"refName":"MessageContentRcsCreateCalendarEventAction","modelName":"MessageContentRcsCreateCalendarEventAction","properties":{"startTime":{"type":"string","format":"date-time","description":"The start time of the calendar event."},"endTime":{"type":"string","format":"date-time","description":"The end time of the calendar event."},"title":{"type":"string","minLength":1,"description":"The title of the calendar event."},"description":{"type":"string","minLength":1,"description":"The description of the calendar event."}}}},"required":["text","postbackData","createCalendarEventAction"]},{"title":"MessageContentRcsSuggestedActionShareLocation","type":"object","description":"An action item that when selected by the recipient, opens the device's location chooser to share a location with the agent.","properties":{"text":{"title":"MessageContentRcsSuggestedActionShareLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"shareLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsShareLocationAction","description":"An RCS action that opens the device's location chooser, allowing the user to pick a location to send to the agent.","type":"object","refName":"MessageContentRcsShareLocationAction","modelName":"","additionalProperties":false}},"required":["text","postbackData","shareLocationAction"]}]}},"required":["action"],"refName":"MessageContentRcsSuggestedAction","modelName":"MessageContentRcsSuggestedAction"},{"x-twilio-version":1,"title":"MessageContentRcsSuggestedReply","type":"object","description":"An RCS reply suggestion.","properties":{"reply":{"title":"MessageContentRcsReply","description":"The RCS reply to suggest.","type":"object","required":["text","postbackData"],"properties":{"text":{"title":"MessageContentRcsReplyText","description":"The text to display for the suggested reply.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""}}}},"required":["reply"],"refName":"MessageContentRcsSuggestedReply","modelName":"MessageContentRcsSuggestedReply"}]}}},"required":["contentInfo"]},{"title":"MessageContentModuleRcsRichCard","description":"The RCS union Rich Card content.","type":"object","properties":{"richCard":{"title":"MessageContentRcsRichCard","description":"An RCS rich card.","type":"object","oneOf":[{"title":"MessageContentRcsRichCardCarousel","description":"A carousel card.","type":"object","properties":{"carouselCard":{"x-twilio-version":1,"title":"MessageContentRcsCarouselCard","description":"An RCS carousel card.","type":"object","required":["cardContents"],"refName":"MessageContentRcsCarouselCard","modelName":"MessageContentRcsCarouselCard","properties":{"cardWidth":{"title":"MessageContentRcsCarouselCardWidth","description":"The width of the cards in the carousel.","type":"string","enum":["SMALL","MEDIUM"]},"cardContents":{"title":"MessageContentRcsCarouselCardContents","description":"The contents of the carousel card.","type":"array","minItems":2,"maxItems":10,"items":{"x-twilio-version":1,"title":"MessageContentRcsStandaloneCardContent","description":"The content of the standalone card.","type":"object","minProperties":1,"refName":"MessageContentRcsCardContent","modelName":"MessageContentRcsCardContent","additionalProperties":false,"properties":{"title":{"title":"MessageContentRcsStandaloneCardTitle","description":"The title of the standalone card.","type":"string","minLength":1},"description":{"title":"MessageContentRcsStandaloneCardDescription","description":"The description of the standalone card.","type":"string","minLength":1},"media":{"x-twilio-version":1,"title":"MessageContentRcsMedia","description":"An RCS media.","type":"object","required":["contentInfo"],"refName":"MessageContentRcsMedia","modelName":"MessageContentRcsMedia","properties":{"contentInfo":{"x-twilio-version":1,"title":"MessageContentRcsContentInfo","description":"An RCS Content Info.","type":"object","required":["fileUrl"],"refName":"MessageContentRcsContentInfo","modelName":"MessageContentRcsContentInfo","properties":{"fileUrl":{"type":"string","description":"The URL of the media file."},"thumbnailUrl":{"type":"string","description":"The URL of the thumbnail image for the media."},"forceRefresh":{"type":"boolean","default":false,"description":"If set to true, the content is fetched from the URL even if cached content is available. Forces a cache refresh for the media content."}}},"height":{"description":"The height of the media.","type":"string","enum":["TALL","MEDIUM","SHORT"]}}},"suggestions":{"title":"MessageContentRcsCardSuggestions","description":"A list of suggestions for the card. Maximum 4 suggestions per card.","type":"array","maxItems":4,"items":{"oneOf":[{"x-twilio-version":1,"title":"MessageContentRcsSuggestedAction","description":"An RCS action suggestion.","type":"object","properties":{"action":{"title":"MessageContentRcsAction","description":"The RCS action to suggest.","type":"object","oneOf":[{"title":"MessageContentRcsSuggestedActionDial","type":"object","description":"A action item that when selected by the recipient, initiates a voice call using the native calling app on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionDialText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"dialAction":{"x-twilio-version":1,"title":"MessageContentRcsDialAction","description":"An RCS suggested action of type Dial.","type":"object","required":["phoneNumber"],"refName":"MessageContentRcsDialAction","modelName":"MessageContentRcsDialAction","properties":{"phoneNumber":{"type":"string","description":"The phone number to call when the action is triggered."}}}},"required":["text","postbackData","dialAction"]},{"title":"MessageContentRcsSuggestedActionOpenUrl","type":"object","description":"A action item, that when selected by the recipient, opens the provided `url` on the end-users device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionOpenUrlText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"openUrlAction":{"x-twilio-version":1,"title":"MessageContentRcsOpenUrlAction","description":"An RCS action of type Open Url.","type":"object","required":["url"],"refName":"MessageContentRcsOpenUrlAction","modelName":"MessageContentRcsOpenUrlAction","properties":{"url":{"title":"MessageContentRcsOpenUrlActionUrl","type":"string","description":"The url to open when the suggested action is selected."},"application":{"title":"MessageContentRcsOpenUrlActionApplication","type":"string","description":"The application to use when opening the URL.","enum":["BROWSER","WEBVIEW"]},"webviewViewMode":{"title":"MessageContentRcsOpenUrlActionWebviewViewMode","type":"string","description":"The view mode for the webview.\nRequired field (and only applicable) when application is `WEBVIEW`.","enum":["FULL","HALF","TALL"]}}}},"required":["text","postbackData","openUrlAction"]},{"title":"MessageContentRcsSuggestedActionViewLocation","type":"object","description":"An action item that when selected by the recipient, opens a map to display a location.","properties":{"text":{"title":"MessageContentRcsSuggestedActionViewLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"viewLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsViewLocationAction","description":"An RCS action that opens a map to display a location. Either latLong or query should be provided.","type":"object","minProperties":1,"refName":"MessageContentRcsViewLocationAction","modelName":"MessageContentRcsViewLocationAction","additionalProperties":false,"properties":{"latLong":{"x-twilio-version":1,"title":"MessageContentRcsLatLng","description":"A geographic coordinate (latitude and longitude).","type":"object","required":["latitude","longitude"],"refName":"MessageContentRcsLatLng","modelName":"MessageContentRcsLatLng","properties":{"latitude":{"type":"number","description":"The latitude in degrees. Must be in the range [-90.0, +90.0].","minimum":-90,"maximum":90},"longitude":{"type":"number","description":"The longitude in degrees. Must be in the range [-180.0, +180.0].","minimum":-180,"maximum":180}}},"label":{"type":"string","description":"The label of the pin dropped at the specified latLong."},"query":{"type":"string","description":"A query string for a location search. If specified instead of latLong, the device performs a location search centered on the user's current location. (Android Only)"}}}},"required":["text","postbackData","viewLocationAction"]},{"title":"MessageContentRcsSuggestedActionCreateCalendarEvent","type":"object","description":"An action item that when selected by the recipient, creates a calendar event on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionCreateCalendarEventText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"createCalendarEventAction":{"x-twilio-version":1,"title":"MessageContentRcsCreateCalendarEventAction","description":"An RCS action that creates a calendar event on the user's device.","type":"object","required":["startTime","endTime","title","description"],"refName":"MessageContentRcsCreateCalendarEventAction","modelName":"MessageContentRcsCreateCalendarEventAction","properties":{"startTime":{"type":"string","format":"date-time","description":"The start time of the calendar event."},"endTime":{"type":"string","format":"date-time","description":"The end time of the calendar event."},"title":{"type":"string","minLength":1,"description":"The title of the calendar event."},"description":{"type":"string","minLength":1,"description":"The description of the calendar event."}}}},"required":["text","postbackData","createCalendarEventAction"]},{"title":"MessageContentRcsSuggestedActionShareLocation","type":"object","description":"An action item that when selected by the recipient, opens the device's location chooser to share a location with the agent.","properties":{"text":{"title":"MessageContentRcsSuggestedActionShareLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"shareLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsShareLocationAction","description":"An RCS action that opens the device's location chooser, allowing the user to pick a location to send to the agent.","type":"object","refName":"MessageContentRcsShareLocationAction","modelName":"","additionalProperties":false}},"required":["text","postbackData","shareLocationAction"]}]}},"required":["action"],"refName":"MessageContentRcsSuggestedAction","modelName":"MessageContentRcsSuggestedAction"},{"x-twilio-version":1,"title":"MessageContentRcsSuggestedReply","type":"object","description":"An RCS reply suggestion.","properties":{"reply":{"title":"MessageContentRcsReply","description":"The RCS reply to suggest.","type":"object","required":["text","postbackData"],"properties":{"text":{"title":"MessageContentRcsReplyText","description":"The text to display for the suggested reply.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""}}}},"required":["reply"],"refName":"MessageContentRcsSuggestedReply","modelName":"MessageContentRcsSuggestedReply"}]}}}}}}}},"required":["carouselCard"]},{"title":"MessageContentRcsRichCardStandalone","description":"A standalone card.","type":"object","properties":{"standaloneCard":{"x-twilio-version":1,"title":"MessageContentRcsStandaloneCard","description":"An RCS standalone card.","type":"object","required":["cardContent"],"refName":"MessageContentRcsStandaloneCard","modelName":"MessageContentRcsStandaloneCard","properties":{"cardOrientation":{"title":"MessageContentRcsStandaloneCardOrientation","description":"The orientation of the card. Horizontal cards require media and at least one of title, description, or suggestions.","type":"string","enum":["HORIZONTAL","VERTICAL"],"default":"VERTICAL"},"thumbnailImageAlignment":{"title":"MessageContentRcsStandaloneCardThumbnailImageAlignment","description":"The alignment of the thumbnail image in horizontal cards. Only applicable when cardOrientation is HORIZONTAL.","type":"string","enum":["LEFT","RIGHT"],"default":"RIGHT"},"cardContent":{"x-twilio-version":1,"title":"MessageContentRcsStandaloneCardContent","description":"The content of the standalone card.","type":"object","minProperties":1,"refName":"MessageContentRcsCardContent","modelName":"MessageContentRcsCardContent","additionalProperties":false,"properties":{"title":{"title":"MessageContentRcsStandaloneCardTitle","description":"The title of the standalone card.","type":"string","minLength":1},"description":{"title":"MessageContentRcsStandaloneCardDescription","description":"The description of the standalone card.","type":"string","minLength":1},"media":{"x-twilio-version":1,"title":"MessageContentRcsMedia","description":"An RCS media.","type":"object","required":["contentInfo"],"refName":"MessageContentRcsMedia","modelName":"MessageContentRcsMedia","properties":{"contentInfo":{"x-twilio-version":1,"title":"MessageContentRcsContentInfo","description":"An RCS Content Info.","type":"object","required":["fileUrl"],"refName":"MessageContentRcsContentInfo","modelName":"MessageContentRcsContentInfo","properties":{"fileUrl":{"type":"string","description":"The URL of the media file."},"thumbnailUrl":{"type":"string","description":"The URL of the thumbnail image for the media."},"forceRefresh":{"type":"boolean","default":false,"description":"If set to true, the content is fetched from the URL even if cached content is available. Forces a cache refresh for the media content."}}},"height":{"description":"The height of the media.","type":"string","enum":["TALL","MEDIUM","SHORT"]}}},"suggestions":{"title":"MessageContentRcsCardSuggestions","description":"A list of suggestions for the card. Maximum 4 suggestions per card.","type":"array","maxItems":4,"items":{"oneOf":[{"x-twilio-version":1,"title":"MessageContentRcsSuggestedAction","description":"An RCS action suggestion.","type":"object","properties":{"action":{"title":"MessageContentRcsAction","description":"The RCS action to suggest.","type":"object","oneOf":[{"title":"MessageContentRcsSuggestedActionDial","type":"object","description":"A action item that when selected by the recipient, initiates a voice call using the native calling app on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionDialText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"dialAction":{"x-twilio-version":1,"title":"MessageContentRcsDialAction","description":"An RCS suggested action of type Dial.","type":"object","required":["phoneNumber"],"refName":"MessageContentRcsDialAction","modelName":"MessageContentRcsDialAction","properties":{"phoneNumber":{"type":"string","description":"The phone number to call when the action is triggered."}}}},"required":["text","postbackData","dialAction"]},{"title":"MessageContentRcsSuggestedActionOpenUrl","type":"object","description":"A action item, that when selected by the recipient, opens the provided `url` on the end-users device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionOpenUrlText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"openUrlAction":{"x-twilio-version":1,"title":"MessageContentRcsOpenUrlAction","description":"An RCS action of type Open Url.","type":"object","required":["url"],"refName":"MessageContentRcsOpenUrlAction","modelName":"MessageContentRcsOpenUrlAction","properties":{"url":{"title":"MessageContentRcsOpenUrlActionUrl","type":"string","description":"The url to open when the suggested action is selected."},"application":{"title":"MessageContentRcsOpenUrlActionApplication","type":"string","description":"The application to use when opening the URL.","enum":["BROWSER","WEBVIEW"]},"webviewViewMode":{"title":"MessageContentRcsOpenUrlActionWebviewViewMode","type":"string","description":"The view mode for the webview.\nRequired field (and only applicable) when application is `WEBVIEW`.","enum":["FULL","HALF","TALL"]}}}},"required":["text","postbackData","openUrlAction"]},{"title":"MessageContentRcsSuggestedActionViewLocation","type":"object","description":"An action item that when selected by the recipient, opens a map to display a location.","properties":{"text":{"title":"MessageContentRcsSuggestedActionViewLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"viewLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsViewLocationAction","description":"An RCS action that opens a map to display a location. Either latLong or query should be provided.","type":"object","minProperties":1,"refName":"MessageContentRcsViewLocationAction","modelName":"MessageContentRcsViewLocationAction","additionalProperties":false,"properties":{"latLong":{"x-twilio-version":1,"title":"MessageContentRcsLatLng","description":"A geographic coordinate (latitude and longitude).","type":"object","required":["latitude","longitude"],"refName":"MessageContentRcsLatLng","modelName":"MessageContentRcsLatLng","properties":{"latitude":{"type":"number","description":"The latitude in degrees. Must be in the range [-90.0, +90.0].","minimum":-90,"maximum":90},"longitude":{"type":"number","description":"The longitude in degrees. Must be in the range [-180.0, +180.0].","minimum":-180,"maximum":180}}},"label":{"type":"string","description":"The label of the pin dropped at the specified latLong."},"query":{"type":"string","description":"A query string for a location search. If specified instead of latLong, the device performs a location search centered on the user's current location. (Android Only)"}}}},"required":["text","postbackData","viewLocationAction"]},{"title":"MessageContentRcsSuggestedActionCreateCalendarEvent","type":"object","description":"An action item that when selected by the recipient, creates a calendar event on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionCreateCalendarEventText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"createCalendarEventAction":{"x-twilio-version":1,"title":"MessageContentRcsCreateCalendarEventAction","description":"An RCS action that creates a calendar event on the user's device.","type":"object","required":["startTime","endTime","title","description"],"refName":"MessageContentRcsCreateCalendarEventAction","modelName":"MessageContentRcsCreateCalendarEventAction","properties":{"startTime":{"type":"string","format":"date-time","description":"The start time of the calendar event."},"endTime":{"type":"string","format":"date-time","description":"The end time of the calendar event."},"title":{"type":"string","minLength":1,"description":"The title of the calendar event."},"description":{"type":"string","minLength":1,"description":"The description of the calendar event."}}}},"required":["text","postbackData","createCalendarEventAction"]},{"title":"MessageContentRcsSuggestedActionShareLocation","type":"object","description":"An action item that when selected by the recipient, opens the device's location chooser to share a location with the agent.","properties":{"text":{"title":"MessageContentRcsSuggestedActionShareLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"shareLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsShareLocationAction","description":"An RCS action that opens the device's location chooser, allowing the user to pick a location to send to the agent.","type":"object","refName":"MessageContentRcsShareLocationAction","modelName":"","additionalProperties":false}},"required":["text","postbackData","shareLocationAction"]}]}},"required":["action"],"refName":"MessageContentRcsSuggestedAction","modelName":"MessageContentRcsSuggestedAction"},{"x-twilio-version":1,"title":"MessageContentRcsSuggestedReply","type":"object","description":"An RCS reply suggestion.","properties":{"reply":{"title":"MessageContentRcsReply","description":"The RCS reply to suggest.","type":"object","required":["text","postbackData"],"properties":{"text":{"title":"MessageContentRcsReplyText","description":"The text to display for the suggested reply.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""}}}},"required":["reply"],"refName":"MessageContentRcsSuggestedReply","modelName":"MessageContentRcsSuggestedReply"}]}}}}}}},"required":["standaloneCard"]}]},"suggestions":{"x-twilio-version":1,"title":"MessageContentRcsSuggestions","description":"A list of RCS suggestions to display. Maximum 11 suggestions.","type":"array","maxItems":11,"refName":"MessageContentRcsSuggestions","modelName":"MessageContentRcsSuggestions","items":{"oneOf":[{"x-twilio-version":1,"title":"MessageContentRcsSuggestedAction","description":"An RCS action suggestion.","type":"object","properties":{"action":{"title":"MessageContentRcsAction","description":"The RCS action to suggest.","type":"object","oneOf":[{"title":"MessageContentRcsSuggestedActionDial","type":"object","description":"A action item that when selected by the recipient, initiates a voice call using the native calling app on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionDialText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"dialAction":{"x-twilio-version":1,"title":"MessageContentRcsDialAction","description":"An RCS suggested action of type Dial.","type":"object","required":["phoneNumber"],"refName":"MessageContentRcsDialAction","modelName":"MessageContentRcsDialAction","properties":{"phoneNumber":{"type":"string","description":"The phone number to call when the action is triggered."}}}},"required":["text","postbackData","dialAction"]},{"title":"MessageContentRcsSuggestedActionOpenUrl","type":"object","description":"A action item, that when selected by the recipient, opens the provided `url` on the end-users device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionOpenUrlText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"openUrlAction":{"x-twilio-version":1,"title":"MessageContentRcsOpenUrlAction","description":"An RCS action of type Open Url.","type":"object","required":["url"],"refName":"MessageContentRcsOpenUrlAction","modelName":"MessageContentRcsOpenUrlAction","properties":{"url":{"title":"MessageContentRcsOpenUrlActionUrl","type":"string","description":"The url to open when the suggested action is selected."},"application":{"title":"MessageContentRcsOpenUrlActionApplication","type":"string","description":"The application to use when opening the URL.","enum":["BROWSER","WEBVIEW"]},"webviewViewMode":{"title":"MessageContentRcsOpenUrlActionWebviewViewMode","type":"string","description":"The view mode for the webview.\nRequired field (and only applicable) when application is `WEBVIEW`.","enum":["FULL","HALF","TALL"]}}}},"required":["text","postbackData","openUrlAction"]},{"title":"MessageContentRcsSuggestedActionViewLocation","type":"object","description":"An action item that when selected by the recipient, opens a map to display a location.","properties":{"text":{"title":"MessageContentRcsSuggestedActionViewLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"viewLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsViewLocationAction","description":"An RCS action that opens a map to display a location. Either latLong or query should be provided.","type":"object","minProperties":1,"refName":"MessageContentRcsViewLocationAction","modelName":"MessageContentRcsViewLocationAction","additionalProperties":false,"properties":{"latLong":{"x-twilio-version":1,"title":"MessageContentRcsLatLng","description":"A geographic coordinate (latitude and longitude).","type":"object","required":["latitude","longitude"],"refName":"MessageContentRcsLatLng","modelName":"MessageContentRcsLatLng","properties":{"latitude":{"type":"number","description":"The latitude in degrees. Must be in the range [-90.0, +90.0].","minimum":-90,"maximum":90},"longitude":{"type":"number","description":"The longitude in degrees. Must be in the range [-180.0, +180.0].","minimum":-180,"maximum":180}}},"label":{"type":"string","description":"The label of the pin dropped at the specified latLong."},"query":{"type":"string","description":"A query string for a location search. If specified instead of latLong, the device performs a location search centered on the user's current location. (Android Only)"}}}},"required":["text","postbackData","viewLocationAction"]},{"title":"MessageContentRcsSuggestedActionCreateCalendarEvent","type":"object","description":"An action item that when selected by the recipient, creates a calendar event on the device.","properties":{"text":{"title":"MessageContentRcsSuggestedActionCreateCalendarEventText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"createCalendarEventAction":{"x-twilio-version":1,"title":"MessageContentRcsCreateCalendarEventAction","description":"An RCS action that creates a calendar event on the user's device.","type":"object","required":["startTime","endTime","title","description"],"refName":"MessageContentRcsCreateCalendarEventAction","modelName":"MessageContentRcsCreateCalendarEventAction","properties":{"startTime":{"type":"string","format":"date-time","description":"The start time of the calendar event."},"endTime":{"type":"string","format":"date-time","description":"The end time of the calendar event."},"title":{"type":"string","minLength":1,"description":"The title of the calendar event."},"description":{"type":"string","minLength":1,"description":"The description of the calendar event."}}}},"required":["text","postbackData","createCalendarEventAction"]},{"title":"MessageContentRcsSuggestedActionShareLocation","type":"object","description":"An action item that when selected by the recipient, opens the device's location chooser to share a location with the agent.","properties":{"text":{"title":"MessageContentRcsSuggestedActionShareLocationText","description":"The text to display for the action item.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""},"shareLocationAction":{"x-twilio-version":1,"title":"MessageContentRcsShareLocationAction","description":"An RCS action that opens the device's location chooser, allowing the user to pick a location to send to the agent.","type":"object","refName":"MessageContentRcsShareLocationAction","modelName":"","additionalProperties":false}},"required":["text","postbackData","shareLocationAction"]}]}},"required":["action"],"refName":"MessageContentRcsSuggestedAction","modelName":"MessageContentRcsSuggestedAction"},{"x-twilio-version":1,"title":"MessageContentRcsSuggestedReply","type":"object","description":"An RCS reply suggestion.","properties":{"reply":{"title":"MessageContentRcsReply","description":"The RCS reply to suggest.","type":"object","required":["text","postbackData"],"properties":{"text":{"title":"MessageContentRcsReplyText","description":"The text to display for the suggested reply.","type":"string","minLength":1},"postbackData":{"x-twilio-version":1,"title":"MessageContentRcsSuggestionPostbackData","description":"The postback data to send when the suggestion item is selected.","type":"string","minLength":1,"refName":"MessageContentRcsSuggestionPostbackData","modelName":""}}}},"required":["reply"],"refName":"MessageContentRcsSuggestedReply","modelName":"MessageContentRcsSuggestedReply"}]}}},"required":["richCard"]}]}},"required":["rcs"],"refName":"MessageContentModuleRcs","modelName":"MessageContentModuleRcs"}]}}},"required":["modules"],"refName":"MessageContentChannelModules","modelName":"MessageContentChannelModules"}]},"attempts":{"title":"MessageAttemptsList","description":"The list of attempts Twilio executed to process the Message.","type":"array","items":{"x-twilio-version":1,"title":"MessageAttempt","description":"The Message Attempt resource represents a single attempt to send a Message to a Recipient. A Message will have one or more Attempts depending on the processing and delivery outcome.","type":"object","required":["from","to","status","attemptedAt","infoUrl","error"],"refName":"MessageAttempt","modelName":"MessageAttempt","properties":{"from":{"x-twilio-version":1,"title":"MessageSender","description":"A Message Sender is a person or entity whose communication identity is hosted by Twilio.","type":"object","required":["address","channel","senderId"],"refName":"MessageSender","modelName":"MessageSender","additionalProperties":false,"properties":{"address":{"description":"The identifier within a channel address space for a Sender (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageSenderChannel","description":"The channels available for Message entity.","type":"string","enum":["SMS","RCS","WHATSAPP"],"example":"SMS","refName":"MessageSenderChannel","modelName":"MessageSenderChannel"},"senderId":{"x-twilio-version":1,"description":"A reference to a Sender.","title":"SenderId","type":"string","pattern":"^comms_sender_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_sender_01h9krwprkeee8fzqspvwy6nq8","refName":"SenderId","modelName":""}}},"to":{"title":"MessageAttemptRecipients","description":"The recipients of the Message Attempt. This array will contain a single recipient element, except for GMMS use case, where there are multiple recipients.","type":"array","items":{"oneOf":[{"x-twilio-version":1,"title":"MessageAddress","description":"A messaging address and channel.","type":"object","properties":{"address":{"type":"string","description":"The communication address within a Messaging channel, such as a phone number."},"channel":{"x-twilio-version":1,"title":"MessageAddressChannel","description":"The corresponding channel name for a Message address.\n\n- `PHONE`: Includes SMS, MMS, and RCS, pair it with a phone number in the `address` field.\n\n- `WHATSAPP`: WhatsApp channel, pair it with a WhatsApp number in the `address` field.","type":"string","enum":["PHONE","WHATSAPP"],"example":"PHONE","refName":"MessageAddressChannel","modelName":"MessageAddressChannel"}},"required":["address","channel"],"additionalProperties":false,"refName":"MessageAddress","modelName":"MessageAddress"},{"x-twilio-version":1,"title":"MessageProfile","description":"A Message Profile is a person or entity that is not hosted by Twilio.","type":"object","properties":{"address":{"description":"The identifier within a channel address space for a Profile (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageProfileChannel","description":"The channels available for specifying a Message Profile.\n\n- `PHONE`: Includes SMS, MMS, and RCS, pair it with a phone number in the `address` field.\n\n- `WHATSAPP`: WhatsApp channel, pair it with a WhatsApp number in the `address` field.","type":"string","enum":["PHONE","WHATSAPP"],"example":"PHONE","refName":"MessageProfileChannel","modelName":"MessageProfileChannel"},"profileId":{"x-twilio-version":1,"title":"ProfileId","description":"A reference to a Profile","type":"string","pattern":"^mem_profile_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_profile_01h9krwprkeee8fzqspvwy6nq8","refName":"ProfileId","modelName":""},"memoryStoreId":{"x-twilio-version":1,"title":"MemoryStoreId","description":"A reference to a Memory Store","type":"string","pattern":"^mem_store_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_store_00000000000000000000000000","refName":"MemoryStoreId","modelName":""}},"required":["address","channel","profileId","memoryStoreId"],"additionalProperties":false,"refName":"MessageProfile","modelName":"MessageProfile"}]}},"status":{"x-twilio-version":1,"title":"MessageStatus","description":"The status of a `Message`. The status can be one of the following:\n- `SCHEDULED` The `Message` is scheduled to be sent by\n  Twilio in the future.\n\n- `QUEUED` The `Message` is queued in Twilio for sending.\n- `SENT` The `Message` has been sent by Twilio.\n- `DELIVERED` The `Message` has been successfully\n    delivered to the recipient.\n\n- `READ` The `Message` has been read by the recipient.\n- `UNDELIVERED` The `Message` was successfully sent by Twilio\n  but have not been delivered to the recipient.\n\n- `FAILED` The `Message` processing failed inside Twilio.\n  Use `GET /Messages/Operations/{operationId}/Errors` for more details.\n\n- `CANCELED` The `Message` was canceled via API request.\n- `GROUP` The `Message` is part of a group communication.\n  To get the status for each Recipient of the group communication, use the `Receipts` endpoint\n  e.g. GET `/Messages/comms_message_01h2xcejqtf2nbrexx3vqjhp41/Receipts`\n\n- `INBOUND` The `Message` was received by Twilio from an external source.","type":"string","enum":["QUEUED","SENT","SCHEDULED","DELIVERED","READ","FAILED","UNDELIVERED","CANCELED","GROUP","INBOUND"],"refName":"MessageStatus","modelName":"MessageStatus"},"attemptedAt":{"type":"string","format":"date-time","description":"The date and time when the Message Attempt began processing."},"infoUrl":{"type":"string","format":"uri","description":"A URL to view more information for this Message Attempt."},"error":{"description":"An error object that describes an error that occurred during the Message Attempt. This field will be `null` if the attempt was successful.","x-twilio-version":1,"title":"TwilioErrorNullable","type":["object","null"],"example":{"code":21614,"message":"The address specified in the request is not a valid phone number.","infoUrl":"/docs/api/errors/21614","context":"$.from[0].address"},"refName":"TwilioErrorNullable","modelName":"TwilioErrorNullable","properties":{"code":{"type":"integer","description":"The Twilio error code."},"message":{"type":"string","description":"A human readable message describing the error."},"infoUrl":{"type":"string","format":"uri","description":"A URL to a [Twilio error directory](/docs/api/errors) page with more information about the error code."},"context":{"description":"A JSON path that identifies the errant field.","type":["string","null"]}}}}}}}},"examples":{"OutboundFallbackRcsToSms":{"summary":"Outbound, rcs to mms fallback","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"id\": \"comms_message_2x4y6z8a0b1c2d3e4f5g6h7j8k\",\n  \"from\": {\n    \"address\": \"+12065558844\",\n    \"channel\": \"SMS\",\n    \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n  },\n  \"to\": [\n    {\n      \"address\": \"+14153901002\",\n      \"channel\": \"PHONE\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Thanks for joining us today!\",\n    \"media\": [\n      {\n        \"url\": \"http://content.cool.co/party-thanks.png\"\n      }\n    ]\n  },\n  \"status\": \"DELIVERED\",\n  \"attempts\": [\n    {\n      \"from\": {\n        \"address\": \"bowlingteam_212_sender\",\n        \"channel\": \"RCS\",\n        \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n      },\n      \"to\": [\n        {\n          \"address\": \"+14153901002\",\n          \"channel\": \"PHONE\"\n        }\n      ],\n      \"status\": \"FAILED\",\n      \"attemptedAt\": \"2023-08-24T14:15:22Z\",\n      \"infoUrl\": \"https://console.twilio.com/us1/monitor/logs/sms/AC77ec7f777777f7a77ce7777aeef7777f/SMbffad777cc7777777777777dfcdc7f77\",\n      \"error\": {\n        \"code\": 61337,\n        \"message\": \"Recipient does not have RCS enabled.\",\n        \"infoUrl\": \"https://twilio.com/docs/api/errors/61337\"\n      }\n    },\n    {\n      \"from\": {\n        \"address\": \"+12065558844\",\n        \"channel\": \"SMS\",\n        \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n      },\n      \"to\": [\n        {\n          \"address\": \"+14153901002\",\n          \"channel\": \"PHONE\"\n        }\n      ],\n      \"status\": \"DELIVERED\",\n      \"attemptedAt\": \"2023-08-24T14:15:22Z\",\n      \"infoUrl\": \"https://console.twilio.com/us1/monitor/logs/sms/AC77ec7f777777f7a77ce7777aeef7777f/SMbffad777cc7777777777777dfcdc7f77\",\n      \"error\": null\n    }\n  ],\n  \"related\": [\n    {\n      \"name\": \"SESSION\",\n      \"id\": \"comms_session_01h2xcejqtf2nbrexx3vqjhp41\",\n      \"uri\": \"https://comms.twilio.com/v1/Sessions/comms_session_01h2xcejqtf2nbrexx3vqjhp41\"\n    }\n  ],\n  \"tags\": {},\n  \"scheduledFor\": null,\n  \"createdAt\": \"2023-08-24T14:15:22Z\",\n  \"updatedAt\": \"2023-08-24T14:15:22Z\",\n  \"deletedAt\": null\n}","meta":"","code":"{\n  \"id\": \"comms_message_2x4y6z8a0b1c2d3e4f5g6h7j8k\",\n  \"from\": {\n    \"address\": \"+12065558844\",\n    \"channel\": \"SMS\",\n    \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n  },\n  \"to\": [\n    {\n      \"address\": \"+14153901002\",\n      \"channel\": \"PHONE\"\n    }\n  ],\n  \"content\": {\n    \"text\": \"Thanks for joining us today!\",\n    \"media\": [\n      {\n        \"url\": \"http://content.cool.co/party-thanks.png\"\n      }\n    ]\n  },\n  \"status\": \"DELIVERED\",\n  \"attempts\": [\n    {\n      \"from\": {\n        \"address\": \"bowlingteam_212_sender\",\n        \"channel\": \"RCS\",\n        \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n      },\n      \"to\": [\n        {\n          \"address\": \"+14153901002\",\n          \"channel\": \"PHONE\"\n        }\n      ],\n      \"status\": \"FAILED\",\n      \"attemptedAt\": \"2023-08-24T14:15:22Z\",\n      \"infoUrl\": \"https://console.twilio.com/us1/monitor/logs/sms/AC77ec7f777777f7a77ce7777aeef7777f/SMbffad777cc7777777777777dfcdc7f77\",\n      \"error\": {\n        \"code\": 61337,\n        \"message\": \"Recipient does not have RCS enabled.\",\n        \"infoUrl\": \"https://twilio.com/docs/api/errors/61337\"\n      }\n    },\n    {\n      \"from\": {\n        \"address\": \"+12065558844\",\n        \"channel\": \"SMS\",\n        \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n      },\n      \"to\": [\n        {\n          \"address\": \"+14153901002\",\n          \"channel\": \"PHONE\"\n        }\n      ],\n      \"status\": \"DELIVERED\",\n      \"attemptedAt\": \"2023-08-24T14:15:22Z\",\n      \"infoUrl\": \"https://console.twilio.com/us1/monitor/logs/sms/AC77ec7f777777f7a77ce7777aeef7777f/SMbffad777cc7777777777777dfcdc7f77\",\n      \"error\": null\n    }\n  ],\n  \"related\": [\n    {\n      \"name\": \"SESSION\",\n      \"id\": \"comms_session_01h2xcejqtf2nbrexx3vqjhp41\",\n      \"uri\": \"https://comms.twilio.com/v1/Sessions/comms_session_01h2xcejqtf2nbrexx3vqjhp41\"\n    }\n  ],\n  \"tags\": {},\n  \"scheduledFor\": null,\n  \"createdAt\": \"2023-08-24T14:15:22Z\",\n  \"updatedAt\": \"2023-08-24T14:15:22Z\",\n  \"deletedAt\": null\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"id\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_message_2x4y6z8a0b1c2d3e4f5g6h7j8k\"","#A5D6FF"],[",","#C9D1D9"],"\n  ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558844\"","#A5D6FF"],[",","#C9D1D9"],"\n    ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"SMS\"","#A5D6FF"],[",","#C9D1D9"],"\n    ",["\"senderId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n  ",["},","#C9D1D9"],"\n  ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+14153901002\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"content\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"text\"","#7EE787"],[":","#C9D1D9"]," ",["\"Thanks for joining us today!\"","#A5D6FF"],[",","#C9D1D9"],"\n    ",["\"media\"","#7EE787"],[": [","#C9D1D9"],"\n      ",["{","#C9D1D9"],"\n        ",["\"url\"","#7EE787"],[":","#C9D1D9"]," ",["\"http://content.cool.co/party-thanks.png\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["]","#C9D1D9"],"\n  ",["},","#C9D1D9"],"\n  ",["\"status\"","#7EE787"],[":","#C9D1D9"]," ",["\"DELIVERED\"","#A5D6FF"],[",","#C9D1D9"],"\n  ",["\"attempts\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"bowlingteam_212_sender\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"RCS\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"senderId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n      ",["},","#C9D1D9"],"\n      ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["{","#C9D1D9"],"\n          ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+14153901002\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],"\n        ",["}","#C9D1D9"],"\n      ",["],","#C9D1D9"],"\n      ",["\"status\"","#7EE787"],[":","#C9D1D9"]," ",["\"FAILED\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"attemptedAt\"","#7EE787"],[":","#C9D1D9"]," ",["\"2023-08-24T14:15:22Z\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"https://console.twilio.com/us1/monitor/logs/sms/AC77ec7f777777f7a77ce7777aeef7777f/SMbffad777cc7777777777777dfcdc7f77\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"error\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["61337","#79C0FF"],[",","#C9D1D9"],"\n        ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"Recipient does not have RCS enabled.\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"https://twilio.com/docs/api/errors/61337\"","#A5D6FF"],"\n      ",["}","#C9D1D9"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558844\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"SMS\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"senderId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n      ",["},","#C9D1D9"],"\n      ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["{","#C9D1D9"],"\n          ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+14153901002\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],"\n        ",["}","#C9D1D9"],"\n      ",["],","#C9D1D9"],"\n      ",["\"status\"","#7EE787"],[":","#C9D1D9"]," ",["\"DELIVERED\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"attemptedAt\"","#7EE787"],[":","#C9D1D9"]," ",["\"2023-08-24T14:15:22Z\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"https://console.twilio.com/us1/monitor/logs/sms/AC77ec7f777777f7a77ce7777aeef7777f/SMbffad777cc7777777777777dfcdc7f77\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"error\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"related\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"SESSION\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"id\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_session_01h2xcejqtf2nbrexx3vqjhp41\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"uri\"","#7EE787"],[":","#C9D1D9"]," ",["\"https://comms.twilio.com/v1/Sessions/comms_session_01h2xcejqtf2nbrexx3vqjhp41\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"tags\"","#7EE787"],[": {},","#C9D1D9"],"\n  ",["\"scheduledFor\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],[",","#C9D1D9"],"\n  ",["\"createdAt\"","#7EE787"],[":","#C9D1D9"]," ",["\"2023-08-24T14:15:22Z\"","#A5D6FF"],[",","#C9D1D9"],"\n  ",["\"updatedAt\"","#7EE787"],[":","#C9D1D9"]," ",["\"2023-08-24T14:15:22Z\"","#A5D6FF"],[",","#C9D1D9"],"\n  ",["\"deletedAt\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}}}}}},{"responseCode":"400","schema":{"x-twilio-version":1,"description":"This error indicates that the request content was malformed or ambiguous.","content":{"application/json":{"schema":{"x-twilio-version":1,"title":"TwilioErrors","type":"object","required":["errors"],"example":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21614","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The address specified in the request is not a valid phone number.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21614\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.to[0].address\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21617","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The concatenated message text exceeds the 1600 character limit\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21617\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.content.text\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}},"refName":"TwilioErrors","modelName":"TwilioErrors","properties":{"errors":{"description":"A list of one or more Twilio API errors.","type":"array","items":{"x-twilio-version":1,"title":"TwilioError","type":"object","description":"A generic error object communicating client and server side API errors.","required":["code","message","infoUrl","context"],"example":{"code":21614,"message":"The address specified in the request is not a valid phone number.","infoUrl":"/docs/api/errors/21614","context":"$.to[0].address"},"refName":"TwilioError","modelName":"TwilioError","properties":{"code":{"type":"integer","description":"The Twilio error code."},"message":{"type":"string","description":"A human readable message describing the error."},"infoUrl":{"type":"string","format":"uri","description":"A URL to a [Twilio error directory](/docs/api/errors) page with more information about the error code."},"context":{"description":"A JSON path that identifies the errant field.","type":["string","null"]}}}}}},"examples":{"ResourceNotFound":{"summary":"Resource not found","value":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 20404,\n      \"message\": \"Not Found\",\n      \"infoUrl\": \"/docs/api/errors/20404\",\n      \"context\": \"null\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 20404,\n      \"message\": \"Not Found\",\n      \"infoUrl\": \"/docs/api/errors/20404\",\n      \"context\": \"null\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["20404","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"Not Found\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/20404\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"null\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}}}},"refName":"#/components/responses/Http400Response","modelName":"__components_responses_Http400Response"}},{"responseCode":"404","schema":{"x-twilio-version":1,"description":"This error indicates that the requested resource was not found.","content":{"application/json":{"schema":{"x-twilio-version":1,"title":"TwilioErrors","type":"object","required":["errors"],"example":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21614","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The address specified in the request is not a valid phone number.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21614\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.to[0].address\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21617","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The concatenated message text exceeds the 1600 character limit\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21617\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.content.text\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}},"refName":"TwilioErrors","modelName":"TwilioErrors","properties":{"errors":{"description":"A list of one or more Twilio API errors.","type":"array","items":{"x-twilio-version":1,"title":"TwilioError","type":"object","description":"A generic error object communicating client and server side API errors.","required":["code","message","infoUrl","context"],"example":{"code":21614,"message":"The address specified in the request is not a valid phone number.","infoUrl":"/docs/api/errors/21614","context":"$.to[0].address"},"refName":"TwilioError","modelName":"TwilioError","properties":{"code":{"type":"integer","description":"The Twilio error code."},"message":{"type":"string","description":"A human readable message describing the error."},"infoUrl":{"type":"string","format":"uri","description":"A URL to a [Twilio error directory](/docs/api/errors) page with more information about the error code."},"context":{"description":"A JSON path that identifies the errant field.","type":["string","null"]}}}}}},"examples":{"ResourceNotFound":{"summary":"404 Response","value":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 20404,\n      \"message\": \"The resource was not found.\",\n      \"infoUrl\": \"/docs/api/errors/20404\",\n      \"context\": \"null\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 20404,\n      \"message\": \"The resource was not found.\",\n      \"infoUrl\": \"/docs/api/errors/20404\",\n      \"context\": \"null\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["20404","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The resource was not found.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/20404\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"null\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}}}},"refName":"#/components/responses/Http404Response","modelName":"__components_responses_Http404Response"}},{"responseCode":"429","schema":{"x-twilio-version":1,"description":"This error indicates that you have sent too many requests to the API. You should retry according to the `Retry-After` response header.","content":{"application/json":{"schema":{"x-twilio-version":1,"title":"TwilioErrors","type":"object","required":["errors"],"example":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21614","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The address specified in the request is not a valid phone number.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21614\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.to[0].address\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21617","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The concatenated message text exceeds the 1600 character limit\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21617\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.content.text\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}},"refName":"TwilioErrors","modelName":"TwilioErrors","properties":{"errors":{"description":"A list of one or more Twilio API errors.","type":"array","items":{"x-twilio-version":1,"title":"TwilioError","type":"object","description":"A generic error object communicating client and server side API errors.","required":["code","message","infoUrl","context"],"example":{"code":21614,"message":"The address specified in the request is not a valid phone number.","infoUrl":"/docs/api/errors/21614","context":"$.to[0].address"},"refName":"TwilioError","modelName":"TwilioError","properties":{"code":{"type":"integer","description":"The Twilio error code."},"message":{"type":"string","description":"A human readable message describing the error."},"infoUrl":{"type":"string","format":"uri","description":"A URL to a [Twilio error directory](/docs/api/errors) page with more information about the error code."},"context":{"description":"A JSON path that identifies the errant field.","type":["string","null"]}}}}}},"examples":{"TooManyRequests":{"summary":"Too Many Requests","value":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 20429,\n      \"message\": \"Too many requests. Please retry according to the Retry-After response header.\",\n      \"infoUrl\": \"/docs/api/errors/20429\",\n      \"context\": \"null\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 20429,\n      \"message\": \"Too many requests. Please retry according to the Retry-After response header.\",\n      \"infoUrl\": \"/docs/api/errors/20429\",\n      \"context\": \"null\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["20429","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"Too many requests. Please retry according to the Retry-After response header.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/20429\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"null\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}}}},"headers":{"Retry-After":{"schema":{"type":"string"},"description":"The amount of time in seconds that the customer should wait before issuing a new request towards the API."}},"refName":"#/components/responses/Http429Response","modelName":"__components_responses_Http429Response"}},{"responseCode":"500","schema":{"x-twilio-version":1,"description":"This error indicates that the Twilio API is experiencing server-side issues. The request should not be retried.","content":{"application/json":{"schema":{"x-twilio-version":1,"title":"TwilioErrors","type":"object","required":["errors"],"example":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21614","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The address specified in the request is not a valid phone number.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21614\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.to[0].address\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21617","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The concatenated message text exceeds the 1600 character limit\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21617\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.content.text\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}},"refName":"TwilioErrors","modelName":"TwilioErrors","properties":{"errors":{"description":"A list of one or more Twilio API errors.","type":"array","items":{"x-twilio-version":1,"title":"TwilioError","type":"object","description":"A generic error object communicating client and server side API errors.","required":["code","message","infoUrl","context"],"example":{"code":21614,"message":"The address specified in the request is not a valid phone number.","infoUrl":"/docs/api/errors/21614","context":"$.to[0].address"},"refName":"TwilioError","modelName":"TwilioError","properties":{"code":{"type":"integer","description":"The Twilio error code."},"message":{"type":"string","description":"A human readable message describing the error."},"infoUrl":{"type":"string","format":"uri","description":"A URL to a [Twilio error directory](/docs/api/errors) page with more information about the error code."},"context":{"description":"A JSON path that identifies the errant field.","type":["string","null"]}}}}}},"examples":{"InternalServerError":{"summary":"Internal Server Error","value":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 20500,\n      \"message\": \"Internal server error.\",\n      \"infoUrl\": \"/docs/api/errors/20500\",\n      \"context\": \"null\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 20500,\n      \"message\": \"Internal server error.\",\n      \"infoUrl\": \"/docs/api/errors/20500\",\n      \"context\": \"null\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["20500","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"Internal server error.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/20500\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"null\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}}}},"refName":"#/components/responses/Http500Response","modelName":"__components_responses_Http500Response"}},{"responseCode":"503","schema":{"x-twilio-version":1,"description":"This error indicates that the Twilio API is temporarily unavailable.  You should retry according to the `Retry-After` response header.","content":{"application/json":{"schema":{"x-twilio-version":1,"title":"TwilioErrors","type":"object","required":["errors"],"example":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21614","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The address specified in the request is not a valid phone number.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21614\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.to[0].address\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21617","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The concatenated message text exceeds the 1600 character limit\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21617\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.content.text\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}},"refName":"TwilioErrors","modelName":"TwilioErrors","properties":{"errors":{"description":"A list of one or more Twilio API errors.","type":"array","items":{"x-twilio-version":1,"title":"TwilioError","type":"object","description":"A generic error object communicating client and server side API errors.","required":["code","message","infoUrl","context"],"example":{"code":21614,"message":"The address specified in the request is not a valid phone number.","infoUrl":"/docs/api/errors/21614","context":"$.to[0].address"},"refName":"TwilioError","modelName":"TwilioError","properties":{"code":{"type":"integer","description":"The Twilio error code."},"message":{"type":"string","description":"A human readable message describing the error."},"infoUrl":{"type":"string","format":"uri","description":"A URL to a [Twilio error directory](/docs/api/errors) page with more information about the error code."},"context":{"description":"A JSON path that identifies the errant field.","type":["string","null"]}}}}}},"examples":{"ServiceUnavailable":{"summary":"Service Unavailable","value":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 20503,\n      \"message\": \"Service unavailable.\",\n      \"infoUrl\": \"/docs/api/errors/20503\",\n      \"context\": \"null\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 20503,\n      \"message\": \"Service unavailable.\",\n      \"infoUrl\": \"/docs/api/errors/20503\",\n      \"context\": \"null\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["20503","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"Service unavailable.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/20503\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"null\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}}}},"headers":{"Retry-After":{"schema":{"type":"string"},"description":"The amount of time in seconds that the customer should wait before issuing a new request towards the API."}},"refName":"#/components/responses/Http503Response","modelName":"__components_responses_Http503Response"}}]} path="https://comms.twilio.com/v1/Messages/{messageId}" method="get" specType="comms" />

Fetch a Message

```ts
import { TwilioClient } from "twilio-comms";

async function main() {
    const client = new TwilioClient({
        accountId: "TWILIO_ACCOUNT_SID",
        authToken: "TWILIO_AUTH_TOKEN",
    });
    await client.messages.fetch("comms_message_01h9krwprkeee8fzqspvwy6nq8");
}
main();
```

```py
from twilio_comms import TwilioComms

client = TwilioComms(
    account_id="TWILIO_ACCOUNT_SID",
    auth_token="TWILIO_AUTH_TOKEN",
)

client.messages.fetch(
    message_id="comms_message_01h9krwprkeee8fzqspvwy6nq8",
)
```

```cs
using Twilio.Comms;
using System.Threading.Tasks;

public partial class Examples
{
    public async Task Example() {
        var client = new TwilioComms(
            accountId: "TWILIO_ACCOUNT_SID",
            authToken: "TWILIO_AUTH_TOKEN"
        );

        await client.Messages.FetchAsync(
            "comms_message_01h9krwprkeee8fzqspvwy6nq8"
        );
    }

}
```

```java
package com.example.usage;

import com.twilio.sdk.TwilioComms;

public class Example {
    public static void main(String[] args) {
        TwilioComms client = TwilioComms
            .builder()
            .credentials("TWILIO_ACCOUNT_SID", "TWILIO_AUTH_TOKEN")
            .build();

        client.messages().fetch("comms_message_01h9krwprkeee8fzqspvwy6nq8");
    }
}
```

```go
package example

import (
    context "context"

    client "github.com/twilio/twilio-comms-go/twilio/client"
    option "github.com/twilio/twilio-comms-go/twilio/option"
)

func do() {
    client := client.NewWithOptions(
        option.WithBasicAuth(
            "TWILIO_ACCOUNT_SID",
            "TWILIO_AUTH_TOKEN",
        ),
    )
    client.Messages.Fetch(
        context.TODO(),
        "comms_message_01h9krwprkeee8fzqspvwy6nq8",
    )
}
```

```php
<?php

namespace Example;

use Twilio\Comms\TwilioComms;

$client = new TwilioComms(
    accountId: 'TWILIO_ACCOUNT_SID',
    authToken: 'TWILIO_AUTH_TOKEN',
);
$client->messages->fetch(
    'comms_message_01h9krwprkeee8fzqspvwy6nq8',
);
```

```rb
require "twiliocomms"

client = TwilioComms::Client.new(
  account_id: "TWILIO_ACCOUNT_SID",
  auth_token: "TWILIO_AUTH_TOKEN"
)

client.messages.fetch(message_id: "comms_message_01h9krwprkeee8fzqspvwy6nq8")
```

```bash
curl -X GET "https://comms.twilio.com/v1/Messages/comms_message_01h9krwprkeee8fzqspvwy6nq8" \
-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
```

## List Messages

`GET https://comms.twilio.com/v1/Messages`

Retrieve a list of Messages. Use query parameters to filter results by operation, channel, status, date range, and more.

### Query parameters

````json
[{"in":"query","name":"operationId","description":"Filter Messages by Operation ID.","x-twilio-version":1,"schema":{"x-twilio-version":1,"description":"The Operation ID is an identifier that can be used to correlate all of the\nresources created in a request.\n\nIssue a GET request to the resource list location, using the Operation ID as a query parameter\nto retrieve the resources that correlate with the Operation.","title":"OperationId","type":"string","pattern":"^comms_operation_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_operation_01h9krwprkeee8fzqspvwy6nq8","refName":"OperationId","modelName":""}},{"in":"query","name":"sessionId","description":"Filter Messages by Session ID.","x-twilio-version":1,"schema":{"x-twilio-version":1,"title":"SessionId","description":"A reference to a Session.","type":"string","pattern":"^comms_session_[a-hjkmnpqrstv-z0-9]{26,34}","example":"comms_session_01h9krwprkeee8fzqspvwy6nq8","refName":"SessionId","modelName":""}},{"in":"query","name":"startDate","description":"Filter to Messages created after the specified date and time in ISO 8601 format. The date is in RFC3339 format. (e.g., 2025-06-18T12:00:00Z)","x-twilio-version":1,"schema":{"type":"string","format":"date-time"}},{"in":"query","name":"endDate","description":"Filter to Messages created before the specified date and time in ISO 8601 format. The date is in RFC3339 format and must be greater  than startDate if provided. (e.g., 2025-06-18T12:00:00Z)","x-twilio-version":1,"schema":{"type":"string","format":"date-time"}},{"in":"query","name":"profile","description":"Filter Messages sent or received by Profile ID.","x-twilio-version":1,"schema":{"x-twilio-version":1,"title":"ProfileId","description":"A reference to a Profile","type":"string","pattern":"^mem_profile_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_profile_01h9krwprkeee8fzqspvwy6nq8","refName":"ProfileId","modelName":""}},{"in":"query","name":"channel","description":"Filter Messages by channel.","x-twilio-version":1,"schema":{"x-twilio-version":1,"title":"MessageSenderChannel","description":"The channels available for Message entity.","type":"string","enum":["SMS","RCS","WHATSAPP"],"example":"SMS","refName":"MessageSenderChannel","modelName":"MessageSenderChannel"}},{"in":"query","name":"status","description":"Filter Messages by Delivery Status.","x-twilio-version":1,"schema":{"x-twilio-version":1,"title":"MessageStatus","description":"The status of a `Message`. The status can be one of the following:\n- `SCHEDULED` The `Message` is scheduled to be sent by\n  Twilio in the future.\n\n- `QUEUED` The `Message` is queued in Twilio for sending.\n- `SENT` The `Message` has been sent by Twilio.\n- `DELIVERED` The `Message` has been successfully\n    delivered to the recipient.\n\n- `READ` The `Message` has been read by the recipient.\n- `UNDELIVERED` The `Message` was successfully sent by Twilio\n  but have not been delivered to the recipient.\n\n- `FAILED` The `Message` processing failed inside Twilio.\n  Use `GET /Messages/Operations/{operationId}/Errors` for more details.\n\n- `CANCELED` The `Message` was canceled via API request.\n- `GROUP` The `Message` is part of a group communication.\n  To get the status for each Recipient of the group communication, use the `Receipts` endpoint\n  e.g. GET `/Messages/comms_message_01h2xcejqtf2nbrexx3vqjhp41/Receipts`\n\n- `INBOUND` The `Message` was received by Twilio from an external source.","type":"string","enum":["QUEUED","SENT","SCHEDULED","DELIVERED","READ","FAILED","UNDELIVERED","CANCELED","GROUP","INBOUND"],"refName":"MessageStatus","modelName":"MessageStatus"}},{"in":"query","name":"tags","description":"Match messages by one or many tags. If more than one tag is specified in the query, the search will return messages that have all the tags.\nFor Example: ``` GET /Messages?tags=region:EMEA;campaign:BUY_STUFF; ```","x-twilio-version":1,"schema":{"x-twilio-version":1,"title":"TagsString","type":"string","description":"Custom metadata in the form of key-value pairs.\nMust be in the key value format: key1:value;key2:value;\n\nExample:\n```json\n{\n  \"key1\":\"value1\",\n  \"key2\":\"value2\"\n}\n```\n\nShould be inputted as:\n```\n?tags=key1:value;key2:value;\n```","pattern":"^(?:[a-zA-Z0-9._~-]+:[a-zA-Z0-9._~-]+;){1,10}$","example":"key_1:value;key_2:value;","refName":"TagsString","modelName":""}},{"in":"query","name":"pageToken","description":"The token to retrieve the next page of results.","x-twilio-version":1,"schema":{"x-twilio-version":1,"description":"The token that identifies the page of resources to fetch.","title":"PageToken","type":"string","refName":"PageToken","modelName":""}},{"in":"query","name":"pageSize","description":"The number of resources to return in a page.","x-twilio-version":1,"schema":{"x-twilio-version":1,"description":"Total number of items returned in a single page, the minimum is 1 and maximum is 1000. Default is 50.","title":"PageSize","type":"integer","minimum":1,"maximum":1000,"default":50,"example":50,"refName":"PageSize","modelName":""}}]
````

### Responses

<OperationResponse responses={[{"responseCode":"200","schema":{"description":"OK","content":{"application/json":{"schema":{"title":"ListMessagesResponse","description":"A list of Messages and pagination metadata.","x-twilio-version":1,"type":"object","required":["messages","pagination"],"properties":{"messages":{"type":"array","description":"A list of Messages.","items":{"x-twilio-version":1,"title":"MessageMetadata","type":"object","description":"The MessageMetadata provides information about the Message but does not include the Content or Attempts.","required":["id","from","to","status","related","tags","scheduledFor","createdAt","updatedAt","deletedAt"],"refName":"MessageBase","modelName":"MessageBase","properties":{"id":{"x-twilio-version":1,"description":"A reference to a Message.","title":"MessageId","type":"string","pattern":"^comms_message_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_message_01h9krwprkeee8fzqspvwy6nq8","refName":"MessageId","modelName":""},"from":{"title":"MessageFrom","description":"The sender of the Message.","oneOf":[{"x-twilio-version":1,"title":"MessageSender","description":"A Message Sender is a person or entity whose communication identity is hosted by Twilio.","type":"object","properties":{"address":{"description":"The identifier within a channel address space for a Sender (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageSenderChannel","description":"The channels available for Message entity.","type":"string","enum":["SMS","RCS","WHATSAPP"],"example":"SMS","refName":"MessageSenderChannel","modelName":"MessageSenderChannel"},"senderId":{"x-twilio-version":1,"description":"A reference to a Sender.","title":"SenderId","type":"string","pattern":"^comms_sender_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_sender_01h9krwprkeee8fzqspvwy6nq8","refName":"SenderId","modelName":""}},"required":["address","channel","senderId"],"additionalProperties":false,"refName":"MessageSender","modelName":"MessageSender"},{"x-twilio-version":1,"title":"MessageSenderAndPool","description":"A Message Sender is a person or entity whose communication identity is hosted by Twilio. The `senderPoolId` field indicates the pool for which the `Sender` was resolved from.","type":"object","properties":{"address":{"description":"The identifier within a channel address space for a Sender (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageSenderChannel","description":"The channels available for Message entity.","type":"string","enum":["SMS","RCS","WHATSAPP"],"example":"SMS","refName":"MessageSenderChannel","modelName":"MessageSenderChannel"},"senderId":{"x-twilio-version":1,"description":"A reference to a Sender.","title":"SenderId","type":"string","pattern":"^comms_sender_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_sender_01h9krwprkeee8fzqspvwy6nq8","refName":"SenderId","modelName":""},"senderPoolId":{"x-twilio-version":1,"description":"A reference to a SenderPool.","title":"SenderPoolId","type":"string","pattern":"^comms_senderpool_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8","refName":"SenderPoolId","modelName":""}},"required":["address","channel","senderId","senderPoolId"],"refName":"MessageSenderAndPool","modelName":"MessageSenderAndPool"},{"x-twilio-version":1,"title":"MessageProfile","description":"A Message Profile is a person or entity that is not hosted by Twilio.","type":"object","properties":{"address":{"description":"The identifier within a channel address space for a Profile (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageProfileChannel","description":"The channels available for specifying a Message Profile.\n\n- `PHONE`: Includes SMS, MMS, and RCS, pair it with a phone number in the `address` field.\n\n- `WHATSAPP`: WhatsApp channel, pair it with a WhatsApp number in the `address` field.","type":"string","enum":["PHONE","WHATSAPP"],"example":"PHONE","refName":"MessageProfileChannel","modelName":"MessageProfileChannel"},"profileId":{"x-twilio-version":1,"title":"ProfileId","description":"A reference to a Profile","type":"string","pattern":"^mem_profile_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_profile_01h9krwprkeee8fzqspvwy6nq8","refName":"ProfileId","modelName":""},"memoryStoreId":{"x-twilio-version":1,"title":"MemoryStoreId","description":"A reference to a Memory Store","type":"string","pattern":"^mem_store_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_store_00000000000000000000000000","refName":"MemoryStoreId","modelName":""}},"required":["address","channel","profileId","memoryStoreId"],"additionalProperties":false,"refName":"MessageProfile","modelName":"MessageProfile"},{"x-twilio-version":1,"title":"MessageAddress","description":"A messaging address and channel.","type":"object","properties":{"address":{"type":"string","description":"The communication address within a Messaging channel, such as a phone number."},"channel":{"x-twilio-version":1,"title":"MessageAddressChannel","description":"The corresponding channel name for a Message address.\n\n- `PHONE`: Includes SMS, MMS, and RCS, pair it with a phone number in the `address` field.\n\n- `WHATSAPP`: WhatsApp channel, pair it with a WhatsApp number in the `address` field.","type":"string","enum":["PHONE","WHATSAPP"],"example":"PHONE","refName":"MessageAddressChannel","modelName":"MessageAddressChannel"}},"required":["address","channel"],"additionalProperties":false,"refName":"MessageAddress","modelName":"MessageAddress"}]},"to":{"title":"MessageRecipients","description":"The list of recipient(s) that the Message was directed to. \n\n- This list is always of size 1, except for Group Messaging usage, \nwhere the number of recipients plus the sender will match the group size.","type":"array","items":{"oneOf":[{"x-twilio-version":1,"title":"MessageAddress","description":"A messaging address and channel.","type":"object","properties":{"address":{"type":"string","description":"The communication address within a Messaging channel, such as a phone number."},"channel":{"x-twilio-version":1,"title":"MessageAddressChannel","description":"The corresponding channel name for a Message address.\n\n- `PHONE`: Includes SMS, MMS, and RCS, pair it with a phone number in the `address` field.\n\n- `WHATSAPP`: WhatsApp channel, pair it with a WhatsApp number in the `address` field.","type":"string","enum":["PHONE","WHATSAPP"],"example":"PHONE","refName":"MessageAddressChannel","modelName":"MessageAddressChannel"}},"required":["address","channel"],"additionalProperties":false,"refName":"MessageAddress","modelName":"MessageAddress"},{"x-twilio-version":1,"title":"MessageSender","description":"A Message Sender is a person or entity whose communication identity is hosted by Twilio.","type":"object","properties":{"address":{"description":"The identifier within a channel address space for a Sender (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageSenderChannel","description":"The channels available for Message entity.","type":"string","enum":["SMS","RCS","WHATSAPP"],"example":"SMS","refName":"MessageSenderChannel","modelName":"MessageSenderChannel"},"senderId":{"x-twilio-version":1,"description":"A reference to a Sender.","title":"SenderId","type":"string","pattern":"^comms_sender_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"comms_sender_01h9krwprkeee8fzqspvwy6nq8","refName":"SenderId","modelName":""}},"required":["address","channel","senderId"],"additionalProperties":false,"refName":"MessageSender","modelName":"MessageSender"},{"x-twilio-version":1,"title":"MessageProfile","description":"A Message Profile is a person or entity that is not hosted by Twilio.","type":"object","properties":{"address":{"description":"The identifier within a channel address space for a Profile (e.g. phone number)","type":"string"},"channel":{"x-twilio-version":1,"title":"MessageProfileChannel","description":"The channels available for specifying a Message Profile.\n\n- `PHONE`: Includes SMS, MMS, and RCS, pair it with a phone number in the `address` field.\n\n- `WHATSAPP`: WhatsApp channel, pair it with a WhatsApp number in the `address` field.","type":"string","enum":["PHONE","WHATSAPP"],"example":"PHONE","refName":"MessageProfileChannel","modelName":"MessageProfileChannel"},"profileId":{"x-twilio-version":1,"title":"ProfileId","description":"A reference to a Profile","type":"string","pattern":"^mem_profile_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_profile_01h9krwprkeee8fzqspvwy6nq8","refName":"ProfileId","modelName":""},"memoryStoreId":{"x-twilio-version":1,"title":"MemoryStoreId","description":"A reference to a Memory Store","type":"string","pattern":"^mem_store_[0-7][a-hjkmnpqrstv-z0-9]{25,34}","example":"mem_store_00000000000000000000000000","refName":"MemoryStoreId","modelName":""}},"required":["address","channel","profileId","memoryStoreId"],"additionalProperties":false,"refName":"MessageProfile","modelName":"MessageProfile"}]}},"status":{"x-twilio-version":1,"title":"MessageStatus","description":"The status of a `Message`. The status can be one of the following:\n- `SCHEDULED` The `Message` is scheduled to be sent by\n  Twilio in the future.\n\n- `QUEUED` The `Message` is queued in Twilio for sending.\n- `SENT` The `Message` has been sent by Twilio.\n- `DELIVERED` The `Message` has been successfully\n    delivered to the recipient.\n\n- `READ` The `Message` has been read by the recipient.\n- `UNDELIVERED` The `Message` was successfully sent by Twilio\n  but have not been delivered to the recipient.\n\n- `FAILED` The `Message` processing failed inside Twilio.\n  Use `GET /Messages/Operations/{operationId}/Errors` for more details.\n\n- `CANCELED` The `Message` was canceled via API request.\n- `GROUP` The `Message` is part of a group communication.\n  To get the status for each Recipient of the group communication, use the `Receipts` endpoint\n  e.g. GET `/Messages/comms_message_01h2xcejqtf2nbrexx3vqjhp41/Receipts`\n\n- `INBOUND` The `Message` was received by Twilio from an external source.","type":"string","enum":["QUEUED","SENT","SCHEDULED","DELIVERED","READ","FAILED","UNDELIVERED","CANCELED","GROUP","INBOUND"],"refName":"MessageStatus","modelName":"MessageStatus"},"related":{"title":"MessageRelatedResources","description":"A list of resources that are associated with the Message.","type":"array","items":{"x-twilio-version":1,"title":"RelatedResource","type":"object","description":"A reference to a related resource.","refName":"RelatedResource","modelName":"RelatedResource","properties":{"name":{"type":"string","description":"The name of the related resource.","enum":["EMAIL","MESSAGE","PUSH_NOTIFICATION","SESSION","MEDIA","SENDER","SENDER_POOL","OPERATION","ENGAGEMENT","CREDENTIAL","PUSH_NOTIFICATION_APP","PUSH_NOTIFICATION_USER","DEVICE_REGISTRATION"]},"id":{"description":"The identifier of the related resource.","type":"string"},"uri":{"description":"The path to the related resource.","type":"string"}}}},"tags":{"x-twilio-version":1,"title":"Tags","type":"object","description":"Custom metadata in the form of key-value pairs.\nMaximum size of a tag key is 128 characters.\nMaximum size of a tag value is 256 characters.\nThere can be a maximum of 10 key-value pairs.\n\nThis field can be templated with [Liquid](https://shopify.github.io/liquid/).\nSpecify `variables` with each recipient for personalization.","maxProperties":10,"propertyNames":{"type":"string","maxLength":128,"pattern":"^[a-zA-Z0-9._~-]+$"},"refName":"Tags","modelName":"","additionalProperties":{"type":"string","maxLength":256,"pattern":"^[a-zA-Z0-9._~-]+$"}},"createdAt":{"description":"The date and time when the entity was created.","type":"string","format":"date-time"},"updatedAt":{"description":"The date and time when the entity was last updated.","type":"string","format":"date-time"},"scheduledFor":{"description":"The scheduled send time of the `Message`.\nThis field is only present if the `Message` was created with a `schedule`.","type":["string","null"]}}}},"pagination":{"x-twilio-version":1,"title":"PaginationMetadata","description":"Metadata for paginated results. \nThis object contains two tokens to navigate through paginated results. \n- Use `next` to retrieve the 'next' page in the result list.\n- Use `self` to retrieve the same page of the result list again. \n- Supply the token in the `pageToken` query param.","type":"object","required":["next","self"],"refName":"PaginationMetadata","modelName":"PaginationMetadata","properties":{"next":{"description":"Token for the next page of results. \nSupply the token in the `pageToken` query param.","type":["string","null"]},"self":{"description":"Token for the current page of results. \nSupply the token in the `pageToken` query param.","type":"string"}}}}},"examples":{"ListMessagesInOperationWithMixedChannels":{"summary":"List with one sms and one whatsapp message","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"messages\": [\n    {\n      \"id\": \"comms_message_01h2xcejqtf2nbrexx3vqjhp41\",\n      \"from\": {\n        \"address\": \"+12065558844\",\n        \"channel\": \"SMS\",\n        \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\",\n        \"senderPoolId\": \"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\"\n      },\n      \"to\": [\n        {\n          \"address\": \"+14153901002\",\n          \"channel\": \"PHONE\",\n          \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq7\",\n          \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n        }\n      ],\n      \"status\": \"SENT\",\n      \"related\": [\n        {\n          \"name\": \"OPERATION\",\n          \"id\": \"comms_operation_01h2xcejqtf2nbrexx3vqjhp41\",\n          \"uri\": \"https://comms.twilio.com/v1/Messages/Operations/comms_operation_01h2xcejqtf2nbrexx3vqjhp41\"\n        }\n      ],\n      \"tags\": {},\n      \"scheduledFor\": null,\n      \"createdAt\": \"2023-08-24T14:15:22Z\",\n      \"updatedAt\": \"2023-08-24T14:15:22Z\",\n      \"deletedAt\": null\n    },\n    {\n      \"id\": \"comms_message_01h2xcejqtf2nbrexx3vqjhp41\",\n      \"from\": {\n        \"address\": \"+12065558844\",\n        \"channel\": \"WHATSAPP\",\n        \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n      },\n      \"to\": [\n        {\n          \"address\": \"+14153901002\",\n          \"channel\": \"PHONE\",\n          \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq7\",\n          \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n        }\n      ],\n      \"status\": \"SENT\",\n      \"related\": [\n        {\n          \"name\": \"OPERATION\",\n          \"id\": \"comms_operation_01h2xcejqtf2nbrexx3vqjhp41\",\n          \"uri\": \"https://comms.twilio.com/v1/Messages/Operations/comms_operation_01h2xcejqtf2nbrexx3vqjhp41\"\n        }\n      ],\n      \"tags\": {},\n      \"scheduledFor\": null,\n      \"createdAt\": \"2023-08-24T14:15:22Z\",\n      \"updatedAt\": \"2023-08-24T14:15:22Z\",\n      \"deletedAt\": null\n    }\n  ],\n  \"pagination\": {\n    \"next\": null,\n    \"self\": \"eyJTSyI6IkEjMDFqbmVoYm5xYWZmNDlrazUxZHA1bmN5bXciLCJTSzEiOiJBI2FjdGl2YXRlZCMyMDI1LTAzLTAzVDE3OjM3OjQ3WiMwMWpuZWhibnFhZmY0OWtrNTFkcDVuY3ltdyIsIlBLIjoiQyNBQzYwMzg4ODJiZDY5ZWIyNGM4YzU4ZGI5NjE4NjE3OTE4I0EifQ==\"\n  }\n}","meta":"","code":"{\n  \"messages\": [\n    {\n      \"id\": \"comms_message_01h2xcejqtf2nbrexx3vqjhp41\",\n      \"from\": {\n        \"address\": \"+12065558844\",\n        \"channel\": \"SMS\",\n        \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\",\n        \"senderPoolId\": \"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\"\n      },\n      \"to\": [\n        {\n          \"address\": \"+14153901002\",\n          \"channel\": \"PHONE\",\n          \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq7\",\n          \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n        }\n      ],\n      \"status\": \"SENT\",\n      \"related\": [\n        {\n          \"name\": \"OPERATION\",\n          \"id\": \"comms_operation_01h2xcejqtf2nbrexx3vqjhp41\",\n          \"uri\": \"https://comms.twilio.com/v1/Messages/Operations/comms_operation_01h2xcejqtf2nbrexx3vqjhp41\"\n        }\n      ],\n      \"tags\": {},\n      \"scheduledFor\": null,\n      \"createdAt\": \"2023-08-24T14:15:22Z\",\n      \"updatedAt\": \"2023-08-24T14:15:22Z\",\n      \"deletedAt\": null\n    },\n    {\n      \"id\": \"comms_message_01h2xcejqtf2nbrexx3vqjhp41\",\n      \"from\": {\n        \"address\": \"+12065558844\",\n        \"channel\": \"WHATSAPP\",\n        \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n      },\n      \"to\": [\n        {\n          \"address\": \"+14153901002\",\n          \"channel\": \"PHONE\",\n          \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq7\",\n          \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n        }\n      ],\n      \"status\": \"SENT\",\n      \"related\": [\n        {\n          \"name\": \"OPERATION\",\n          \"id\": \"comms_operation_01h2xcejqtf2nbrexx3vqjhp41\",\n          \"uri\": \"https://comms.twilio.com/v1/Messages/Operations/comms_operation_01h2xcejqtf2nbrexx3vqjhp41\"\n        }\n      ],\n      \"tags\": {},\n      \"scheduledFor\": null,\n      \"createdAt\": \"2023-08-24T14:15:22Z\",\n      \"updatedAt\": \"2023-08-24T14:15:22Z\",\n      \"deletedAt\": null\n    }\n  ],\n  \"pagination\": {\n    \"next\": null,\n    \"self\": \"eyJTSyI6IkEjMDFqbmVoYm5xYWZmNDlrazUxZHA1bmN5bXciLCJTSzEiOiJBI2FjdGl2YXRlZCMyMDI1LTAzLTAzVDE3OjM3OjQ3WiMwMWpuZWhibnFhZmY0OWtrNTFkcDVuY3ltdyIsIlBLIjoiQyNBQzYwMzg4ODJiZDY5ZWIyNGM4YzU4ZGI5NjE4NjE3OTE4I0EifQ==\"\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"messages\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"id\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_message_01h2xcejqtf2nbrexx3vqjhp41\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558844\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"SMS\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"senderId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"senderPoolId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_senderpool_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n      ",["},","#C9D1D9"],"\n      ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["{","#C9D1D9"],"\n          ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+14153901002\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq7\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],"\n        ",["}","#C9D1D9"],"\n      ",["],","#C9D1D9"],"\n      ",["\"status\"","#7EE787"],[":","#C9D1D9"]," ",["\"SENT\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"related\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["{","#C9D1D9"],"\n          ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"OPERATION\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"id\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_operation_01h2xcejqtf2nbrexx3vqjhp41\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"uri\"","#7EE787"],[":","#C9D1D9"]," ",["\"https://comms.twilio.com/v1/Messages/Operations/comms_operation_01h2xcejqtf2nbrexx3vqjhp41\"","#A5D6FF"],"\n        ",["}","#C9D1D9"],"\n      ",["],","#C9D1D9"],"\n      ",["\"tags\"","#7EE787"],[": {},","#C9D1D9"],"\n      ",["\"scheduledFor\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"createdAt\"","#7EE787"],[":","#C9D1D9"]," ",["\"2023-08-24T14:15:22Z\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"updatedAt\"","#7EE787"],[":","#C9D1D9"]," ",["\"2023-08-24T14:15:22Z\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"deletedAt\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"id\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_message_01h2xcejqtf2nbrexx3vqjhp41\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558844\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"WHATSAPP\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"senderId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n      ",["},","#C9D1D9"],"\n      ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["{","#C9D1D9"],"\n          ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+14153901002\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq7\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],"\n        ",["}","#C9D1D9"],"\n      ",["],","#C9D1D9"],"\n      ",["\"status\"","#7EE787"],[":","#C9D1D9"]," ",["\"SENT\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"related\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["{","#C9D1D9"],"\n          ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"OPERATION\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"id\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_operation_01h2xcejqtf2nbrexx3vqjhp41\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"uri\"","#7EE787"],[":","#C9D1D9"]," ",["\"https://comms.twilio.com/v1/Messages/Operations/comms_operation_01h2xcejqtf2nbrexx3vqjhp41\"","#A5D6FF"],"\n        ",["}","#C9D1D9"],"\n      ",["],","#C9D1D9"],"\n      ",["\"tags\"","#7EE787"],[": {},","#C9D1D9"],"\n      ",["\"scheduledFor\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"createdAt\"","#7EE787"],[":","#C9D1D9"]," ",["\"2023-08-24T14:15:22Z\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"updatedAt\"","#7EE787"],[":","#C9D1D9"]," ",["\"2023-08-24T14:15:22Z\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"deletedAt\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"pagination\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"next\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],[",","#C9D1D9"],"\n    ",["\"self\"","#7EE787"],[":","#C9D1D9"]," ",["\"eyJTSyI6IkEjMDFqbmVoYm5xYWZmNDlrazUxZHA1bmN5bXciLCJTSzEiOiJBI2FjdGl2YXRlZCMyMDI1LTAzLTAzVDE3OjM3OjQ3WiMwMWpuZWhibnFhZmY0OWtrNTFkcDVuY3ltdyIsIlBLIjoiQyNBQzYwMzg4ODJiZDY5ZWIyNGM4YzU4ZGI5NjE4NjE3OTE4I0EifQ==\"","#A5D6FF"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"ListMessagesFilterByProfile":{"summary":"List Messages filtered by Profile","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"messages\": [\n    {\n      \"id\": \"comms_message_01h2xcejqtf2nbrexx3vqjhp41\",\n      \"from\": {\n        \"address\": \"+12065558844\",\n        \"channel\": \"SMS\",\n        \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n      },\n      \"to\": [\n        {\n          \"address\": \"+14153901002\",\n          \"channel\": \"PHONE\",\n          \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq7\",\n          \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n        }\n      ],\n      \"related\": [\n        {\n          \"name\": \"OPERATION\",\n          \"id\": \"comms_operation_01h2xcejqtf2nbrexx3vqjhp41\",\n          \"uri\": \"https://comms.twilio.com/v1/Messages/Operations/comms_operation_01h2xcejqtf2nbrexx3vqjhp41\"\n        }\n      ],\n      \"status\": \"SENT\",\n      \"tags\": {},\n      \"scheduledFor\": null,\n      \"createdAt\": \"2023-08-24T14:15:22Z\",\n      \"updatedAt\": \"2023-08-24T14:15:22Z\",\n      \"deletedAt\": null\n    },\n    {\n      \"id\": \"comms_message_01h2xcejqtf2nbrexx3vqjhp41\",\n      \"from\": {\n        \"address\": \"+12065558844\",\n        \"channel\": \"SMS\",\n        \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n      },\n      \"to\": [\n        {\n          \"address\": \"+14153901002\",\n          \"channel\": \"PHONE\",\n          \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n          \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n        }\n      ],\n      \"status\": \"DELIVERED\",\n      \"related\": [\n        {\n          \"name\": \"OPERATION\",\n          \"id\": \"comms_operation_01h2xcejqtf2nbrexx3vqjhp41\",\n          \"uri\": \"https://comms.twilio.com/v1/Messages/Operations/comms_operation_01h2xcejqtf2nbrexx3vqjhp41\"\n        }\n      ],\n      \"tags\": {},\n      \"scheduledFor\": null,\n      \"createdAt\": \"2023-08-24T14:15:22Z\",\n      \"updatedAt\": \"2023-08-24T14:15:22Z\",\n      \"deletedAt\": null\n    }\n  ],\n  \"pagination\": {\n    \"next\": null,\n    \"self\": \"eyJTSyI6IkEjMDFqbmVoYm5xYWZmNDlrazUxZHA1bmN5bXciLCJTSzEiOiJBI2FjdGl2YXRlZCMyMDI1LTAzLTAzVDE3OjM3OjQ3WiMwMWpuZWhibnFhZmY0OWtrNTFkcDVuY3ltdyIsIlBLIjoiQyNBQzYwMzg4ODJiZDY5ZWIyNGM4YzU4ZGI5NjE4NjE3OTE4I0EifQ==\"\n  }\n}","meta":"","code":"{\n  \"messages\": [\n    {\n      \"id\": \"comms_message_01h2xcejqtf2nbrexx3vqjhp41\",\n      \"from\": {\n        \"address\": \"+12065558844\",\n        \"channel\": \"SMS\",\n        \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n      },\n      \"to\": [\n        {\n          \"address\": \"+14153901002\",\n          \"channel\": \"PHONE\",\n          \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq7\",\n          \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n        }\n      ],\n      \"related\": [\n        {\n          \"name\": \"OPERATION\",\n          \"id\": \"comms_operation_01h2xcejqtf2nbrexx3vqjhp41\",\n          \"uri\": \"https://comms.twilio.com/v1/Messages/Operations/comms_operation_01h2xcejqtf2nbrexx3vqjhp41\"\n        }\n      ],\n      \"status\": \"SENT\",\n      \"tags\": {},\n      \"scheduledFor\": null,\n      \"createdAt\": \"2023-08-24T14:15:22Z\",\n      \"updatedAt\": \"2023-08-24T14:15:22Z\",\n      \"deletedAt\": null\n    },\n    {\n      \"id\": \"comms_message_01h2xcejqtf2nbrexx3vqjhp41\",\n      \"from\": {\n        \"address\": \"+12065558844\",\n        \"channel\": \"SMS\",\n        \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n      },\n      \"to\": [\n        {\n          \"address\": \"+14153901002\",\n          \"channel\": \"PHONE\",\n          \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n          \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n        }\n      ],\n      \"status\": \"DELIVERED\",\n      \"related\": [\n        {\n          \"name\": \"OPERATION\",\n          \"id\": \"comms_operation_01h2xcejqtf2nbrexx3vqjhp41\",\n          \"uri\": \"https://comms.twilio.com/v1/Messages/Operations/comms_operation_01h2xcejqtf2nbrexx3vqjhp41\"\n        }\n      ],\n      \"tags\": {},\n      \"scheduledFor\": null,\n      \"createdAt\": \"2023-08-24T14:15:22Z\",\n      \"updatedAt\": \"2023-08-24T14:15:22Z\",\n      \"deletedAt\": null\n    }\n  ],\n  \"pagination\": {\n    \"next\": null,\n    \"self\": \"eyJTSyI6IkEjMDFqbmVoYm5xYWZmNDlrazUxZHA1bmN5bXciLCJTSzEiOiJBI2FjdGl2YXRlZCMyMDI1LTAzLTAzVDE3OjM3OjQ3WiMwMWpuZWhibnFhZmY0OWtrNTFkcDVuY3ltdyIsIlBLIjoiQyNBQzYwMzg4ODJiZDY5ZWIyNGM4YzU4ZGI5NjE4NjE3OTE4I0EifQ==\"\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"messages\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"id\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_message_01h2xcejqtf2nbrexx3vqjhp41\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558844\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"SMS\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"senderId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n      ",["},","#C9D1D9"],"\n      ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["{","#C9D1D9"],"\n          ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+14153901002\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq7\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],"\n        ",["}","#C9D1D9"],"\n      ",["],","#C9D1D9"],"\n      ",["\"related\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["{","#C9D1D9"],"\n          ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"OPERATION\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"id\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_operation_01h2xcejqtf2nbrexx3vqjhp41\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"uri\"","#7EE787"],[":","#C9D1D9"]," ",["\"https://comms.twilio.com/v1/Messages/Operations/comms_operation_01h2xcejqtf2nbrexx3vqjhp41\"","#A5D6FF"],"\n        ",["}","#C9D1D9"],"\n      ",["],","#C9D1D9"],"\n      ",["\"status\"","#7EE787"],[":","#C9D1D9"]," ",["\"SENT\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"tags\"","#7EE787"],[": {},","#C9D1D9"],"\n      ",["\"scheduledFor\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"createdAt\"","#7EE787"],[":","#C9D1D9"]," ",["\"2023-08-24T14:15:22Z\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"updatedAt\"","#7EE787"],[":","#C9D1D9"]," ",["\"2023-08-24T14:15:22Z\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"deletedAt\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"id\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_message_01h2xcejqtf2nbrexx3vqjhp41\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558844\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"SMS\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"senderId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n      ",["},","#C9D1D9"],"\n      ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["{","#C9D1D9"],"\n          ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+14153901002\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],"\n        ",["}","#C9D1D9"],"\n      ",["],","#C9D1D9"],"\n      ",["\"status\"","#7EE787"],[":","#C9D1D9"]," ",["\"DELIVERED\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"related\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["{","#C9D1D9"],"\n          ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"OPERATION\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"id\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_operation_01h2xcejqtf2nbrexx3vqjhp41\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"uri\"","#7EE787"],[":","#C9D1D9"]," ",["\"https://comms.twilio.com/v1/Messages/Operations/comms_operation_01h2xcejqtf2nbrexx3vqjhp41\"","#A5D6FF"],"\n        ",["}","#C9D1D9"],"\n      ",["],","#C9D1D9"],"\n      ",["\"tags\"","#7EE787"],[": {},","#C9D1D9"],"\n      ",["\"scheduledFor\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"createdAt\"","#7EE787"],[":","#C9D1D9"]," ",["\"2023-08-24T14:15:22Z\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"updatedAt\"","#7EE787"],[":","#C9D1D9"]," ",["\"2023-08-24T14:15:22Z\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"deletedAt\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"pagination\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"next\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],[",","#C9D1D9"],"\n    ",["\"self\"","#7EE787"],[":","#C9D1D9"]," ",["\"eyJTSyI6IkEjMDFqbmVoYm5xYWZmNDlrazUxZHA1bmN5bXciLCJTSzEiOiJBI2FjdGl2YXRlZCMyMDI1LTAzLTAzVDE3OjM3OjQ3WiMwMWpuZWhibnFhZmY0OWtrNTFkcDVuY3ltdyIsIlBLIjoiQyNBQzYwMzg4ODJiZDY5ZWIyNGM4YzU4ZGI5NjE4NjE3OTE4I0EifQ==\"","#A5D6FF"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}},"ListMessagesFilteredByInboundStatusAndProfile":{"summary":"List only inbound Messages from the same Profile","x-twilio-version":1,"value":{"lang":"json","value":"{\n  \"messages\": [\n    {\n      \"id\": \"comms_message_01h9krwprkeee8fzqspvwy6nq5\",\n      \"from\": {\n        \"address\": \"+12065558844\",\n        \"channel\": \"PHONE\",\n        \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n        \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n      },\n      \"to\": [\n        {\n          \"address\": \"+14155551002\",\n          \"channel\": \"SMS\",\n          \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n        }\n      ],\n      \"status\": \"INBOUND\",\n      \"related\": [\n        {\n          \"name\": \"SESSION\",\n          \"id\": \"comms_session_01h9krwprkeee8fzqspvwy6nq5\",\n          \"uri\": \"https://comms.twilio.com/v1/Sessions/comms_session_01h9krwprkeee8fzqspvwy6nq5\"\n        }\n      ],\n      \"tags\": {},\n      \"scheduledFor\": null,\n      \"createdAt\": \"2023-08-24T14:15:22Z\",\n      \"updatedAt\": \"2023-08-24T14:15:22Z\",\n      \"deletedAt\": null\n    },\n    {\n      \"id\": \"comms_message_01h9krwprkeee8fzqspvwy6nq6\",\n      \"from\": {\n        \"address\": \"+12065558844\",\n        \"channel\": \"SMS\",\n        \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n      },\n      \"to\": [\n        {\n          \"address\": \"+14155551003\",\n          \"channel\": \"PHONE\",\n          \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq7\",\n          \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n        }\n      ],\n      \"status\": \"INBOUND\",\n      \"related\": [\n        {\n          \"name\": \"SESSION\",\n          \"id\": \"comms_session_01h9krwprkeee8fzqspvwy6nq6\",\n          \"uri\": \"https://comms.twilio.com/v1/Sessions/comms_session_01h9krwprkeee8fzqspvwy6nq6\"\n        }\n      ],\n      \"tags\": {},\n      \"scheduledFor\": null,\n      \"createdAt\": \"2023-08-24T14:16:59Z\",\n      \"updatedAt\": \"2023-08-24T14:16:59Z\",\n      \"deletedAt\": null\n    }\n  ],\n  \"pagination\": {\n    \"next\": null,\n    \"self\": \"eyJTSyI6IkEjMDFqbmVoYm5xYWZmNDlrazUxZHA1bmN5bXciLCJTSzEiOiJBI2FjdGl2YXRlZCMyMDI1LTAzLTAzVDE3OjM3OjQ3WiMwMWpuZWhibnFhZmY0OWtrNTFkcDVuY3ltdyIsIlBLIjoiQyNBQzYwMzg4ODJiZDY5ZWIyNGM4YzU4ZGI5NjE4NjE3OTE4I0EifQ==\"\n  }\n}","meta":"","code":"{\n  \"messages\": [\n    {\n      \"id\": \"comms_message_01h9krwprkeee8fzqspvwy6nq5\",\n      \"from\": {\n        \"address\": \"+12065558844\",\n        \"channel\": \"PHONE\",\n        \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq8\",\n        \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n      },\n      \"to\": [\n        {\n          \"address\": \"+14155551002\",\n          \"channel\": \"SMS\",\n          \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n        }\n      ],\n      \"status\": \"INBOUND\",\n      \"related\": [\n        {\n          \"name\": \"SESSION\",\n          \"id\": \"comms_session_01h9krwprkeee8fzqspvwy6nq5\",\n          \"uri\": \"https://comms.twilio.com/v1/Sessions/comms_session_01h9krwprkeee8fzqspvwy6nq5\"\n        }\n      ],\n      \"tags\": {},\n      \"scheduledFor\": null,\n      \"createdAt\": \"2023-08-24T14:15:22Z\",\n      \"updatedAt\": \"2023-08-24T14:15:22Z\",\n      \"deletedAt\": null\n    },\n    {\n      \"id\": \"comms_message_01h9krwprkeee8fzqspvwy6nq6\",\n      \"from\": {\n        \"address\": \"+12065558844\",\n        \"channel\": \"SMS\",\n        \"senderId\": \"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"\n      },\n      \"to\": [\n        {\n          \"address\": \"+14155551003\",\n          \"channel\": \"PHONE\",\n          \"profileId\": \"mem_profile_01h9krwprkeee8fzqspvwy6nq7\",\n          \"memoryStoreId\": \"mem_store_00000000000000000000000000\"\n        }\n      ],\n      \"status\": \"INBOUND\",\n      \"related\": [\n        {\n          \"name\": \"SESSION\",\n          \"id\": \"comms_session_01h9krwprkeee8fzqspvwy6nq6\",\n          \"uri\": \"https://comms.twilio.com/v1/Sessions/comms_session_01h9krwprkeee8fzqspvwy6nq6\"\n        }\n      ],\n      \"tags\": {},\n      \"scheduledFor\": null,\n      \"createdAt\": \"2023-08-24T14:16:59Z\",\n      \"updatedAt\": \"2023-08-24T14:16:59Z\",\n      \"deletedAt\": null\n    }\n  ],\n  \"pagination\": {\n    \"next\": null,\n    \"self\": \"eyJTSyI6IkEjMDFqbmVoYm5xYWZmNDlrazUxZHA1bmN5bXciLCJTSzEiOiJBI2FjdGl2YXRlZCMyMDI1LTAzLTAzVDE3OjM3OjQ3WiMwMWpuZWhibnFhZmY0OWtrNTFkcDVuY3ltdyIsIlBLIjoiQyNBQzYwMzg4ODJiZDY5ZWIyNGM4YzU4ZGI5NjE4NjE3OTE4I0EifQ==\"\n  }\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"messages\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"id\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_message_01h9krwprkeee8fzqspvwy6nq5\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558844\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],"\n      ",["},","#C9D1D9"],"\n      ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["{","#C9D1D9"],"\n          ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+14155551002\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"SMS\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"senderId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n        ",["}","#C9D1D9"],"\n      ",["],","#C9D1D9"],"\n      ",["\"status\"","#7EE787"],[":","#C9D1D9"]," ",["\"INBOUND\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"related\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["{","#C9D1D9"],"\n          ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"SESSION\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"id\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_session_01h9krwprkeee8fzqspvwy6nq5\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"uri\"","#7EE787"],[":","#C9D1D9"]," ",["\"https://comms.twilio.com/v1/Sessions/comms_session_01h9krwprkeee8fzqspvwy6nq5\"","#A5D6FF"],"\n        ",["}","#C9D1D9"],"\n      ",["],","#C9D1D9"],"\n      ",["\"tags\"","#7EE787"],[": {},","#C9D1D9"],"\n      ",["\"scheduledFor\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"createdAt\"","#7EE787"],[":","#C9D1D9"]," ",["\"2023-08-24T14:15:22Z\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"updatedAt\"","#7EE787"],[":","#C9D1D9"]," ",["\"2023-08-24T14:15:22Z\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"deletedAt\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"id\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_message_01h9krwprkeee8fzqspvwy6nq6\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"from\"","#7EE787"],[": {","#C9D1D9"],"\n        ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+12065558844\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"SMS\"","#A5D6FF"],[",","#C9D1D9"],"\n        ",["\"senderId\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_sender_01h9krwprkeee8fzqspvwy6nq8\"","#A5D6FF"],"\n      ",["},","#C9D1D9"],"\n      ",["\"to\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["{","#C9D1D9"],"\n          ",["\"address\"","#7EE787"],[":","#C9D1D9"]," ",["\"+14155551003\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"channel\"","#7EE787"],[":","#C9D1D9"]," ",["\"PHONE\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"profileId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_profile_01h9krwprkeee8fzqspvwy6nq7\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"memoryStoreId\"","#7EE787"],[":","#C9D1D9"]," ",["\"mem_store_00000000000000000000000000\"","#A5D6FF"],"\n        ",["}","#C9D1D9"],"\n      ",["],","#C9D1D9"],"\n      ",["\"status\"","#7EE787"],[":","#C9D1D9"]," ",["\"INBOUND\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"related\"","#7EE787"],[": [","#C9D1D9"],"\n        ",["{","#C9D1D9"],"\n          ",["\"name\"","#7EE787"],[":","#C9D1D9"]," ",["\"SESSION\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"id\"","#7EE787"],[":","#C9D1D9"]," ",["\"comms_session_01h9krwprkeee8fzqspvwy6nq6\"","#A5D6FF"],[",","#C9D1D9"],"\n          ",["\"uri\"","#7EE787"],[":","#C9D1D9"]," ",["\"https://comms.twilio.com/v1/Sessions/comms_session_01h9krwprkeee8fzqspvwy6nq6\"","#A5D6FF"],"\n        ",["}","#C9D1D9"],"\n      ",["],","#C9D1D9"],"\n      ",["\"tags\"","#7EE787"],[": {},","#C9D1D9"],"\n      ",["\"scheduledFor\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"createdAt\"","#7EE787"],[":","#C9D1D9"]," ",["\"2023-08-24T14:16:59Z\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"updatedAt\"","#7EE787"],[":","#C9D1D9"]," ",["\"2023-08-24T14:16:59Z\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"deletedAt\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],"\n    ",["}","#C9D1D9"],"\n  ",["],","#C9D1D9"],"\n  ",["\"pagination\"","#7EE787"],[": {","#C9D1D9"],"\n    ",["\"next\"","#7EE787"],[":","#C9D1D9"]," ",["null","#79C0FF"],[",","#C9D1D9"],"\n    ",["\"self\"","#7EE787"],[":","#C9D1D9"]," ",["\"eyJTSyI6IkEjMDFqbmVoYm5xYWZmNDlrazUxZHA1bmN5bXciLCJTSzEiOiJBI2FjdGl2YXRlZCMyMDI1LTAzLTAzVDE3OjM3OjQ3WiMwMWpuZWhibnFhZmY0OWtrNTFkcDVuY3ltdyIsIlBLIjoiQyNBQzYwMzg4ODJiZDY5ZWIyNGM4YzU4ZGI5NjE4NjE3OTE4I0EifQ==\"","#A5D6FF"],"\n  ",["}","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}}}}}},{"responseCode":"400","schema":{"x-twilio-version":1,"description":"This error indicates that the request content was malformed or ambiguous.","content":{"application/json":{"schema":{"x-twilio-version":1,"title":"TwilioErrors","type":"object","required":["errors"],"example":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21614","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The address specified in the request is not a valid phone number.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21614\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.to[0].address\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21617","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The concatenated message text exceeds the 1600 character limit\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21617\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.content.text\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}},"refName":"TwilioErrors","modelName":"TwilioErrors","properties":{"errors":{"description":"A list of one or more Twilio API errors.","type":"array","items":{"x-twilio-version":1,"title":"TwilioError","type":"object","description":"A generic error object communicating client and server side API errors.","required":["code","message","infoUrl","context"],"example":{"code":21614,"message":"The address specified in the request is not a valid phone number.","infoUrl":"/docs/api/errors/21614","context":"$.to[0].address"},"refName":"TwilioError","modelName":"TwilioError","properties":{"code":{"type":"integer","description":"The Twilio error code."},"message":{"type":"string","description":"A human readable message describing the error."},"infoUrl":{"type":"string","format":"uri","description":"A URL to a [Twilio error directory](/docs/api/errors) page with more information about the error code."},"context":{"description":"A JSON path that identifies the errant field.","type":["string","null"]}}}}}},"examples":{"ResourceNotFound":{"summary":"Resource not found","value":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 20404,\n      \"message\": \"Not Found\",\n      \"infoUrl\": \"/docs/api/errors/20404\",\n      \"context\": \"null\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 20404,\n      \"message\": \"Not Found\",\n      \"infoUrl\": \"/docs/api/errors/20404\",\n      \"context\": \"null\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["20404","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"Not Found\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/20404\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"null\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}}}},"refName":"#/components/responses/Http400Response","modelName":"__components_responses_Http400Response"}},{"responseCode":"429","schema":{"x-twilio-version":1,"description":"This error indicates that you have sent too many requests to the API. You should retry according to the `Retry-After` response header.","content":{"application/json":{"schema":{"x-twilio-version":1,"title":"TwilioErrors","type":"object","required":["errors"],"example":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21614","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The address specified in the request is not a valid phone number.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21614\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.to[0].address\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21617","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The concatenated message text exceeds the 1600 character limit\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21617\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.content.text\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}},"refName":"TwilioErrors","modelName":"TwilioErrors","properties":{"errors":{"description":"A list of one or more Twilio API errors.","type":"array","items":{"x-twilio-version":1,"title":"TwilioError","type":"object","description":"A generic error object communicating client and server side API errors.","required":["code","message","infoUrl","context"],"example":{"code":21614,"message":"The address specified in the request is not a valid phone number.","infoUrl":"/docs/api/errors/21614","context":"$.to[0].address"},"refName":"TwilioError","modelName":"TwilioError","properties":{"code":{"type":"integer","description":"The Twilio error code."},"message":{"type":"string","description":"A human readable message describing the error."},"infoUrl":{"type":"string","format":"uri","description":"A URL to a [Twilio error directory](/docs/api/errors) page with more information about the error code."},"context":{"description":"A JSON path that identifies the errant field.","type":["string","null"]}}}}}},"examples":{"TooManyRequests":{"summary":"Too Many Requests","value":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 20429,\n      \"message\": \"Too many requests. Please retry according to the Retry-After response header.\",\n      \"infoUrl\": \"/docs/api/errors/20429\",\n      \"context\": \"null\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 20429,\n      \"message\": \"Too many requests. Please retry according to the Retry-After response header.\",\n      \"infoUrl\": \"/docs/api/errors/20429\",\n      \"context\": \"null\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["20429","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"Too many requests. Please retry according to the Retry-After response header.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/20429\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"null\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}}}},"headers":{"Retry-After":{"schema":{"type":"string"},"description":"The amount of time in seconds that the customer should wait before issuing a new request towards the API."}},"refName":"#/components/responses/Http429Response","modelName":"__components_responses_Http429Response"}},{"responseCode":"500","schema":{"x-twilio-version":1,"description":"This error indicates that the Twilio API is experiencing server-side issues. The request should not be retried.","content":{"application/json":{"schema":{"x-twilio-version":1,"title":"TwilioErrors","type":"object","required":["errors"],"example":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21614","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The address specified in the request is not a valid phone number.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21614\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.to[0].address\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21617","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The concatenated message text exceeds the 1600 character limit\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21617\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.content.text\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}},"refName":"TwilioErrors","modelName":"TwilioErrors","properties":{"errors":{"description":"A list of one or more Twilio API errors.","type":"array","items":{"x-twilio-version":1,"title":"TwilioError","type":"object","description":"A generic error object communicating client and server side API errors.","required":["code","message","infoUrl","context"],"example":{"code":21614,"message":"The address specified in the request is not a valid phone number.","infoUrl":"/docs/api/errors/21614","context":"$.to[0].address"},"refName":"TwilioError","modelName":"TwilioError","properties":{"code":{"type":"integer","description":"The Twilio error code."},"message":{"type":"string","description":"A human readable message describing the error."},"infoUrl":{"type":"string","format":"uri","description":"A URL to a [Twilio error directory](/docs/api/errors) page with more information about the error code."},"context":{"description":"A JSON path that identifies the errant field.","type":["string","null"]}}}}}},"examples":{"InternalServerError":{"summary":"Internal Server Error","value":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 20500,\n      \"message\": \"Internal server error.\",\n      \"infoUrl\": \"/docs/api/errors/20500\",\n      \"context\": \"null\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 20500,\n      \"message\": \"Internal server error.\",\n      \"infoUrl\": \"/docs/api/errors/20500\",\n      \"context\": \"null\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["20500","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"Internal server error.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/20500\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"null\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}}}},"refName":"#/components/responses/Http500Response","modelName":"__components_responses_Http500Response"}},{"responseCode":"503","schema":{"x-twilio-version":1,"description":"This error indicates that the Twilio API is temporarily unavailable.  You should retry according to the `Retry-After` response header.","content":{"application/json":{"schema":{"x-twilio-version":1,"title":"TwilioErrors","type":"object","required":["errors"],"example":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 21614,\n      \"message\": \"The address specified in the request is not a valid phone number.\",\n      \"infoUrl\": \"/docs/api/errors/21614\",\n      \"context\": \"$.to[0].address\"\n    },\n    {\n      \"code\": 21617,\n      \"message\": \"The concatenated message text exceeds the 1600 character limit\",\n      \"infoUrl\": \"/docs/api/errors/21617\",\n      \"context\": \"$.content.text\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21614","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The address specified in the request is not a valid phone number.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21614\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.to[0].address\"","#A5D6FF"],"\n    ",["},","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["21617","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"The concatenated message text exceeds the 1600 character limit\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/21617\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"$.content.text\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}},"refName":"TwilioErrors","modelName":"TwilioErrors","properties":{"errors":{"description":"A list of one or more Twilio API errors.","type":"array","items":{"x-twilio-version":1,"title":"TwilioError","type":"object","description":"A generic error object communicating client and server side API errors.","required":["code","message","infoUrl","context"],"example":{"code":21614,"message":"The address specified in the request is not a valid phone number.","infoUrl":"/docs/api/errors/21614","context":"$.to[0].address"},"refName":"TwilioError","modelName":"TwilioError","properties":{"code":{"type":"integer","description":"The Twilio error code."},"message":{"type":"string","description":"A human readable message describing the error."},"infoUrl":{"type":"string","format":"uri","description":"A URL to a [Twilio error directory](/docs/api/errors) page with more information about the error code."},"context":{"description":"A JSON path that identifies the errant field.","type":["string","null"]}}}}}},"examples":{"ServiceUnavailable":{"summary":"Service Unavailable","value":{"lang":"json","value":"{\n  \"errors\": [\n    {\n      \"code\": 20503,\n      \"message\": \"Service unavailable.\",\n      \"infoUrl\": \"/docs/api/errors/20503\",\n      \"context\": \"null\"\n    }\n  ]\n}","meta":"","code":"{\n  \"errors\": [\n    {\n      \"code\": 20503,\n      \"message\": \"Service unavailable.\",\n      \"infoUrl\": \"/docs/api/errors/20503\",\n      \"context\": \"null\"\n    }\n  ]\n}","tokens":[["{","#C9D1D9"],"\n  ",["\"errors\"","#7EE787"],[": [","#C9D1D9"],"\n    ",["{","#C9D1D9"],"\n      ",["\"code\"","#7EE787"],[":","#C9D1D9"]," ",["20503","#79C0FF"],[",","#C9D1D9"],"\n      ",["\"message\"","#7EE787"],[":","#C9D1D9"]," ",["\"Service unavailable.\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"infoUrl\"","#7EE787"],[":","#C9D1D9"]," ",["\"/docs/api/errors/20503\"","#A5D6FF"],[",","#C9D1D9"],"\n      ",["\"context\"","#7EE787"],[":","#C9D1D9"]," ",["\"null\"","#A5D6FF"],"\n    ",["}","#C9D1D9"],"\n  ",["]","#C9D1D9"],"\n",["}","#C9D1D9"]],"annotations":[],"themeName":"github-dark","style":{"color":"#c9d1d9","background":"#0d1117"}}}}}},"headers":{"Retry-After":{"schema":{"type":"string"},"description":"The amount of time in seconds that the customer should wait before issuing a new request towards the API."}},"refName":"#/components/responses/Http503Response","modelName":"__components_responses_Http503Response"}}]} path="https://comms.twilio.com/v1/Messages" method="get" specType="comms" />

List all Messages

```ts
import { TwilioClient } from "twilio-comms";

async function main() {
    const client = new TwilioClient({
        accountId: "TWILIO_ACCOUNT_SID",
        authToken: "TWILIO_AUTH_TOKEN",
    });
    await client.messages.list({
        operationId: "comms_operation_01h9krwprkeee8fzqspvwy6nq8",
        sessionId: "comms_session_01h9krwprkeee8fzqspvwy6nq8",
        startDate: new Date("2024-01-15T09:30:00Z"),
        endDate: new Date("2024-01-15T09:30:00Z"),
        profile: "mem_profile_01h9krwprkeee8fzqspvwy6nq8",
        channel: "SMS",
        status: "QUEUED",
        tags: "key_1:value;key_2:value;",
        pageToken: "pageToken",
        pageSize: 50,
    });
}
main();
```

```py
from twilio_comms import TwilioComms
import datetime

client = TwilioComms(
    account_id="TWILIO_ACCOUNT_SID",
    auth_token="TWILIO_AUTH_TOKEN",
)

client.messages.list(
    operation_id="comms_operation_01h9krwprkeee8fzqspvwy6nq8",
    session_id="comms_session_01h9krwprkeee8fzqspvwy6nq8",
    start_date=datetime.datetime.fromisoformat("2024-01-15T09:30:00+00:00"),
    end_date=datetime.datetime.fromisoformat("2024-01-15T09:30:00+00:00"),
    profile="mem_profile_01h9krwprkeee8fzqspvwy6nq8",
    channel="SMS",
    status="QUEUED",
    tags="key_1:value;key_2:value;",
    page_token="pageToken",
    page_size=50,
)
```

```cs
using Twilio.Comms;
using System.Threading.Tasks;
using System;
using System.Globalization;

public partial class Examples
{
    public async Task Example() {
        var client = new TwilioComms(
            accountId: "TWILIO_ACCOUNT_SID",
            authToken: "TWILIO_AUTH_TOKEN"
        );

        await client.Messages.ListAsync(
            new MessagesListRequest {
                OperationId = "comms_operation_01h9krwprkeee8fzqspvwy6nq8",
                SessionId = "comms_session_01h9krwprkeee8fzqspvwy6nq8",
                StartDate = DateTime.Parse("2024-01-15T09:30:00Z", null, DateTimeStyles.AdjustToUniversal),
                EndDate = DateTime.Parse("2024-01-15T09:30:00Z", null, DateTimeStyles.AdjustToUniversal),
                Profile = "mem_profile_01h9krwprkeee8fzqspvwy6nq8",
                Channel = MessageSenderChannel.Sms,
                Status = MessageStatus.Queued,
                Tags = "key_1:value;key_2:value;",
                PageToken = "pageToken",
                PageSize = 50
            }
        );
    }

}
```

```java
package com.example.usage;

import com.twilio.sdk.TwilioComms;
import com.twilio.sdk.resources.messages.requests.MessagesListRequest;
import com.twilio.sdk.types.MessageSenderChannel;
import com.twilio.sdk.types.MessageStatus;
import java.time.OffsetDateTime;

public class Example {
    public static void main(String[] args) {
        TwilioComms client = TwilioComms
            .builder()
            .credentials("TWILIO_ACCOUNT_SID", "TWILIO_AUTH_TOKEN")
            .build();

        client.messages().list(
            MessagesListRequest
                .builder()
                .operationId("comms_operation_01h9krwprkeee8fzqspvwy6nq8")
                .sessionId("comms_session_01h9krwprkeee8fzqspvwy6nq8")
                .startDate(OffsetDateTime.parse("2024-01-15T09:30:00Z"))
                .endDate(OffsetDateTime.parse("2024-01-15T09:30:00Z"))
                .profile("mem_profile_01h9krwprkeee8fzqspvwy6nq8")
                .channel(MessageSenderChannel.SMS)
                .status(MessageStatus.QUEUED)
                .tags("key_1:value;key_2:value;")
                .pageToken("pageToken")
                .pageSize(50)
                .build()
        );
    }
}
```

```go
package example

import (
    context "context"

    twiliocomms "github.com/twilio/twilio-comms-go/twilio"
    client "github.com/twilio/twilio-comms-go/twilio/client"
    option "github.com/twilio/twilio-comms-go/twilio/option"
)

func do() {
    client := client.NewWithOptions(
        option.WithBasicAuth(
            "TWILIO_ACCOUNT_SID",
            "TWILIO_AUTH_TOKEN",
        ),
    )
    request := &twiliocomms.MessagesListRequest{
        OperationId: twiliocomms.String(
            "comms_operation_01h9krwprkeee8fzqspvwy6nq8",
        ),
        SessionId: twiliocomms.String(
            "comms_session_01h9krwprkeee8fzqspvwy6nq8",
        ),
        StartDate: twiliocomms.Time(
            twiliocomms.MustParseDateTime(
                "2024-01-15T09:30:00Z",
            ),
        ),
        EndDate: twiliocomms.Time(
            twiliocomms.MustParseDateTime(
                "2024-01-15T09:30:00Z",
            ),
        ),
        Profile: twiliocomms.String(
            "mem_profile_01h9krwprkeee8fzqspvwy6nq8",
        ),
        Channel: twiliocomms.MessageSenderChannelSms.Ptr(),
        Status: twiliocomms.MessageStatusQueued.Ptr(),
        Tags: twiliocomms.String(
            "key_1:value;key_2:value;",
        ),
        PageToken: twiliocomms.String(
            "pageToken",
        ),
        PageSize: twiliocomms.Int(
            50,
        ),
    }
    client.Messages.List(
        context.TODO(),
        request,
    )
}
```

```php
<?php

namespace Example;

use Twilio\Comms\TwilioComms;
use Twilio\Comms\Messages\Requests\MessagesListRequest;
use DateTime;
use Twilio\Comms\Types\MessageSenderChannel;
use Twilio\Comms\Types\MessageStatus;

$client = new TwilioComms(
    accountId: 'TWILIO_ACCOUNT_SID',
    authToken: 'TWILIO_AUTH_TOKEN',
);
$client->messages->list(
    new MessagesListRequest([
        'operationId' => 'comms_operation_01h9krwprkeee8fzqspvwy6nq8',
        'sessionId' => 'comms_session_01h9krwprkeee8fzqspvwy6nq8',
        'startDate' => new DateTime('2024-01-15T09:30:00Z'),
        'endDate' => new DateTime('2024-01-15T09:30:00Z'),
        'profile' => 'mem_profile_01h9krwprkeee8fzqspvwy6nq8',
        'channel' => MessageSenderChannel::Sms->value,
        'status' => MessageStatus::Queued->value,
        'tags' => 'key_1:value;key_2:value;',
        'pageToken' => 'pageToken',
        'pageSize' => 50,
    ]),
);
```

```rb
require "twiliocomms"

client = TwilioComms::Client.new(
  account_id: "TWILIO_ACCOUNT_SID",
  auth_token: "TWILIO_AUTH_TOKEN"
)

client.messages.list(
  operation_id: "comms_operation_01h9krwprkeee8fzqspvwy6nq8",
  session_id: "comms_session_01h9krwprkeee8fzqspvwy6nq8",
  start_date: "2024-01-15T09:30:00Z",
  end_date: "2024-01-15T09:30:00Z",
  profile: "mem_profile_01h9krwprkeee8fzqspvwy6nq8",
  channel: "SMS",
  status: "QUEUED",
  tags: "key_1:value;key_2:value;",
  page_token: "pageToken",
  page_size: 50
)
```

```bash
curl -X GET "https://comms.twilio.com/v1/Messages?operationId=comms_operation_01h9krwprkeee8fzqspvwy6nq8&sessionId=comms_session_01h9krwprkeee8fzqspvwy6nq8&startDate=2024-01-15&endDate=2024-01-15&profile=mem_profile_01h9krwprkeee8fzqspvwy6nq8&channel=SMS&status=QUEUED&tags=key_1:value;key_2:value;&pageToken=pageToken&pageSize=50" \
-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
```
