Create a pull endpoint
POST /v1/pull-endpoints
Creates a new pull mode endpoint. Pull endpoints receive webhooks from external providers and store events for consumer-controlled retrieval via the API, instead of forwarding them.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
Human-readable name
Example
Stripe Order EventsDescription of this endpoint’s purpose
Per-endpoint retention override (default is plan default)
Example
30Where to extract the event type from incoming webhooks
JSON path for body extraction (e.g., “type”) or header name (e.g., “X-GitHub-Event”)
Example
typeResponses
Section titled “ Responses ”Pull endpoint created
object
object
URL to give to your webhook provider. Does not include the secret token suffix.
Whether the endpoint is active (not deleted).
Event counts (only on single-endpoint GET, not list)
object
Secret token for the ingestion URL. Shown only once at creation time.
Full ingestion URL including the secret token suffix.
object
Unique identifier for this request (useful for support)
Example
req_xyz123Invalid request
object
object
Machine-readable error code
Example
INVALID_REQUESTHuman-readable error message
Example
endpoint must be a valid HTTPS URLobject
Unique identifier for this request (useful for support)
Example
req_xyz123Examples
Endpoint not found
{ "error": { "code": "ENDPOINT_NOT_FOUND", "message": "endpoint not found" }, "meta": { "request_id": "req_xyz123" }}Invalid endpoint ID format
{ "error": { "code": "INVALID_REQUEST", "message": "endpoint_id must be in format ep_xxx" }, "meta": { "request_id": "req_xyz123" }}Invalid payload
{ "error": { "code": "INVALID_REQUEST", "message": "payload must be valid JSON" }, "meta": { "request_id": "req_xyz123" }}Invalid headers
{ "error": { "code": "INVALID_HEADERS", "message": "header 'Host' is forbidden and cannot be overridden" }, "meta": { "request_id": "req_xyz123" }}Unauthorized - Invalid or missing API key
object
object
Machine-readable error code
Example
INVALID_REQUESTHuman-readable error message
Example
endpoint must be a valid HTTPS URLobject
Unique identifier for this request (useful for support)
Example
req_xyz123Example
{ "error": { "code": "UNAUTHORIZED", "message": "Invalid or missing API key" }, "meta": { "request_id": "req_xyz123" }}Enter your credentials to populate code examples throughout the docs.