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:
- DI main concepts to get a general idea
- Create an Identity Flow from the flow builder or from the web integration dashobard
- Integrate via iframe to have an entry point for your identity processes
- Integrate via webview to have an entry point for your identity processes
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
- Go to the
Results
tab in the side menu - 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
- Click at the
Download
button at the upper right of the view
It may take a while for the download to complete but once it’s done the pdf will automatically open in a new tab
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:
- Make a GET request to
https://api.identity.truora.com/v1/processes/{process_id}/pdf
- Replace
{process_id}
in the URL with theProcess ID
obtained from the Truora’s Dashboard
- Or by creating a rule to be notified via Webhook.
- Create a Header named
Truora-API-Key
and set its value to your API key. - Send the request.
- If the pdf has not been generated yet, the API will respond with
file_status: requested
Response 202
- Continue polling the API
https://api.identity.truora.com/v1/processes/{process_id}/pdf
- While the pdf is being generated
Response 202
- 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
- Grab the link from the
location
header of the response and download it’s contents to a file, or save the response contents directly