Below is a list of all required arguments that needs to be sent in the POST request:
NOTE: You can query reports by submitting either message id or the bulk id
Represent a message id which was returned by the SMS TODAY system on time of sending sms
Query a single message against it's message id
Represent a bulk messages id which was returned by the SMS TODAY system on time of sending messages
This queries all messages sent on the particular session.
|api_key||YES||The value of api_key identifies the user within the system when interacting with the api.
You obtain this by registering on https://doc.smstoday.net.
|password||YES||Your SMS TODAY account password|
When specified message_id or bulk_id does not exists the system may return status 700 which means Undefined required field message id or bulk idThe sample code below is all that is required to integrate Sms today into your application/websites when calling single message report
REQUEST RESPONSEResponse is always on json format where you're required to decode into your workspace language
json string which the server reply to your call
json string explained
Their are number of request type response
success indicated that the request was made successful
|msg||This contains the response message in a human readable||request was successful, request wasn't successful|
|code||Depending on the que status the api can replay with number of request codes, these codes indicates that the request succeed or not||
200 request was successful
|state||Depending on the que status the api can replay with number of delivery state, these states indicates that the sms delivered or not||
1 SMS not paid
Contains detailed description of the delivery state
message id by the time of sending