Skip to main content
POST
Switch a webhook on

Authorizations

Authorization
string
header
required

Your API key, e.g. gr_live_…

Headers

Idempotency-Key
string
required

Your own unique id for this request (at most 255 characters). The same id and body within 24 hours answers the first answer again — never a second send or charge.

Maximum string length: 255

Path Parameters

id
string
required

The id.

Response

On.

id
string
url
string
events
string[]
status
enum<string>
Available options:
ON,
OFF
created_at
string | null