Docs

Get message info

https://api.apifonica.com/v2/accounts/{accountSID}/messages/{messageSID}

Overview

This function gets the details of the message by its identifier.

Request example

The following cURL example demonstrates getting information on the specified message.

curl –X GET https://api.apifonica.com/v2/accounts/{accountSID}/messages/{messageSID} \
-u {accountSID}:{authToken}

Response example

{
  "account_sid": "accff3ba4f1-4bbf-3aef-8ad9-706495e74888",
  "number_sid": "nume91e692b-0efa-344f-9a00-7125ecd850c7",
  "text": "It’s my first SMS sent via Apifonica API!",
  "created": "Wed, 15 Feb 2017 11:20:32 +0000",
  "direction": "outbound",
  "from": "48732231452",
  "to": "48732231451",
  "price": 0.0277,
  "message_sid": "msg1fb19eed-1d51-3ee2-a720-ec87b1816a74",
  "status": "delivered"
  "segment_count": 2,
  "channel": "sms",
  "tag": "My_Client1"
}

Response parameters

ParameterDescription