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.eyJzdWIiOiI4OCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc0ODUxNjQ5NSwiZXhwIjoxNzUxMTA4NDk1LCJqdGkiOiIwMzNiNTI5YS0xNjI2LTRmYjktOTNjMi02NTY0ZTdlN2NiNTMifQ.G-Imx74eRv4Bk21TUzpn0ii5YriXQXkmorAaj_CJegw
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: 8bfb33b5-7feb-4606-8fbc-50bb5d80c3c5
x-runtime: 0.007694
content-length: 107
Body
{
"chat": {
"id": 55,
"messages": [
],
"role": "driver",
"senders": [
],
"topic": {
"title": "Admin"
},
"topic_type": "User"
}
}