v1

latestOpenAPI 3.1.02026-07-24172151607.6 KB
Chat

Create a Direct Message

This endpoint creates a new Direct Message between up to 15 users. If a Direct Message between those users already exists it returns it.

post/api/v3/workspaces/{workspace_id}/chat/channels/direct_message

Path parameters

workspace_idinteger required

The ID of the Workspace.

Request body

user_idsstring[]

The unique user IDs of participants in the direct message Chat, up to 15. A Self DM is created when no user IDs are provided

Response