application/json

Body Required

Responses

POST /chat/waiting-list
curl \
 -X POST https://domain.tld/api/v2/chat/waiting-list \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"id_user":1,"id_chat_topic":1,"source":1,"id_transferrer":1,"id_chatroom_transferred":1}'
Request examples
{
  "id_user": 1,
  "id_chat_topic": 1,
  "source": 1,
  "id_transferrer": 1,
  "id_chatroom_transferred": 1
}
Response examples (201)
{
  "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."
}