Skip to content

Create a Webhook

POST/v1/webhooks

Register an HTTPS endpoint for the organization's events. Events are signed with Standard Webhooks using the returned secret, delivered at least once and in no guaranteed order.

Request

application/json
Authorization
header · required
Bearer <Extralt API key>
Idempotency-Key
header · string · required

Unique key for safely retrying this request

url
body · string · required

The HTTPS URL events are POSTed to. IP addresses and local host names are refused.

description
body · string · nullable
event_types
body · WebhookEventType[] · nullable

The events to send. Omit to receive every event type, including types added later.

one of store.ready · store.failed · run.completed · run.stopped · run.failed · run.changes · import.completed · import.failed · import.changes

Response

201 Created · application/json

Webhook created, with its signing secret

created_at
string
date-time
description
string · nullable
enabled
boolean
event_types
string[] · nullable

The event types sent to this endpoint, or null for every event type.

id
string
secret
string

The Standard Webhooks signing secret (whsec_…). The API returns it only here; admins can reveal it again in the dashboard.

url
string

Errors

ErrorResponse

Errors that read the same on every endpoint are in Error codes.

400

Invalid URL, description or event types

402

An active subscription is required for this operation

409

The organization has reached its webhook limit, or the idempotency key was used for a different request

413

The request body exceeds the API limit

415

The request body must use application/json

422

The JSON body does not match the expected schema

Request · cURL
curl -X POST 'https://api.extralt.com/v1/webhooks' \
  -H "Authorization: Bearer $EXTRALT_API_KEY" \
  -H 'Idempotency-Key: 0f8c6b2e-3d4a-4f9b-8c1e-5a7d9e2b4c61' \
  -H 'Content-Type: application/json' \
  -d '{
  "url": "https://hooks.example.com/extralt"
}'
Response · 201
{
  "created_at": "2026-09-28T08:14:03Z",
  "description": "Price alerts workflow",
  "enabled": true,
  "event_types": [
    "run.completed",
    "run.failed"
  ],
  "id": "pn74h2q9x8c3v1m6z5t0r7wbk2f8djsa",
  "secret": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw",
  "url": "https://hooks.example.com/extralt"
}