1
Creating Public and Private Keys
Before receiving the credential, you need to generate a pair of keys: a private key and a public key.The private key will be used to sign the token, while the public key must be sent to us to validate the token signature.First, generate the private key using the command below via terminal:Then generate the public key through the terminal:
2
Public key request
We will ask for your email address to open a request for sending the public key.After that, you will receive a message from notifications@heflo.com with instructions for sending the key.
3
Receiving client_id
After validating your public key, our team will generate and send your
client_id, which will be used for authentication in the system.4
Generation of JWT
Generate a TOKEN following the RS256 standard, containing crucial information such as unique identifier, issuance time and expiration.
5
Bearer Token Generation Endpoint
To generate a TOKEN using the OAuth 2.0 method, the client must send a POST request with the Content-Type Header “x-www-form-urlencoded”, below is the CURL of the endpoint that will be used to generate the token:After authentication, the obtained access token must be used in all subsequent requests in the authorization header.

