Pular para o conteúdo principal
POST
Update Custom Attributes

Autorizações

api_access_token
string
header
obrigatório

Token de acesso do usuário (Perfil → Token de acesso). Dá acesso conforme o papel do usuário e age em nome dele.

Parâmetros de caminho

account_id
string
obrigatório

The numeric ID of the account

conversation_id
string
obrigatório

The numeric ID of the conversation

Corpo

application/json
custom_attributes
object
obrigatório

The custom attributes to be set for the conversation

Exemplo:
merge
boolean
padrão:false

When true, only the keys sent in custom_attributes are updated and the remaining keys are kept intact. When false (default), the whole custom attributes hash is replaced. Use the destroy_custom_attributes endpoint to remove keys.

Resposta

Success

custom_attributes
object

The custom attributes of the conversation