This value is included in the OutgoingMessageResponse
type.
Type: Enum
Possible Values
Value | Description |
---|---|
0 – Hold | Message is on hold and will not be processed until set to ‘Ready’. |
200 – Sent | Message sent successfully. HTTP equivalent: 200 – OK |
201 – Ready | Message is queued, ready to be processed. HTTP equivalent: 201 – CREATED |
202 – Processing | Message is being processed by Esendex. HTTP equivalent: 202 – ACCEPTED |
400 – InvalidDID | The number provided is invalid, wrong format, or it cannot send to the destination. HTTP equivalent: 400 – BAD REQUEST |
401 – InvalidLicenseKey | The provided license key is invalid. HTTP equivalent: 401 – UNAUTHORIZED |
402 – AccountSuspended | The account has been suspended. HTTP equivalent: 402 – PAYMENT REQUIRED |
403 – StopOnPhoneNumber | No messages can be sent to the destination phone number from the license key. HTTP equivalent: 403 – FORBIDDEN |
404 – MissingDIDOrInvalidMessageID | Proper number could not be established or MessageID provided is invalid. HTTP equivalent: 404 – NOT FOUND |
405 – InvalidDateTime | ScheduledDateTime not in UTC. HTTP equivalent: 405 – METHOD NOT ALLOWED |
406 – InvalidDestination | Destination phone number invalid. HTTP equivalent: 406 – NOT ACCEPTABLE |
411 – NoMessage | No message body provided. HTTP equivalent: 411 – LENGTH REQUIRED |
413 – MessageExceedsLimit | Message is too long. HTTP equivalent: 413 – PAYLOAD TOO LARGE |
506 – Failed | Message failed to submit to provider. |
507 – Cancelled | Message cancelled. |
508 – FailedByProvider | Message submitted to provider but failed by delivery receipt. |