Set a template's company-name variable
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.
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
variable*|header. or body. (the variable's name or number); null removes the choice.
^(header|body)\.[A-Za-z0-9_]{1,64}$Stored
application/json- response
data*meta*curl -X PUT 'https://app.messora.tech/api/v1/partner/templates/string/company-name' \ -H 'Content-Type: application/json' \ -d '{ "variable": "body.1"}'{ "data": { "company_name": { "source": "mapped", "variable": "body.1" }, "template_name": "invoice_ready" }, "meta": { "request_id": "019a8c2e-4f1b-7fff-9c3d-5e7a1000ffff" }}List templates with their cost GET
The approved templates of the provider's WhatsApp numbers with their variables and what one send costs a sub-customer in credits: the template's language's own cost, else the template's cost for every language, else 1. Scope: one of partner.manage, partner.read, partner.send. Rate limit: 300 requests per minute per API key.
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.