Pular para o conteúdo principal
PUT
Update Contact

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

id
number
obrigatório

ID of the contact

Corpo

application/json
name
string

name of the contact

Exemplo:

"Alice"

email
string

email of the contact

Exemplo:

"alice@acme.inc"

blocked
boolean

whether the contact is blocked or not

Exemplo:

false

ignore_greeting
boolean

whether to skip the inbox greeting message for this contact (Evolution, WAHA and UAZAPI WhatsApp inboxes only)

Exemplo:

false

ignore_csat
boolean

whether to skip the CSAT survey for this contact (Evolution, WAHA and UAZAPI WhatsApp inboxes only)

Exemplo:

false

ignore_agent_name
boolean

whether to skip the agent name prefix on outgoing messages for this contact (Evolution, WAHA and UAZAPI WhatsApp inboxes only)

Exemplo:

false

phone_number
string

phone number of the contact

Exemplo:

"+123456789"

avatar
file

Send the form data with the avatar image binary or use the avatar_url

avatar_url
string

The url to a jpeg, png file for the contact avatar

Exemplo:

"https://example.com/avatar.png"

identifier
string

A unique identifier for the contact in external system

Exemplo:

"1234567890"

additional_attributes
object

An object where you can store additional attributes for contact. example {"type":"customer", "age":30}

Exemplo:
custom_attributes
object

An object where you can store custom attributes for contact. example {"type":"customer", "age":30}, this should have a valid custom attribute definition.

Exemplo:

Resposta

Success

payload
object