Pular para o conteúdo

PUT /v1/whatsapp-flows/{id}/field-mappings

PUT
/v1/whatsapp-flows/{id}/field-mappings
curl --request PUT \
--url https://seu-endereco-da-api/v1/whatsapp-flows/example/field-mappings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "mappings": [ { "questionKey": "example", "fieldKey": "example", "tagId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "fillOnlyEmpty": true } ] }'

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

id
required
string
Media typeapplication/json
object
mappings
required
Array<object>
<= 100 items
object
questionKey
required
string
>= 1 characters <= 200 characters
fieldKey
string
nullable >= 1 characters <= 100 characters
tagId
string format: uuid
nullable
fillOnlyEmpty
boolean

Example generated

{
"mappings": [
{
"questionKey": "example",
"fieldKey": "example",
"tagId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"fillOnlyEmpty": true
}
]
}