Quickstart
Most integrations start with one of three flows:
Upload a file, submit it to Document Insights, and read structured extraction output.
Trigger a workflow configured in Plextera Studio and monitor the run.
Subscribe to webhooks so Plextera pushes terminal state changes to your application.
Prerequisite - you have an API key. See Authentication.
Flow 1: Extract fields and poll for output
Use this when your application can wait for the result by checking the API.
Upload a document
Save the returned id; this is the fileId used by later calls. See the Files guide for metadata, downloads via contentUrl, and upload constraints.
Flow 2: Extract fields and receive an event
Use this when your application has a webhook endpoint and should not poll.
Create an extraction
Submit the document the same way as Flow 1. When processing reaches a terminal state, Plextera sends an event to your endpointUrl.
Verify and process the webhook
Verify the X-Plextera-Signature header before trusting the payload. For document-insights.extraction.completed, the event payload includes the completed extraction and its output.
If events do not arrive, inspect GET /event-subscriptions/{subscriptionId}/deliveries - it shows each delivery attempt, the HTTP response your endpoint returned, and the next scheduled retry. See Inspect deliveries.
Flow 3: Start a workflow
Use this when the workflow is already configured in Plextera Studio and your application only needs to trigger it.
Then either poll GET /workflow-runs/{runId} or subscribe to workflow.run.completed and workflow.run.failed.
When to use polling vs events
Next steps
- Document Extraction - detailed extraction flow, output model, feedback, and polling guidance
- Workflow Runs - start workflows with JSON or multipart form-data
- Event Subscriptions - webhook setup, signatures, retries, and event payloads
- Errors - error envelope, code table, and retry guidance
- API Reference - full endpoint reference with interactive examples