Skip to content
Navigation

Create a webhook endpoint

Saves a delivery target you can point any run at.

Reference it from a run as webhook: { "id": "whe_…" } — on extract, fill, pipeline, any of them. Runs keep the reference, never a URL snapshot, so pausing or re-pointing an endpoint takes effect on runs already in flight.

{
  "url": "https://example.com/hooks/cloudraker",
  "events": ["run.completed", "run.failed"]
}

Event types — omit events to receive all of them:

  • processing.started
  • file.processed
  • file.failed
  • run.completed
  • run.failed
  • processing.completed
  • processing.expired
  • space.expired
  • agent_run.waiting
  • agent_run.needs_input
  • agent_run.approval_requested
  • agent_run.task_ready
  • agent_run.completed
  • agent_run.failed
  • work_session.opened
  • work_session.waiting
  • work_session.done
  • turn.started
  • turn.finished
  • turn.failed
  • approval.requested
  • approval.decided
  • artifact.created
  • artifact.committed
  • embed.document_saved
  • embed.document_approved

Delivery guarantees. At-least-once, so dedupe on eventId — a retry re-sends the whole event to every target. Up to 6 attempts, at least ten seconds apart, then the event is dropped. Each attempt is signed ES256 — verify against the public keys, and check what actually landed with the delivery log.

Learn more: Webhooks guide

POST
https://api.cloudraker.com/v1/webhooks
Try it
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Request body JSON required

  • url
    string
    required
    format: uri
  • events
    optional
    array of
    processing.started
    or
    file.processed
    or
    file.failed
    or
    run.completed
    or
    run.failed
    or
    processing.completed
    +20 more
  • disabled
    optional
    boolean

Returns

201

The endpoint.

JSON
  • object
    string
    required
  • id
    string
    required
  • url
    string
    required
  • disabled
    boolean
    required
  • createdAt
    string
    required
  • events
    optional
    array of
    string

400

Invalid url or event type (invalid_request).

429

Rate limited. The /v1 API allows at least 67 requests per minute per organization (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the Retry-After interval and retry — the error is retryable.
JSON
  • code
    rate_limited
    required
  • message
    string
    required
  • retryable
    true
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close