Bearer token expires in 24 hours. So Make sure to get the regenerated one to continue.
5.1 On macOS, from Insomnia REST client, go to Insomnia Preference -> Data -> Import Data - > From URL, paste, and save the URL.
On successful import, your REST client will contain the workspace, 2 environment and several folders containing HTTP requests to Platform of Trust APIs.
5.2 To set
bearer token as the
authorization header in API request bodies:
Bearer tokenfrom your browser's developer tool
bearer_tokenattribute in the Sandbox environment. Make sure to exclude the "Bearer " part from the token.
5.3 From Insomnia REST client environments, select Use Sandbox.
You are ready to go!
You can try different API calls depending on what you want to achieve.
You can follow this get-started guide to use the workspace and familiarize yourself with Platform of Trust features.
Install this plugin from Platform of Trust to compute and add a
X-Pot-Signature header to
Application, open Create App “template” and fill in the
JSONparameters depending on your needs. Click
Sendbutton to send the request.
group_idenvironment variable must also be set accordingly.
Groupusing the specific chain request.
identity networkas shown in the diagram above.
The Sandbox environment imported with the workspace contains several attributes, for example:
pot_base_url is already set with the value
https://api-sandbox.oftrust.net, which is needed to try out the APIs in the