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.eyJzdWIiOiI4OCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc2MDk1MDQzNCwiZXhwIjoxNzYzNTQyNDM0LCJqdGkiOiJhNWY3NjUzYi0wZjE0LTQ4YTktYjY4ZS04NTMyNTU0ZDM3YjkifQ.2KWlHcYUIJvHYVVTCXG8IPA6F9lYOH06pOf3mzPMqYU
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: b6e96193-1394-4271-a68d-6f7a77e51d4e
x-runtime: 0.007946
content-length: 107
Body
{
"chat": {
"id": 55,
"messages": [
],
"role": "driver",
"senders": [
],
"topic": {
"title": "Admin"
},
"topic_type": "User"
}
}