Visit www.talkable.com

Unsubscribe Web Hook

Triggered when a person unsubscribes.

Payload parameters provided

  • person — subhash of parameters describing the person
    • first_name — person’s first name
    • last_name — person’s last name
    • email — person’s email address
    • username — person’s username
    • unsubscribed_at — date person has unsubscribed
    • opted_in_at — date person has subscribed
    • sub_choice — subscription choice
    • custom_properties — hash of person’s custom properties (optional)

Sample payload

{
  "person": {
    "first_name": "Bob",
    "last_name": "Smith",
    "email": "person@example.com",
    "username": "username",
    "unsubscribed_at": "2015-08-13T11:14:08.835-07:00",
    "opted_in_at": "2014-08-13T11:14:08.835-07:00",
    "sub_choice": true
  }
}

cURL example

curl --data 'key=<key>&payload={"person":{"first_name":"Bob","last_name":"Smith","email":"friend@example.com","username":"username","unsubscribed_at":"2015-08-13T11:14:08.835-07:00","opted_in_at":"2014-08-13T11:14:08.835-07:00","sub_choice":true}}' <url>