{
  "sms_subscription": {
    "user_id": "woeruijsfwer",
    "merchant_id": "owierywtwt",
    "phone": "+14157582345",
    "email": "example@thanx.com"
  }
}
These webhooks are sent when a user opts into SMS marketing. Thanx does not synchronize downstream SMS marketing opt-in status and users are only prompted to enter a phone number for SMS marketing once. SMS marketing partners are expected to manage confirmation of SMS marketing consent.

Payload Description

user_id
string
User ID
merchant_id
string
Merchant ID
phone
string
The user’s phone number, in E.164 format (eg. +14157582345)
email
string
The user’s email address
{
  "sms_subscription": {
    "user_id": "woeruijsfwer",
    "merchant_id": "owierywtwt",
    "phone": "+14157582345",
    "email": "example@thanx.com"
  }
}