v1

latestOpenAPI 3.1.02026-07-2458221215.8 KB
Manage webhooks

Create a webhook subscription

Create a webhook subscription

post/webhooks

Request body

target_urlstring

The HTTPS target URL that should receive webhook deliveries

Response

OK

idstring

The unique identifier of the webhook subscription

target_urlstring

The HTTPS target URL that receives webhook deliveries

secretstring nullable

The secret used to sign webhook deliveries

created_atstring date-time
updated_atstring date-time
urlstring

The URL of the webhook subscription resource

Example response

{
  "id": "wh_1aBMS9FKwvSDjljRJI1aZ",
  "created_at": "2022-03-10T16:15:50Z",
  "updated_at": "2022-03-10T16:15:50Z"
}