Pular para o conteúdo

PUT /v1/templates/{id}/variable-bindings

PUT
/v1/templates/{id}/variable-bindings
curl --request PUT \
--url https://seu-endereco-da-api/v1/templates/example/variable-bindings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "bindings": [ {} ] }'

Permissão que a Chave de acesso precisa: Gerenciar modelos e formulários (templates:manage).

id
required
string
Media typeapplication/json
object
bindings
required

One entry per text variable, in send order (header text, body, URL buttons): { kind: “agent_text” }, { kind: “field”, key, fallback? } with a key from the quick-reply variables, or { kind: “fixed”, value }

Array<object>
object

Example generated

{
"bindings": [
{}
]
}