Create an embed session
Creates a session for an embedded view and returns its iframe url.
Call this from your backend with your API key. Put url in the src of an iframe on one of the origins pages. The URL carries a short-lived token in its fragment: treat it as a secret, and create a new session for each person and each visit.
A review session binds one extraction run (exr_…) with unit per_document and 1 to 20 of its documents. In write mode the person can edit and approve values. webhook then receives each save and approval.
A transcript or document session binds one ready file, in read mode. transcript needs a transcribed audio file. document needs a PDF, an office file with a preview, or an image.
The session ends at expiresAt: the earliest of now plus ttl and the run expiry. Call DELETE /v1/embeds/{id} to end it sooner.
https://api.cloudraker.com/v1/embedsTry it
Authorization
Request body JSON required
- webhookoptional
Where to deliver this run's events, given one of two ways.
{ "url": "…" }— a one-off https endpoint for this run only.{ "id": "whe_…" }— a saved endpoint fromPOST /v1/webhooks. Runs hold the reference, so pausing or re-pointing that endpoint applies to this run too.
Deliveries are at-least-once and signed — dedupe on
eventIdand verify againstGET /v1/webhooks/jwks.json.
Returns
201
The session, with the iframe url.