Messaging
In-app direct and group messaging between users.
Amba provides in-app messaging for direct and group conversations between users.
Client API reference
| Method | Path | Description |
|---|---|---|
POST | /client/messaging/conversations | Create a conversation |
GET | /client/messaging/conversations | List user's conversations |
POST | /client/messaging/conversations/:id/messages | Send a message |
GET | /client/messaging/conversations/:id/messages | Get messages (paginated) |
POST | /client/messaging/conversations/:id/read | Mark conversation as read |
Create a conversation
Send a message
MCP tools
| Tool | Description |
|---|---|
amba_get_messaging_stats | Get messaging statistics (total conversations, messages, active count) |
Database tables
| Table | Purpose |
|---|---|
conversations | Conversation records with type (direct, group) |
conversation_participants | Participant records linking users to conversations |
messages | Individual messages with body, sender, and metadata |