Skip to main content
POST
Send Discord direct message

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
accountId
string
required
Required string length: 16
Pattern: ^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]{16}$
userId
string
required
Pattern: ^\d{1,20}$
content
string
Maximum string length: 2000
embeds
object[]
Maximum array length: 10
mediaItems
object[]
Maximum array length: 10
tts
boolean

Response

Discord direct message sent.

ok
boolean
required
data
object
required