Chat Controller
Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
No Content
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
POST /api/chat/messages HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Content-Type: text/plain
Accept: */*
Content-Length: 6
"text"No content
Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
No Content
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
POST /api/chat/messages/set-read?messageIds=text HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
No content
Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
No Content
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
POST /api/chat/message/set-read?messageId=text HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
No content
Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
GET /api/chat/recipients?arg0=[object+Object] HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
{
"totalElements": 1,
"totalPages": 1,
"first": true,
"last": true,
"size": 1,
"content": [
{
"creationDate": "2025-11-22T23:40:38.543Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-11-22T23:40:38.543Z",
"id": "text",
"chatMessageId": "text",
"username": "text",
"isRead": true,
"chatMessage": {
"creationDate": "2025-11-22T23:40:38.543Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-11-22T23:40:38.543Z",
"id": "text",
"content": "text"
}
}
],
"number": 1,
"sort": [
{
"direction": "text",
"nullHandling": "text",
"ascending": true,
"property": "text",
"ignoreCase": true
}
],
"numberOfElements": 1,
"pageable": {
"offset": 1,
"sort": [
{
"direction": "text",
"nullHandling": "text",
"ascending": true,
"property": "text",
"ignoreCase": true
}
],
"pageNumber": 1,
"unpaged": true,
"paged": true,
"pageSize": 1
},
"empty": true
}Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
GET /api/chat/messages/filter?arg0=[object+Object]&arg1=[object+Object] HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
{
"totalElements": 1,
"totalPages": 1,
"first": true,
"last": true,
"size": 1,
"content": [
{
"creationDate": "2025-11-22T23:40:38.543Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-11-22T23:40:38.543Z",
"id": "text",
"content": "text"
}
],
"number": 1,
"sort": [
{
"direction": "text",
"nullHandling": "text",
"ascending": true,
"property": "text",
"ignoreCase": true
}
],
"numberOfElements": 1,
"pageable": {
"offset": 1,
"sort": [
{
"direction": "text",
"nullHandling": "text",
"ascending": true,
"property": "text",
"ignoreCase": true
}
],
"pageNumber": 1,
"unpaged": true,
"paged": true,
"pageSize": 1
},
"empty": true
}Last updated