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.eyJzdWIiOiI4OCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc2MzYyNjM2MiwiZXhwIjoxNzY2MjE4MzYyLCJqdGkiOiJlYzJkOGI2OS0xZmVmLTQ3ZWUtYWE5My05MzEyY2IxYjJhYzgifQ.cwe8SKu3yyt_XYDj2q3qI2XTLWCnFICdLsUrs7NB1Vw
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: ec25ca04-7c9c-4722-b67f-2cf77516cd8a
x-runtime: 0.008385
content-length: 107

Body

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

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

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