Callbacks are divided into two types based on direction of the related message: - statusCallback indicates status of an outbound MT SMS, MMS, or RBM message. - inboundCallback indicates an inbound MO message or a multichannel message client's response to a suggestion or location request.
| Name | Type | Description | Notes |
|---|---|---|---|
| time | OffsetDateTime | ||
| eventTime | OffsetDateTime | Represents the time at which the message was read, for `message-read` callbacks. | [optional] |
| type | InboundCallbackTypeEnum | ||
| to | String | The destination phone number the message was sent to. For inbound callbacks, this is the Bandwidth number or alphanumeric identifier that received the message. | |
| description | String | A detailed description of the event described by the callback. | |
| message | InboundCallbackMessage | ||
| errorCode | Integer | Optional error code, applicable only when type is `message-failed`. | [optional] |
| carrierName | String | The name of the Authorized Message Provider (AMP) that handled this message. In the US, this is the carrier that the message was sent to. This field is present only when this account feature has been enabled. | [optional] |