Download an Identity Process PDF

To download the PDF version of an Identity Process, you must first create and execute a process from an Identity Flow. Below, you will find guides that can help you create an Identity Flow, perform a process, and explore some common integration options:


Download PDF

From Truora’s Dashboard

In 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.
    results_view
  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
  3. Click at the Download button at the upper right of the view.
    results_pdf

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: Currently, 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 Truora’s Dashboard.
    • Or create a rule to be notified via Webhook, and extract the ´Process ID´ from the hook.
      process_id
  3. Create a Header named Truora-API-Key and set its value to your API key.
  4. Send the request.
    • If the pdf has not been generated yet, the API will respond with file_status: requested.
GET
/v1/processes/{process_id}/pdf
                
  {
    "file_status": "requested",
  } 

            
  1. Continue polling the API https://api.identity.truora.com/v1/processes/{process_id}/pdf
  • While the pdf is being generated:
GET
/v1/processes/{process_id}/pdf
                
    {
      "file_status": "in_progress",
    }

            
  1. When the pdf is ready, the API will respond with the contents of the file as binary:
GET
/v1/processes/{process_id}/pdf
                
    JVBERi0xLjQKJdPr6eEKMSAwIG9iag...