Retrieve parsed document
Changed onThe endpoint returns a parsed document with its extracted data. The parsed_data field contains structured information extracted from the document. Note: Volunteer letters and military PCS orders are available through this endpoint. For volunteer letters, the parsed_data includes volunteer information such as total hours, dates (start_date, end_date), position title, and optionally detailed hour entries with dates, hours, and descriptions for each volunteer activity. For PCS orders, the parsed_data includes the service branch, pay grade, current and future duty stations, the report no later than (RNLT) date, tour length, dependent information, and the active duty service commitment.
Request
- Base URLhttps://prod.truv.com
- URLhttps://prod.truv.com/v1/links/{link_id}/parsed-documents/{doc_id}/
- AuthAPI key in header X-Access-Client-Id and API key in header X-Access-Secret
Response
Example response
{
"id": "24d7e80942ce4ad58a93f70ce4115f5c",
"document_type": "VOLUNTEER_LETTER",
"document_subtype": "VOL_TRANSCRIPT",
"file": "https://cdn.truv.com/files_examples/VOLUNTEER_LETTER.pdf",
"md5sum": "24d7e80942ce4ad58a93f70ce4115f5c",
"parsed_data": {
"total_hours": 89.6,
"time_entries": [
{
"date": "2025-01-29",
"hours": 5.1,
"description": "Facilitated group activities and sessions"
},
{
"date": "2025-02-02",
"hours": 5,
"description": "Assisted with data entry and record keeping"
},
{
"date": "2025-02-05",
"hours": 5.8,
"description": "Participated in community cleanup and maintenance"
},
{
"date": "2025-02-07",
"hours": 3.4,
"description": "Assisted with food distribution to local families"
},
{
"date": "2025-02-16",
"hours": 5.6,
"description": "Led educational workshops for participants"
}
]
}
}Changes
- warning
added the new
PCS_ORDERSenum value to theresponse property for the response status
- warning