Webhooks

Webhook will POST a notification to the configured URL created by the user in the Typless user interface.

New Webhook

In the Profile page, you can add new, delete, or edit existing webhook endpoints.

  • If All is selected for the document type, the webhook will post a notification to the configured URL after data extraction is finished for all document types.

  • If you select a specific document type, the webhook will only post a notification for the selected one.

Profile page with webhook setup

📘 Note Currently, webhooks are published only for data extraction events. In the future, it will also be possible to receive notifications for other events (training finished, document type changed, etc.).

Example of a Webhook Message Payload

extraction.finished

{
  "event_id": "0e895e25cfa24844c724c0c675da4078b7d13b32",
  "event_time": "2022-02-03T10:19:17.388584",
  "data": {
    "id": "0e895e08e170ec2d89ddc313792d7f7b89c0a203",
    "message": "Extraction process finished"
  },
  "type": "extraction.finished"
}

The id value in the data property can be used to fetch data in the next step using /get-extraction-data

Last updated