Chats

GET help(admin)

Endpoint

GET /api/v1/chats/help

Parameters

Name Description
user_id required User ID

Request

Route

GET /api/v1/chats/help?user_id=89

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI4OCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc1MzI2NjE3MCwiZXhwIjoxNzU1ODU4MTcwLCJqdGkiOiIyMDEyNmJiYS1jZWM0LTQzMzMtYmFlNS1jNDdiODAzOTZkNDMifQ.zWGmBu27ae0kYBO1DwGwsL8-rvIvxrD77O96KS_LAn8
Host: example.org
Cookie: 

Query Parameters

user_id=89

Body

{
}

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"495a88cf9967e7aead3baf9ba8ff8346"
cache-control: max-age=0, private, must-revalidate
x-request-id: 445306ea-703a-4b00-905e-bb3492e968de
x-runtime: 0.010242
content-length: 107

Body

{
  "chat": {
    "id": 55,
    "messages": [

    ],
    "role": "driver",
    "senders": [

    ],
    "topic": {
      "title": "Admin"
    },
    "topic_type": "User"
  }
}