Channels
Approve Pairing
Approve a DM pairing request for a channel.
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 thechannels 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.