Skip to main content
POST
Create Webhook

Body Parameters

string
The ID of the app to create the webhook for.
Required for webhooks in an app. Not required for global webhooks.
string
The ID of the app to create the webhook for.
Required for global webhooks.
string
required
The URL where webhook events will be sent
array
Array of custom headers to be sent with the webhook
string
Authentication method for the webhook. Must be one of: “basic”, “hmac”, or “apiKey”
string
Username for basic authentication (required if authMethod is “basic”)
string
Password for basic authentication (required if authMethod is “basic”)
string
API key for apiKey authentication (required if authMethod is “apiKey”)
string
Header name for the API key (required if authMethod is “apiKey”)
string
Header name for the HMAC signature (required if authMethod is “hmac”)
string
Secret for HMAC signature generation (required if authMethod is “hmac”)

Response

boolean
Indicates if the request was successful
string
A message describing the result of the operation
object
The created webhook object

Response Example