Skip to content
Seal
Esc
↑↓navigate↵open⌘Jpreview

Create a webhook endpoint

POST/webhooks
Authorization
AuthorizationBearer token · headerrequired

Pass your API key as a Bearer token. API keys are scoped to specific operations — configure scopes in your organization's Settings → Developer → API Keys.

Request body
requiredapplication/json
namestringrequired
urlstring<uri>required
eventsstring[]required
descriptionstring
Responses
200

Created (includes full secret once)

idstringrequired
secretstringrequired
400

Invalid request parameters

typestringrequired

Machine-readable error code

statusintegerrequired

HTTP status code

titlestringrequired

Human-readable error message

detailsobject

Field-level validation errors

401

Missing or invalid API key

typestringrequired

Machine-readable error code

statusintegerrequired

HTTP status code

titlestringrequired

Human-readable error message

detailsobject

Field-level validation errors

Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST "https://api.seal.nyc/api/v1/webhooks" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "url": "http://example.com",
  "events": [
    "string"
  ],
  "description": "string"
}'
Response
{
  "id": "string",
  "secret": "string"
}