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

Create an organization webhook

POST/organizations/{organizationSlug}/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.

Path parameters
organizationSlugstringrequired
Request body
requiredapplication/json
namestringrequired
urlstring<uri>required
descriptionstring
eventsstring[]required

Event types — see /webhooks/event-types

Responses
201

Created — includes the signing secret (shown once)

idstring
secretstring
400

Invalid request parameters

typestringrequired

Machine-readable error code

statusintegerrequired

HTTP status code

titlestringrequired

Human-readable error message

detailsobject

Field-level validation errors

403

Requires admin

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