Conversations
API endpoints for managing conversations, rooms, participants, and messages.
Conversations
| Method | Endpoint | Description |
|---|---|---|
| POST | /conversations | Create conversation |
| POST | /conversations/live | Create live conversation |
| GET | /conversations | List conversations |
| GET | /conversations/me | List my conversations |
| GET | /conversations/{conversationId} | Get conversation |
| PUT | /conversations/{conversationId} | Update conversation |
| DELETE | /conversations/{conversationId} | Delete conversation |
| GET | /conversations/{conversationId}/join-token | Get live conversation join token |
Participants
| Method | Endpoint | Description |
|---|---|---|
| POST | /conversations/{conversationId}/participants | Add conversation participant |
| GET | /conversations/{conversationId}/participants | List conversation participants |
| DELETE | /conversations/{conversationId}/participants/{participantId} | Remove conversation participant |
Messages
| Method | Endpoint | Description |
|---|---|---|
| POST | /conversations/{conversationId}/messages | Post message |
| POST | /conversations/{conversationId}/messages/stream | Post message and stream |
| GET | /conversations/{conversationId}/messages | List messages |
| DELETE | /messages/{messageId} | Delete message |
Rooms
| Method | Endpoint | Description |
|---|---|---|
| POST | /rooms | Create room |
| GET | /rooms | List rooms |
| GET | /rooms/me | List my rooms |
| GET | /rooms/{roomId} | Get room |
| GET | /rooms/immutable | Get immutable room |
| PUT | /rooms/{roomId} | Update room |
| DELETE | /rooms/{roomId} | Delete room |
| POST | /rooms/{roomId}/participants | Add room participant |
| GET | /rooms/{roomId}/participants | List room participants |
| DELETE | /rooms/{roomId}/participants/{participantId} | Remove room participant |