Skip to content

customer_unsubscribed

The customer unsubscribed from SMS

BetaAPI v2 is in public beta: endpoints, fields and behaviour can change before general availability. See the changelog

Last updated

Code: customer_unsubscribed · HTTP status: usually 422

The customer opted out of SMS, so no message was sent.

Send an email instead; don’t retry the SMS.

{
"code": "customer_unsubscribed",
"type": "https://docs.stoqapp.com/v2/docs/api-v2/errors/customer-unsubscribed/",
"title": "The customer unsubscribed from SMS",
"status": 422,
"detail": "The customer has unsubscribed from SMS. Send an email instead; don't retry the SMS.",
"errors": [
"The customer has unsubscribed from SMS"
],
"details": [
{
"code": "customer_unsubscribed",
"message": "The customer has unsubscribed from SMS",
"path": null,
"value": null,
"expected": null
}
]
}

Every API v2 and MCP failure carries code and a type link to its page here. See Errors & Responses for the full envelope.

Was this page helpful?

Still stuck? Ask Quinn or chat with support