Chat API
Base: https://exodus.stockbit.com/chat
Auth: Authorization: Bearer <main_token>
Rooms
| Method |
Path |
Description |
| GET |
/chat/v2/rooms |
Get rooms list |
| GET |
/chat/v2/rooms/{id} |
Room detail |
| GET |
/chat/v2/rooms/type/invited |
Invited rooms |
| POST |
/chat/rooms/{id}/read |
Mark room read |
| POST |
/chat/rooms/{id}/clear |
Clear history |
| POST |
/chat/rooms/{id}/accept |
Accept invitation |
| POST |
/chat/rooms/{id}/reject |
Reject invitation |
| DELETE |
/chat/rooms/{id} |
Delete/leave room |
| POST |
/chat/v2/rooms/{id}/mute |
Mute notifications |
| GET |
/chat/v2/rooms/unread/count |
Unread count |
| GET |
/chat/rooms/userid/{userId} |
Room by user ID |
Messages
| Method |
Path |
Description |
| POST |
/chat/messages |
Send message |
| POST |
/chat/v2/messages |
Send message v2 |
| POST |
/chat/v2/messages/bulk |
Bulk send |
| POST |
/chat/v2/messages/forward |
Forward messages |
| POST |
/chat/v2/messages/bulk-delete |
Bulk delete |
| GET |
/chat/rooms/{id}/messages |
Get messages (?limit=50&before_id=X) |
| GET |
/chat/v2/personal/{userId}/messages |
Personal chat messages |
| GET |
/chat/v2/broadcast/{id}/messages |
Broadcast messages |
| GET |
/chat/v2/groups/{groupId}/messages |
Group messages |
POST /chat/messages — Payload
{
"room_id": "room_abc123",
"text": "Hello!",
"attachment": { "type": "ATTACHMENT_TYPE_PHOTO", "url": "https://..." }
}
Groups
| Method |
Path |
Description |
| POST |
/chat/v2/groups |
Create group |
| PUT |
/chat/v2/groups/{id} |
Update group |
| GET |
/chat/v2/groups/{id}/members |
List members |
| POST |
/chat/v2/groups/{id}/members/invite |
Invite members |
| POST |
/chat/v2/groups/{id}/members/leave |
Leave group |
| POST |
/chat/v2/groups/{id}/members/remove |
Remove member |
| POST |
/chat/v2/groups/{id}/set-admin-status |
Set admin |
| POST |
/chat/v2/groups/{id}/change-admin-and-leave |
Transfer admin |
| POST |
/chat/v2/groups/{id}/settings |
Update settings |
| POST |
/chat/v2/groups/{id}/reset-link |
Reset invite link |
| GET |
/chat/v2/groups/room-id/{id} |
Get room ID for group |
| GET |
/chat/v2/groups/eligibility |
Check group creation eligibility |
| GET |
/chat/v2/groups/members/max |
Max members limit |
| GET |
/chat/v2/groups/members/suggestions |
Member suggestions |
| GET |
/chat/v2/groups/members/suggestions/contacts |
Contact discovery |
Invitations
| Method |
Path |
Description |
| GET |
/chat/v2/invitations/preview/{id} |
Preview invitation |
| GET |
/chat/v2/invitations/public-preview/{id} |
Public preview |
| POST |
/chat/v2/invitations/join/{id} |
Join via invitation |
| POST |
/chat/v2/invitations/room-id/{id}/respond |
Respond to invite |
| POST |
/chat/v2/invitations/bulk-respond |
Bulk respond |
| DELETE |
/chat/v2/invitations |
Delete all invitations |
Other
| Method |
Path |
Description |
| GET |
/chat/v2/receivers/shareable-search |
Search shareable receivers |
| GET |
/chat/v2/eligibility/new-personal |
Check new personal chat |
| GET |
/chat/s3/policy |
Get S3 upload policy |
| GET |
/chat/v3/user/search |
Search users in chat |