{
"type": "PHONE_NUMBER",
"customer": "+16315551111",
"channel": "whatsapp",
"regionCode": "US",
"source": "Whatsapp",
"createTime": "2022-06-01T12:00:00.000Z"
}Create an unsubscriber
Creates an unsubscriber. An unsubscriber is a configuration item representing that customers opt out of receiving messages from your business. A customer and a channel form a unique identifier for an unsubscriber.
{
"type": "PHONE_NUMBER",
"customer": "+16315551111",
"channel": "whatsapp",
"regionCode": "US",
"source": "Whatsapp",
"createTime": "2022-06-01T12:00:00.000Z"
}Body
The customer who has opted out.
For type=PHONE_NUMBER, it should be a phone number in E.164 format.
"+16315551111"
The customer's region code, formatted in ISO 3166-1 alpha-2 country code.
"US"
Response
Successfully created an unsubscriber.
An unsubscriber is a configuration item representing that customers opt out of receiving messages from your business. A customer and a channel form a unique identifier for an unsubscriber.
Type of unsubscriber.
PHONE_NUMBER: Indicates that thecustomeris a phone number in E.164 format.
PHONE_NUMBER The customer who has opted out.
For type=PHONE_NUMBER, it should be a phone number in E.164 format.
"+16315551111"
The customer's region code, formatted in ISO 3166-1 alpha-2 country code.
"US"
The source from which a customer resumed their subscription
Whatsapp: The customer resumed their subscription on the whatsapp clientAPI: You remove the customer from the unsubscribe list through the OpenAPI of YCloudManual: You remove the customer from the unsubscribe list on the Contact page of YCloud.
Whatsapp, API, Manual "Whatsapp"
The time at which this object was created, formatted in RFC 3339. e.g., 2022-06-01T12:00:00.000Z.
"2022-06-01T12:00:00.000Z"

