Scope chatrooms:read for reads · chatrooms:write for changes
Operations
| GET | /v1/chatrooms | List — see list |
| GET | /v1/chatrooms/{id} | Read — see get |
| PATCH | /v1/chatrooms/{id} | Update — see update |
Records of this kind are created by the app (for example by incoming messages), not through the API.
List
curl "https://api2.djcsystem.com/v1/chatrooms?limit=25" -H "Authorization: Bearer $DJC_TOKEN"Fields
Updatable through PATCH: statusnameunreadcurrentIntentionId
Filters & sorting
| Filterable | statusfromremotePhoneisGroupcurrentIntentionId |
| Sortable | date |
| Default order | date:desc |
Child: messages
Messages in this chatroom, newest first (read-only).
| GET | /v1/chatrooms/{id}/messages |
Good to know
- Sending a message is a side-effecting action, not a CRUD write; it is deliberately outside this API surface.