Skip to main content
POST
Create DM message by participant ID

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

participant_id
string
required
Pattern: ^[0-9]{1,19}$

Body

application/json

At least one of text, attachments is required.

text
string
required

Text of the Direct Message.

Minimum string length: 1
attachments
object[]

Attachments to include with the message.

Response

The request has succeeded.

data
object
errors
object[]