chat
Get apiv1chatdm requests
GET /api/v1/chat/dm-requests — list DM requests for the caller
?direction=incoming (default) | outgoing | all
POST /api/v1/chat/dm-requests/ — send a DM request to another user
POST body:
{ "target_user_id": "<uuid>", "group_id": "<keycloak-group>", "document_id": "<uuid>" }
Both users must be in the same Keycloak group. The caller's membership is
verified from the JWT. The DM room is NOT created until the recipient accepts.
GET
cURL
Authorizations
Enter your JWT token in the format: Bearer
Response
200
No response body
Previous
Post apiv1chatdm requestsGET /api/v1/chat/dm-requests — list DM requests for the caller
?direction=incoming (default) | outgoing | all
POST /api/v1/chat/dm-requests/ — send a DM request to another user
POST body:
{ "target_user_id": "<uuid>", "group_id": "<keycloak-group>", "document_id": "<uuid>" }
Both users must be in the same Keycloak group. The caller's membership is
verified from the JWT. The DM room is NOT created until the recipient accepts.
Next
cURL
