Status codes

Summary

This is a summary of what each status code group means. The way our status blocks works is that, for example, if the code starts with 1 then the status belongs to the status group Info. This allows us to add new status codes while still allowing your software to handle these new status codes without being explicitly developed for them.

GroupCode blockComment
Info1Informative status codes that inform where the message is in the pipeline.
Success2If the message ended in a user-defined manner such as Expired or DeliveredToClient.
Rejection4If there is something wrong with the message it self such as length, banned keywords, etc.
Error5If the message was undeliverable or other errors which is out of the control for the delivery service.

Info

NameCodeTreated asComment
Accepted101InfoThe message(s) has been accepted for processing
Queued102InfoThe message has been put a queue for sending
Funded103InfoThe message has been paid for and can be sent
Refunded104InfoThe message has been refunded i.e. its price has been returned to the account balance
DeliveredToGateway111InfoThe message has been delivered to the next upstream gateway
QueuedAtGateway114InfoThe message has been queued at the upstream gateway

Success

NameCodeTreated asComment
DeliveredToClient201SuccessThe message has been delivered to the recipient in question
Expired202SuccessThe expiry date has been exceeded before the message could be delivered
Canceled203SuccessMessage was canceled by user

Rejection

NameCodeTreated asComment
InsufficientFunds402RejectionThe account trying to send does not have enough balance to send the message
SenderRejected403RejectionThe sender was rejected, given when the sender is considered fraudulent or sender ownership hasn't been verified
RecipientRejected405RejectionThe recipient is illegal
GenericRejected406RejectionThe message was rejected for a reason other than the options above
InvalidSender407RejectionThe message sender is invalid. Eg. Sender is too long, contains illegal characters etc
InvalidContent408RejectionMessage content is invalid. Eg. illegal characters, is to long etc.
InvalidRecipient409RejectionThe recipient of the message is invalid, for example the recipient is not a valid email address
Spam411RejectionThe message was rejected due to a spam filter
HardBounce412RejectionThe message received a hard bounce, which means the recipient is invalid or no longer in use
SoftBounce413RejectionThe message received a soft bounce, meaning the recipient was unable to receive it

Error

NameCodeTreated asComment
InternalError500ErrorAn unrecognized error occurred
Unknown599ErrorMessage was delivered upstream but no Delivery Receipt has been received or a Delivery Receipt that could not be interpreted was received