Retrieve a documents structured data.
| Time |
Status |
User Agent |
|
| Make a request to see history. |
|
|
|
URL Expired
The URL for this request expired after 30 days.
Schema
| Field |
Type |
Requirements |
Description |
| reference_id |
string |
required |
The reference ID of the document to retrieve. |
| status |
string |
required |
The status of the document processing pipeline. |
| message |
string |
required |
A message describing the status of the document processing pipeline. |
| document |
string |
required |
Related data about the document. |
| file_name |
string |
required |
The name of the file as originally uploaded. |
| signed_url |
uri |
required |
A pre-signed URL for direct access to the document. |
| uploaded_phone_number |
string | null |
|
The phone number associated with the upload. |
| document_subject |
string | null |
|
The subject of the document. |
| recommended_file_name |
string | null |
|
The recommended file name for the document. |
| document_summary |
string | null |
|
Summary of the document from extraction results. |
| document_short_description |
string | null |
|
Short description of the document. |
| uploaded_at |
date-time | null |
|
The timestamp when the document was uploaded. |
| created_at |
date-time | null |
|
The timestamp when the document was created. |
API Request Example
curl --request GET \
--url https://api.flextract.dev/api/docs/reference_id/ \
--header 'accept: application/json'
Expected JSON Response
{
"status": "string",
"message": "string",
"document": "string",
"file_name": "string",
"reference_id": "string",
"signed_url": "string",
"uploaded_phone_number": "string",
"document_subject": "string",
"recommended_file_name": "string",
"document_summary": "string",
"document_short_description": "string",
"uploaded_at": "2026-07-18T07:09:11.991Z",
"created_at": "2026-07-18T07:09:11.991Z"
}