Get SMS by ID



Response structure

Example JSON response

  "message":"Test 32423"
Parameter Type Description
id string ID for the SMS
direction string incoming or outgoing
from string the sender
to string The phone number of the recipient, in E.164 format.
created string The time in UTC when the SMS was created.
delivered string The time in UTC when the SMS was delivered.
message string The content of the SMS, same as the message parameter. Not included in the response if dontlog=message is set.
status string recieved (recieved to our servers), sent (sent to the phone netword) or delivered (delivered to the recipient)
cost integer The cost of sending the SMS. Specified in 10000s of the currency of the account (SEK or EUR). For example, for an account with currency SEK a cost of 3500 means that it cost 0.35SEK. Learn more about the details of pricing.