Webhook Payload Examples

Ashley Parks -

Subscriber

"type":"subscribe",
"timestamp":"2016-08-14T19:23:02Z",
"account_id":880122,
"campaign_id":80756,
"opt_id":8949722,
"phone_number":"2063344012",
"carrier_id":383,
"carrier_name":"AT&T",
"first_name":"",
"email":"",
"gender":"",
"zip":"",
"date_of_birth":"",
"tag_list"[],
"first_opt_in_timestamp":"2016-08-14T19:23:02Z",
"last_opt_in_method":"Keyword",
"last_opt_in_keyword":"TEST4"

Unsubscribe

"type"
:"unsubscribe",
"timestamp":"2016-08-14T19:29:27Z",
"account_id":880122,
"campaign_id":80756,
"opt_id":8949738,
"phone_number":"2063344012",
"carrier_id":383,
"carrier_name":"AT&T",
"first_name":"",
"email":"",
"gender":"",
"zip":"",
"date_of_birth":"",
"tag_list":[],
"first_opt_in_timestamp":"2016-08-14T19:23:02Z",
"last_opt_in_method":"ListName",
"last_opt_in_keyword":"test4",
"total_messages_received":2

Message Sent
"type":"message_sent",
"timestamp":"2016-08-14T19:38:51Z",
"account_id":880122,
"campaign_id":80756,
"message_id":6004402,
"sent_timestamp":"2016-08-14T19:23:49Z",
"content":"Message body...",
"recipient_count":1,
"success_count":1,
"bounce_count":0,
"clean_count":0,
"unsubscribe_count":1
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.