webhooks

Create a webhook

Access policy: authenticated

post/webhooks

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/webhooks
  • Auth
    • API key in header X-API-KEY
    • or API key in header Authorization

Request body

EndpointIDinteger
RegistryIDinteger
ResourceIDstring
WebhookType0 | 1

Response

OK

EndpointIdinteger
Idinteger

Webhook Identifier

RegistryIdinteger
ResourceIdstring
Tokenstring
Type0 | 1

Example response

{
  "Id": 1
}

Changes

No recorded changes to this operation across all 21 revisions of this API.