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=78

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI3NyIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTczNzU1MTU1MSwiZXhwIjoxNzQwMTQzNTUxLCJqdGkiOiI5ZGM3MTUyYS1hMTIzLTRkMGMtYWEwNS00OWQzMWExZjk0NjIifQ.CYepV3cE4tVX-I1LruvmyS3VXhI8M1K0Bmc_EscPbZE
Host: example.org
Cookie: 

Query Parameters

user_id=78

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/"9ee73cb65b6f3f2803ff104d290f5b95"
cache-control: max-age=0, private, must-revalidate
x-request-id: 38ab34b1-b62c-4b48-b477-7b97a1d62d16
x-runtime: 0.008675
content-length: 107

Body

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

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

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