Chat messages
| Name | Description |
|---|---|
| token | token |
| entourage_id | entourage |
Content-Type: application/json Host: example.org Cookie:
GET /api/v1/entourages/2/chat_messages?token=foobar16
token: foobar16
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET,POST,PUT,PATCH,DELETE Access-Control-Allow-Headers: Origin,Accept,Content-Type,X-Requested-With,X-CSRF-Token,X-API-KEY Content-Type: application/json; charset=utf-8 ETag: W/"2ffde56b72e68db1e117475495308ea9" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 1f368c78-9088-476d-b1f5-b18942879294 X-Runtime: 0.032343 Content-Length: 189
200 OK
{
"chat_messages": [
{
"id": 2,
"content": "MyText",
"user": {
"id": 15,
"avatar_url": null,
"display_name": "John D.",
"partner": null
},
"created_at": "2022-06-02T17:16:42.196+02:00",
"message_type": "text"
}
]
}