Pular para o conteúdo

POST /v1/conversations/waiting/search

POST
/v1/conversations/waiting/search
curl --request POST \
--url https://seu-endereco-da-api/v1/conversations/waiting/search \
--header 'Authorization: Bearer <token>'

Permissão que a Chave de acesso precisa: Ler conversas (conversations:read).

Media typeapplication/json
object
count
required

Every open conversation whose customer waits for the team, in the reader’s view

number
items
required

The ones waiting longest, oldest first, at most 10

Array<object>
object
conversationId
required
string format: uuid
customerName
required

Contact name, or the phone as the reader may see it

string
waitingSince
required
string format: date-time
lastMessage
required
string
nullable
lastMessageAt
required
string format: date-time
nullable
assigneeName
required
string
nullable

Example generated

{
"count": 1,
"items": [
{
"conversationId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"customerName": "example",
"waitingSince": "2026-04-15T12:00:00Z",
"lastMessage": "example",
"lastMessageAt": "2026-04-15T12:00:00Z",
"assigneeName": "example"
}
]
}