curl "https://app.tatango.com/api/v2/lists/ID/messages/MESSAGE_ID" -X GET \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-u [email protected]:my_api_key \
-H "Host: example.org" \
-H "Cookie: "{
"status": "OK",
"message": {
"id": 14523,
"content": "AMCE Retail: Go to http://bit.ly/acme to see deals on anvils. Reply STOP to end.",
"sent_at": "2016-09-07T14:10:53-07:00",
"status": "sent",
"name": "my message name",
"is_broadcast": true,
"recipient_count": 679571,
"success_count": 675232,
"bounces_count": 4339,
"pending_count": 0,
"clean_count": 2342,
"unsubscribe_count": 1362,
"sms_count": 168808,
"mms_count": 506424,
"send_cost": 5096.78,
"attachment": "https://url-to-your-mms-attachment",
"cancelled_at": null,
"message_links": [
{
"id": 42,
"link": "http://bit.ly/acme",
"count": 2356,
"display_count": 2356
}
],
"parts": {
"sum": 679599,
"minimum": 1,
"maximum": 2
}
}
}This endpoint retrieves a message.
curl "https://app.tatango.com/api/v2/lists/ID/messages/MESSAGE_ID" -X GET \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-u [email protected]:my_api_key \
-H "Host: example.org" \
-H "Cookie: "{
"status": "OK",
"message": {
"id": 14523,
"content": "AMCE Retail: Go to http://bit.ly/acme to see deals on anvils. Reply STOP to end.",
"sent_at": "2016-09-07T14:10:53-07:00",
"status": "sent",
"name": "my message name",
"is_broadcast": true,
"recipient_count": 679571,
"success_count": 675232,
"bounces_count": 4339,
"pending_count": 0,
"clean_count": 2342,
"unsubscribe_count": 1362,
"sms_count": 168808,
"mms_count": 506424,
"send_cost": 5096.78,
"attachment": "https://url-to-your-mms-attachment",
"cancelled_at": null,
"message_links": [
{
"id": 42,
"link": "http://bit.ly/acme",
"count": 2356,
"display_count": 2356
}
],
"parts": {
"sum": 679599,
"minimum": 1,
"maximum": 2
}
}
}message_links attribute will only be present on messages that have bit.ly links in their content.
parts attribute will be available 30 minutes after the message was sent.
GET https://app.tatango.com/api/v2/lists/{ID}/messages/{MESSAGE_ID}
Tatango authenticates API requests by validating an API key passed via HTTP Basic Authentication. Use your login email as the username and your API key as the password.
Successful response
Response status
"OK"
Show child attributes
The actual content of the message that was sent to subscribers.
"AMCE Retail: Go to http://bit.ly/acme to see deals on anvils. Reply STOP to end."
A unique ID that identifies this specific message.
14523
An optional name or description for a message.
"my message name"
The date/time this message completed it's send.
"2016-09-07T14:10:53-07:00"
The status of the message.
"sent"
If true, the message was sent to the whole list. If false, was sent only to the phone_number specified.
true
The number of recipients the message was sent to.
679571
The number of recipients that succesfully received the message on their mobile phones.
675232
The number of recipients that did not receive the message on their mobile phones.
4339
The number of messages that do not have a delivery status as of the time of the query.
0
The number of recipients that Tatango automatically unsubscribed from your list due to our
2342
The number of recipients that unsubscribed from the list, in response to the message that was sent to them.
1362
The wireless phone number of the subscriber.
Number of SMS messages sent
168808
Number of MMS messages sent
506424
Cost of sending the message
5096.78
URL to MMS attachment
"https://url-to-your-mms-attachment"
Date/time when message was cancelled
Links contained in the message (only present on messages that have bit.ly links)
Was this page helpful?