Headers
-
The id of the target brand
Path parameters
-
The waiting list id
GET /chat/waiting-list/{id_waiting_list}
curl \
-X GET https://domain.tld/api/v2/chat/waiting-list/{id_waiting_list} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "X-Popsell-Brand: 3"
Response examples (200)
{
"id_ambassador": 1,
"id_user": 1,
"id_brand": 1,
"id_chat_topic": 1,
"content": "Help me",
"id_chatroom": 1,
"date_handled": "2020-01-01T00:00:00Z",
"date_update": "2020-01-01T00:00:00Z",
"date_delete": "2020-01-01T00:00:00Z",
"source": 1,
"id_transferrer": 1,
"id_chatroom_transferred": 1
}
Response examples (401)
{
"message": "Unauthorized."
}