Skip to main content

TeamChat API

TeamChat endpoints exposed by the Devotel CPaaS API Base path: /api/v1/team-chat Endpoint count: 32

List internal team channels the caller is a member of

GET /api/v1/team-chat/channels

Get the active huddle (if any) for a channel

GET /api/v1/team-chat/channels/{channelId}/huddle
string
required

List members of a channel

GET /api/v1/team-chat/channels/{channelId}/members
string
required

List channel messages, newest-first

GET /api/v1/team-chat/channels/{channelId}/messages
string
required

Load a channel message thread (root + replies)

GET /api/v1/team-chat/channels/{channelId}/messages/{messageId}/thread
string
required
string
required

Batch reaction summary for channel messages

GET /api/v1/team-chat/channels/{channelId}/messages/reactions
string
required

List DM threads the caller participates in

GET /api/v1/team-chat/dms

List messages in a DM thread

GET /api/v1/team-chat/dms/{threadId}/messages
string
required

Batch reaction summary for DM messages

GET /api/v1/team-chat/dms/{threadId}/messages/reactions
string
required

Snapshot of online peers (+ last-seen for requested users)

GET /api/v1/team-chat/presence

Full-text search channel messages across the channels you belong to

GET /api/v1/team-chat/search
string
required
string
string
string
string
integer

Create an internal team channel

POST /api/v1/team-chat/channels

Start a huddle in a channel, or drop into the live one

POST /api/v1/team-chat/channels/{channelId}/huddle
string
required

Leave the channel huddle (ends it when the room empties)

POST /api/v1/team-chat/channels/{channelId}/huddle/leave
string
required

Add a member to a channel

POST /api/v1/team-chat/channels/{channelId}/members
string
required

Post a message to a channel

POST /api/v1/team-chat/channels/{channelId}/messages
string
required

Add a reaction to a channel message

POST /api/v1/team-chat/channels/{channelId}/messages/{messageId}/reactions
string
required
string
required

Reply in-thread to a channel message

POST /api/v1/team-chat/channels/{channelId}/messages/{messageId}/replies
string
required
string
required

Open (get-or-create) a 1:1 DM thread with another user

POST /api/v1/team-chat/dms

Send a message in a DM thread

POST /api/v1/team-chat/dms/{threadId}/messages
string
required

Add a reaction to a DM message

POST /api/v1/team-chat/dms/{threadId}/messages/{messageId}/reactions
string
required
string
required

Mark inbound DM messages in a thread as read

POST /api/v1/team-chat/dms/{threadId}/read
string
required

Refresh the caller’s presence (online/away)

POST /api/v1/team-chat/presence/heartbeat

Broadcast a typing indicator to a channel or DM peer

POST /api/v1/team-chat/typing

Edit your own channel message

PATCH /api/v1/team-chat/channels/{channelId}/messages/{messageId}
string
required
string
required

Delete a channel and all of its messages (owner only)

DELETE /api/v1/team-chat/channels/{channelId}
string
required

Remove a member from a channel

DELETE /api/v1/team-chat/channels/{channelId}/members/{userId}
string
required
string
required

Soft-delete your own channel message

DELETE /api/v1/team-chat/channels/{channelId}/messages/{messageId}
string
required
string
required

Remove your reaction from a channel message

DELETE /api/v1/team-chat/channels/{channelId}/messages/{messageId}/reactions/{emoji}
string
required
string
required
string
required

Delete a DM thread and all of its messages (participant)

DELETE /api/v1/team-chat/dms/{threadId}
string
required

Remove your reaction from a DM message

DELETE /api/v1/team-chat/dms/{threadId}/messages/{messageId}/reactions/{emoji}
string
required
string
required
string
required

Mark the caller offline (graceful disconnect)

DELETE /api/v1/team-chat/presence