Set a template's cost
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.
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
templateName*stringThe template's name in Meta.
^[a-z0-9_]{1,512}$application/json- body
credits*integerint640 <= value <= 1000000language?stringOnly this language (e.g. tr, en_US); omit for every language.
^[A-Za-z]{2,3}(_[A-Za-z0-9]{2,8})?$Stored
application/json- response
data*meta*curl -X PUT 'https://app.messora.tech/api/v1/partner/templates/string/cost' \ -H 'Content-Type: application/json' \ -d '{ "credits": 2}'{ "data": { "credits": 2, "language": null, "template_name": "invoice_ready", "updated_at": "2026-12-01T09:00:00Z" }, "meta": { "request_id": "019a8c2e-4f1b-7fff-9c3d-5e7a1000ffff" }}Set a template's company-name variable PUT
Names the template variable that every send fills with the sub-customer's display_name, for every language of the template: header.<key> or body.<key>, where the key is the variable's name ({{firma}}) or number ({{1}}). null removes the choice; then a variable named company_name is filled, if the template has one. A value the request gives for that variable always wins. Scope: partner.manage. Rate limit: 300 requests per minute per API key.
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.