Below is a summary of the status codes, which are divided into four groups. The group a code belongs to is determined by its first digit; codes starting with 1, for example, belong to the ”Accepted” group.
This allows us to add new status codes while your software can still handle these new status codes without being explicitly developed for them.
Code block
| Name | Code block | Description |
|---|---|---|
| Accepted | 1 | Informative statuses that inform about where the message is located in the pipeline. |
| Success | 2 | If the message ended in a user-defined way such as Expired or DeliveredToHandset |
| Rejection | 4 | If the message could not be delivered or other errors that are beyond the control of the delivery service. |
| Error | 5 | If the message could not be delivered or other errors that are beyond the control of the delivery service. |
Statuses within the Accepted code block
| Name | Status code | Code block | Description |
|---|---|---|---|
| Accepted | 101 | Accepted | The message/messages have been approved for processing. |
| Queued | 102 | Accepted | The message has been added to a queue for transmission. |
| Funded | 103 | Accepted | The message has been paid for and can be sent. |
| Refunded | 104 | Accepted | The payment for the message has been refunded, meaning that the amount has been returned to the account balance. |
| DeliveredToGateway | 111 | Accepted | The message has been delivered to the next upstream gateway. |
| DeliveredToNetwork | 112 | Accepted | The message has been sent but has not yet reached the client. |
| QuedAtGateway | 114 | Accepted | The message has been queued in the next upstream gateway. |
| FallbackPending | 121 | Accepted | The message will be sent using a fallback option, but has not yet been sent to the next upstream gateway. |
| FallbackQueued | 122 | Accepted | The message has been queued for transmission using the fallback option. |
| FallbackDeliveredToGateway | 123 | Accepted | The message has been delivered to the next upstream gateway using the fallback option. |
Statuses within the Success code block
| Name | Status code | Code block | Description |
|---|---|---|---|
| DeliveredToHandset | 201 | Success | The message has been delivered to the appropriate recipient. |
| Expired | 202 | Success | The expiration date has passed before the message could be delivered. |
| Cancelled | 203 | Success | The message was interrupted by the user |
| Read | 204 | Success | The message was read by the recipient. |
Statuses within the Rejection code block
| Name | Status code | Code block | Description |
|---|---|---|---|
| InsufficientFunds | 402 | Rejection | The account does not have enough funds to send the message. |
| RecipientRejected | 405 | Rejection | The recipient is invalid or blocked. |
| GenericRejected | 406 | Rejection | The notification was rejected for a reason other than the above alternatives. |
| InvalidContent | 408 | Rejection | The content of the message is invalid. For example, disallowed characters, too long etc. |
| InvalidRecipient | 409 | Rejection | The recipient of the message is invalid. The recipient is, for example, not a valid MSISDN. |
| MissingRcsCapability | 410 | Rejection | The recipient does not support RCS or cannot receive RCS for other reasons. |
| AgentInactive | 420 | Rejection | The sending agent is not active. |
| FallbackRejected | 421 | Rejection | Indicates that the fallback call was rejected; see the fallback message for details. |
Status codes in the Error code block
| Name | Status code | Code block | Description |
|---|---|---|---|
| InternalError | 500 | Error | An unknown error occurred. |
| Subscriber Unreachable | 502 | Error | The network subscriber was not online and therefore could not receive the message. |
| DeliveryToGatewayFailed | 511 | Error | The message could not be delivered to the next upstream gateway. |
| DeliveryToCarrierFailed | 512 | Error | The message could not be delivered to the carrier. |
| FallbackFailed | 521 | Error | It was not possible to deliver the messages to the recipient's phone using the fallback option; see the fallback message for more information. |
| Unknown | 599 | Error | The message has been forwarded, but no delivery confirmation has been received, or a delivery confirmation has been received that could not be interpreted. |
