SMS API Banner

Trumpia HTTP API (Ver. 2)
PUSH Notification

(Last Updated: 01/22/2014)
Message
Send Message to List Receive a detailed report of the success or failure of your message.
Send Message to Contact

Push

Instead of a manual GET Status Report, you can have results automatically sent to you once our system has finished processing your resource call. Results will be delivered as JSON data to a URL you provide. To enable this functionality, contact our support team.

Message

Receive a detailed report of the success or failure of your message blast including tallies of the total messages in your blast, the number of messages successfully delivered, and the number of failed messages.

Example (Success):
{
  "request_id" : "1234561234567asdf123",
  "message_id" : "987987987987",
  "status" : "sent",
  "sms" :
  {
    "total" : 10,
    "sent" : 5,
    "failed" : 5,
    "blocked_subscription_list" : 
    [ 
      { 
        "id" : "987987987980",
        "number" : "456456456000",
        "country_code" : "1"
      },
      { 
        "id" : "987987987981",
        "number" : "456456456001",
        "country_code" : "1"
      }
    ]
  },
  "email" :
  {
    "total" : 2,
    "sent" : 2,
    "failed" : 0
  }
}
Example (Failure):
{
  "request_id" : "1234561234567asdf123",
  "error_message" : "Send message error : You have insufficient Text Credits." 
}
TOP
Technical Guidelines