Skip to main content
POST
Approves a DM pairing request by submitting a pairing code. This is used when a channel requires explicit approval before the bot can interact with a user in direct messages.

Authentication

Requires an org-level API key or a scoped token with the channels permission.

Path Parameters

string
required
The ID of the instance.
string
required
The channel identifier.

Body Parameters

string
required
The pairing code to approve.

Response

string
The channel identifier.
string
The pairing code that was submitted.
string
The result of the pairing attempt.
string
Additional output from the pairing process, if any.