Upsert Webhook
POST
/save-webhook
Creates or updates a webhook
Request
Headers
An API Key is required to access this endpoint.
Name | Value |
---|---|
x-api-key |
|
Body
Name | Type | Description |
---|---|---|
| string | Unique ID for the webhook. |
| Header[] | Array of headers for the webhook. |
| boolean | Whether webhook is active. |
| string | Webhook URL. |
Header
Parameter ID is required when updating an existing parameter.
Name | Type | Description |
---|---|---|
| string | Name of the header. |
| string | Value associated with the header. |
Example
Response
The API returns the response in JSON format.
Each response includes a success
boolean and webhookId
.
Example
Last updated