E-mail маркетинг, сервис рассылки e-mail и SMS
(495) 540-4265 (800) 555-6696

checkSms(sms_id)

Returns a string with the status of SMS message delivery state.

Sample

http://api.unisender.com/en/api/checkSms?format=json&api_key=KEY&sms_id=test_0123456789

Return value

Object with a single string record "status". It may be one of the following:

ok_sent
Message sent, but still not delivered. It's a temporary status and it may change.
ok_delivered
Message successfully delivered. It's a final status.
err_delivery_failed
Delivery failed. It's a final status.
err_not_allowed
Delivery is impossible because the target number phone operator is not supported. It's a final status.
err_dest_invalid
Delivery is impossible because the target number is incorrect. It's a final status.

Parameters

sms_id*
A unique message number previously returned by sendSms

* denotes mandatory fields.