Guide to Download an Identity Process PDF

To download the pdf version of an Identity Process, you must first create and perform a process from an Identity Flow. Here are the guides with to create an Identity Flow and perform a process and some common integration options:

Download the pdf version of an identity process

From Truora’s Dashboard

In the Truora’s Dashboard you have to first access the details of an identity process result

  1. Go to the Results tab in the side menu
  2. Find the process you need from the list and double click on it
  • You can use the search bar on top to find your processes by ID, document number, flow name and more
  1. Click at the Download button at the upper right of the view
result_process_pdf_button

It may take a while for the download to complete but once it’s done the pdf will automatically open in a new tab

example_process_pdf

Note: For now downloading processes is only supported for web processes, even though the list may display whatsapp processes

By means of Truora’s API

Using Truora’s API you should:

  1. Make a GET request to https://api.identity.truora.com/v1/processes/{process_id}/pdf
  2. Replace {process_id} in the URL with the Process ID obtained from the Truora’s Dashboard
  • Or by creating a rule to be notified via Webhook.
process_id
  1. Create a Header named Truora-API-Key and set its value to your API key.
  2. Send the request.
  • If the pdf has not been generated yet, the API will respond with file_status: requested
Response 202
 
{
  "file_status": "requested",
}
  1. Continue polling the API https://api.identity.truora.com/v1/processes/{process_id}/pdf
  • While the pdf is being generated
Response 202
 
{
  "file_status": "in_progress",
}
  1. When the pdf is ready, the API will respond with the contents of the file as binary and the link to the pdf file in it’s location header
Response 302
 
JVBERi0xLjQKJdPr6eEKMSAwIG9iag...
  1. Grab the link from the location header of the response and download it’s contents to a file, or save the response contents directly