Record an opt-out
Stops sends to phone from every sub-customer (no customer given) or from one (customer_id or external_id). Recording one that exists returns it unchanged (200); a new one is 201 and fires recipient.opted_out.
Scope: partner.manage. Rate limit: 300 requests per minute per API key.
apiKey partner.manageAuthorizationBearer <msk_live_…>An API key created under API keys in the panel: Authorization: Bearer msk_live_…. The key's scopes decide which operations it may call.
Scope: partner.manage
Idempotency-Key?stringRetry-safe POST: a repeated request with the same key replays the first successful response for 24 hours. Rejected requests (4xx/5xx) are not remembered, so a corrected request may reuse the key.
8 <= length <= 200application/json- body
customer_id?stringOmit both customer fields for a global opt-out.
uuidexternal_id?string1 <= length <= 128phone*string7 <= length <= 32reason?stringlength <= 500Already recorded
application/json- response
data*meta*curl -X POST 'https://app.messora.tech/api/v1/partner/opt-outs' \ -H 'Content-Type: application/json' \ -d '{ "external_id": "acc-1042", "phone": "+905551112233", "reason": "Asked by phone"}'{ "data": { "created_at": "2026-12-02T09:00:00Z", "customer": null, "id": "019a8c2e-4f1b-7a00-9c3d-5e7a10000601", "phone": "+905551112233", "reason": "Keyword: İPTAL", "source": "keyword" }, "meta": { "request_id": "019a8c2e-4f1b-7fff-9c3d-5e7a1000ffff" }}List opt-outs GET
Opt-outs of every sub-customer (customer null, global) and of one, newest first, paged with cursor. phone and customer_id filter; scope=global lists only the global ones. Scope: one of partner.manage, partner.read. Rate limit: 300 requests per minute per API key.
Remove an opt-out DELETE
Removes the global opt-out of phone (no customer_id) or its opt-out of one sub-customer. A global opt-out and a customer's own are separate: removing one keeps the other. Scope: partner.manage. Rate limit: 300 requests per minute per API key.