Pular para o conteúdo principal
PUT
Update Conversation

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
priority
enum<string> | null

The priority of the conversation. Set to null to clear the priority.

Opções disponíveis:
urgent,
high,
medium,
low,
null
Exemplo:

"high"

sla_policy_id
number

The ID of the SLA policy (Available only in Enterprise edition)

Exemplo:

1

Resposta

Success

id
number

ID of the conversation

messages
object[]
account_id
number

Account Id

uuid
string

UUID of the conversation

additional_attributes
object

The object containing additional attributes related to the conversation

agent_last_seen_at
number

The last activity at of the agent

assignee_last_seen_at
number

The last activity at of the assignee

can_reply
boolean

Whether the conversation can be replied to

contact_last_seen_at
number

The last activity at of the contact

custom_attributes
object

The object to save custom attributes for conversation, accepts custom attributes key and value

inbox_id
number

ID of the inbox

labels
string[]

The labels of the conversation

muted
boolean

Whether the conversation is muted

snoozed_until
number | null

The time at which the conversation will be unmuted

status
enum<string>

The status of the conversation

Opções disponíveis:
open,
resolved,
pending
created_at
number

The time at which conversation was created

updated_at
number

The time at which conversation was updated

timestamp
number

The time at which conversation was created

first_reply_created_at
number | null

The time at which the first reply was created

unread_count
number

The number of unread messages

last_non_activity_message
object | null

The last non activity message

last_activity_at
number

The last activity at of the conversation

priority
string | null

The priority of the conversation

waiting_since
number | null

The time at which the conversation was waiting

sla_policy_id
number | null

The ID of the SLA policy

applied_sla
object

The applied SLA

sla_events
object[]
messaging_window_ends_at
number | null

When the reply window (e.g. WhatsApp Cloud 24h) closes or closed, in unix seconds. Null when the channel has no window, or when no customer message opened it yet (then can_reply is false). Past values mean the window is closed and only message templates can be sent.