curl "https://app.tatango.com/api/v2/lists/<ID>/messages/scheduled" -d '{"start_date":"20160901", "end_date":"20161030"}' -X GET \
    -H "Accept: application/json" \
    -H "Content-Type: application/json" \
    -u emailaddress@mydomain.com:my_api_key \
    -H "Host: example.org" \
    -H "Cookie: "
{
  "status": "OK",
  "per_page": 10,
  "count": 2,
  "page": 1,
  "pages_count": 1,
  "messages": [
    {
      "id": 14523,
      "content": "AMCE Retail: Save $20 off this weekend when you spend more than $100 in-store. Show this text message to redeem. Reply STOP to end.",
      "sent_at": "2016-09-07T14:10:53-07:00",
      "status": "scheduled",
      "name": "my message name",
      "is_broadcast": false,
      "recipient_count": 0,
      "success_count": 0,
      "bounces_count": 0,
      "pending_count": 0,
      "clean_count": 0,
      "unsubscribe_count": 0,
      "sms_count": 0,
      "mms_count": 0,
      "send_cost": 0,
      "attachment": "https://url-to-your-mms-attachment"
    }
  ]
}

Request URL

GET https://app.tatango.com/api/v2/lists/{ID}/messages/scheduled

Authorizations

Authorization
string
header
required

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.

Path Parameters

ID
integer
required

The ID of the list

Query Parameters

start_date
string

A date in YYYYMMDD format. Scheduled messages scheduled to send before this date will not be returned (UTC).

end_date
string

A date in YYYYMMDD format. Scheduled messages scheduled to send after this date will not be returned (UTC).

Response

200 - application/json

Successful response

The response is of type object.