| Name | Type | Description | Notes |
|---|---|---|---|
| recordType | RecordTypeEnum | Identifies the type of the resource. | [optional] |
| direction | DirectionEnum | The direction of the message. Inbound messages are sent to you whereas outbound messages are sent from you. | [optional] |
| id | UUID | Identifies the type of resource. | [optional] |
| type | TypeEnum | The type of message. | [optional] |
| messagingProfileId | String | Unique identifier for a messaging profile. | [optional] |
| organizationId | UUID | The id of the organization the messaging profile belongs to. | [optional] |
| from | OutboundMessagePayloadFrom | [optional] | |
| to | List<OutboundMessagePayloadToInner> | [optional] | |
| text | String | Message body (i.e., content) as a non-empty string. Required for SMS | [optional] |
| subject | String | Subject of multimedia message | [optional] |
| media | List<OutboundMessagePayloadMediaInner> | [optional] | |
| webhookUrl | String | The URL where webhooks related to this message will be sent. | [optional] |
| webhookFailoverUrl | String | The failover URL where webhooks related to this message will be sent if sending to the primary URL fails. | [optional] |
| encoding | String | Encoding scheme used for the message body. | [optional] |
| parts | Integer | Number of parts into which the message's body must be split. | [optional] |
| tags | List<String> | Tags associated with the resource. | [optional] |
| cost | InboundMessagePayloadCost | [optional] | |
| receivedAt | OffsetDateTime | ISO 8601 formatted date indicating when the message request was received. | [optional] |
| sentAt | OffsetDateTime | ISO 8601 formatted date indicating when the message was sent. | [optional] |
| completedAt | OffsetDateTime | ISO 8601 formatted date indicating when the message was finalized. | [optional] |
| validUntil | OffsetDateTime | Message must be out of the queue by this time or else it will be discarded and marked as 'sending_failed'. Once the message moves out of the queue, this field will be nulled | [optional] |
| errors | List<Error> | These errors may point at addressees when referring to unsuccessful/unconfirmed delivery statuses. | [optional] |
| Name | Value |
|---|---|
| MESSAGE | "message" |
| Name | Value |
|---|---|
| OUTBOUND | "outbound" |
| Name | Value |
|---|---|
| SMS | "SMS" |
| MMS | "MMS" |