Create Endpoint
Request
HTTPS URL that receives events. Must start with https://, be reachable from the public internet, and be at most 2,048 characters.
Only jobs that index into these collections, by collection id (up to 10). Empty or omitted means every collection.
Free-text label, up to 200 characters.
Create the endpoint without sending to it yet. Defaults to false.
Events to receive: any of job.completed, job.completed_with_errors, job.failed, job.timed_out, job.cancelled. Empty or omitted means all five.
Send collection_name in payloads. When any endpoint receiving an event turns this off, that event carries collection_name: null.
Only jobs from these sources: api (started by a call to an index endpoint) or sync (started by a storage sync). Empty or omitted means both.
Only jobs started by these syncs (up to 10). Requires sources to include sync or be empty.
Response
The endpoint’s id (whe_...).
Free-text label. Empty string when not set.
Source filter (api, sync). Empty means both.
Filters set in Captain Studio’s Webhooks page that cannot be expressed as collection_ids, sync_ids and sources. Empty for endpoints whose filters were set through the API. Setting collection_ids, sync_ids or sources with PATCH replaces them.
Whether payloads sent to this endpoint may carry collection_name.
true when no events are being sent to this endpoint.
delivery_failures when Captain disabled the endpoint after sustained failed deliveries. null when it is enabled or was paused through the API.
The most recent delivery, or null before the first one.
The signing secret (whsec_...). Returned only in this response.