v2

latestOpenAPI 3.0.0AGPLv32026-07-26125148364.7 KB
Webhooks

Creates a webhook

Creates a webhook which 3rd party platforms can use to send messages

post/channels/{channel_id}/webhooks

Path parameters

channel_idstring required

Headers

X-Audit-Log-Reasonstring

Reason for action which is stored in the audit log.

Request body

namestring required
avatarstring nullable

Response

idstring required

Webhook Id

namestring required

The name of the webhook

creator_idstring required

User that created this webhook

channel_idstring required

The channel this webhook belongs to

permissionsinteger required

The permissions for the webhook

tokenstring nullable

The private token for the webhook