post https://api.sensible.so/v0/extract_from_url/
Extract data asynchronously from a document at the specified document_url
.
For supported file size and types, see Supported file types.
Take the following steps.
- Run this endpoint. Sensible recommends including
content_type
body parameter:
curl --location 'https://api.sensible.so/v0/extract_from_url/<YOUR_DOCUMENT_TYPE>' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer REDACTED' \
--data '{"document_url": "YOUR_DOC_URL", content_type":"application/pdf"}'
- To retrieve the extraction, use a webhook, or use the extraction
id
returned in the response to poll the GET documents/{id} endpoint.
For a step-by-step tutorial on calling this endpoint,
see Try asynchronous extraction from your URL.