Skip to main content
POST
Set webhook URL

Authorizations

Authorization
string
header
required

All of WotNot's APIs use Bearer token authentication. Send your account token as Bearer <token>. You can find it in Settings > Account Settings > Developer. Keep it on your server: anyone who has it can call the API as your account.

Path Parameters

account_id
string
required

The ID of your WotNot account.

Body

application/json

The webhook URL and the events to send to it.

webhook_url
string
required

The URL where WotNot sends the events. The example leaves it empty ("").

Example:

""

subscribed_events
object[]
required

The events to turn on or off for this webhook.

is_enabled
boolean
required

true to turn the webhook on.

Example:

true

token
string
required

A token for the webhook, for example Test.

Example:

"Test"

Response

The webhook was saved. Returns ok set to true.

ok
boolean
required

true when the request worked. Errors return false.

Example:

true

Last modified on October 22, 2026