Get coverage command
This command allows you to check our coverage of a network or mobile number without sending a message to that handset. This command should NOT be used before sending each message.
The returned credit charge value indicates the lowest possible credit charge at that point in time (for a single plain-text message). Credit charges may fluctuate (based on the availability of delivery routes and features) and there is no guarantee that all your messages will be charged this value.
Command
routecoverage |
Parameters
You also need to supply the authentication parameters.
Parameter |
Description |
---|---|
msisdn |
This is the mobile number you would like to query. It must be in international format (i.e. no leading zeros or + symbols). |
Examples
Request data sample
1 |
|
Code samples
PHP
1 |
|
API responses
Example response
Successful API response
1 |
|
Error response
1 |
|
OR:
1 |
|
Return format
Successful API response
ID: <message ID> Status: <status ID> |
OR:
OK: This prefix is currently supported. Messages sent to this prefix will be routed. Charge: <cost of message> |
Error response
ERR: <error code>, <error description> |
OR:
ERR: This prefix is not currently supported. Messages sent to this prefix will fail. Please contact support for assistance. |
Samples
PHP
1 |
|
Submit a Comment
Other Resources
Ask the Community
Visit Stack Overflow to join our community of developers and find the answer you need
Contact Support
Contact our support team and one of our agents will be in touch with you to answer any questions you have