POST webhooks¶
Create a webhook. The response includes the signing secret. Store it: this is the only time it's returned.
Endpoint¶
POST https://dropday.io/api/v1/webhooks
Parameters¶
| Field | Type | Description |
|---|---|---|
| name | String | A name for the webhook, shown on the settings page. Max 255 characters. |
description optional |
String | A description. Max 1000 characters. |
| url | String | The URL deliveries are sent to. Max 500 characters. Must be unique within your account. |
| events | String[] | One or more event names from GET webhooks/events. |
active optional |
Boolean | Defaults to true. |
If your account already has a webhook with this url, the request returns 422. Look it up with GET webhooks and update it instead.