{
"type": "PHONE_NUMBER",
"customer": "+16315551111",
"channel": "whatsapp",
"regionCode": "US",
"source": "Whatsapp",
"createTime": "2022-06-01T12:00:00.000Z"
}{
"error": {
"status": 404,
"code": "NOT_FOUND",
"message": "The requested resource does not exist.",
"target": "",
"docUrl": "",
"requestId": "req_1KjtKI80IKoaJNa6n6p",
"whatsappApiError": {
"message": "HSM Template creation failed",
"code": 200002,
"type": "OAuthException",
"is_transient": false,
"error_subcode": 2388109,
"error_user_msg": "This message template cannot be created.",
"error_user_title": "Message Cannot Be Submitted",
"fbtrace_id": "AVGjJ7ia2zJkrHG",
"error_data": "<string>"
},
"metaBusinessAgentApiError": {
"title": "<string>",
"detail": "<string>",
"type": "<string>",
"status": 123,
"requestId": "<string>"
}
}
}Unsubscribers
Delete an unsubscriber
Deletes the unsubscriber for the specified customer and channel.
DELETE
https://api.ycloud.com/v2
/
unsubscribers
/
{customer}
/
{channel}
{
"type": "PHONE_NUMBER",
"customer": "+16315551111",
"channel": "whatsapp",
"regionCode": "US",
"source": "Whatsapp",
"createTime": "2022-06-01T12:00:00.000Z"
}{
"error": {
"status": 404,
"code": "NOT_FOUND",
"message": "The requested resource does not exist.",
"target": "",
"docUrl": "",
"requestId": "req_1KjtKI80IKoaJNa6n6p",
"whatsappApiError": {
"message": "HSM Template creation failed",
"code": 200002,
"type": "OAuthException",
"is_transient": false,
"error_subcode": 2388109,
"error_user_msg": "This message template cannot be created.",
"error_user_title": "Message Cannot Be Submitted",
"fbtrace_id": "AVGjJ7ia2zJkrHG",
"error_data": "<string>"
},
"metaBusinessAgentApiError": {
"title": "<string>",
"detail": "<string>",
"type": "<string>",
"status": 123,
"requestId": "<string>"
}
}
}Authorizations
Path Parameters
The customer who has opted out.
Example:
"+16315551111"
Channel of unsubscriber.
whatsapp: Indicates that the customer opts out of receiving WhatsApp messages from your business.
Available options:
whatsapp Response
Successfully deleted the 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.
Channel of unsubscriber.
whatsapp: Indicates that the customer opts out of receiving WhatsApp messages from your business.
Available options:
whatsapp The customer's region code, formatted in ISO 3166-1 alpha-2 country code.
Example:
"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.
Available options:
Whatsapp, API, Manual Example:
"Whatsapp"

