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.eyJzdWIiOiI4OCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc0MjQ2NDkwNiwiZXhwIjoxNzQ1MDU2OTA2LCJqdGkiOiI1OWIyODQ4Yy04NTQ2LTQwN2YtYWE1OC00OWQ3YzQ1MDdjZWYifQ.Rqw1jpw7PiUP3yANk82gkyQ5QvoIV_NYSLq7ucS_dn0
Host: example.org
Cookie:
Query Parameters
user_id=89
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: 323ebdad-fc48-41aa-9ab6-aa5fcdfefbe0
x-runtime: 0.008487
content-length: 107
Body
{
"chat": {
"id": 55,
"messages": [
],
"role": "driver",
"senders": [
],
"topic": {
"title": "Admin"
},
"topic_type": "User"
}
}