List opt-outs
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.
AuthorizationBearer <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.read
phone?stringThe recipient (international format).
length <= 32customer_id?stringOne sub-customer, by its id.
uuidscope?"global"global: only the opt-outs that cover every sub-customer.
"global"cursor?stringOpaque cursor from meta.next_cursor.
length <= 200limit?integer1 <= value <= 20050Opt-outs
application/json- response
data*array<>meta*curl -X GET 'https://app.messora.tech/api/v1/partner/opt-outs'{ "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" }}Set a template's cost PUT
Sets how many credits (a whole number, 0 or more) one send of the template costs a sub-customer. Without language the cost applies to every language of the template; with it, to that language only (and it wins over the general one). Scope: partner.manage. Rate limit: 300 requests per minute per API key.
Record an opt-out POST
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.