Deprecated - please use the JSON API instead.

submission/quote_sms

This call allows you to determine how many credits it will cost to submit a message to one or more recipients or groups.

All parameters are identical to the send_sms call. Return values can be any of the failure codes associated with send_sms, plus the additional successful result: 0 Quotation issued quote_total is a floating-point number).

Example

EAPI_URL/submission/quote_sms/2/2.0?username=john&password=abcd1234&message=Hi+Mom&msisdn=44123123456

You should always specify a routing_group to be safe: it is unlikely but not impossible that the default routing group could change.

Although optional parameters such as want_report do not currently affect pricing, you are required to call quote_sms exactly as you would call send_sms, with all parameters in place, if you are to be assured of an accurate quotation in future.