Get Started
Authentication
The API endpoints are protected and, therefore, require you to authenticate using an API token.
Accessing the API
- Request the client_secret from the Pontaltech team; it will be used to authenticate at the
auth/tokenroute. - Once you have the client_secret, simply include the
grant_typeandclient_secretin the body of the request in the following format:
Replace <client_secret> with your client_secret.
If the grant_type is correct, you will receive a response in this format:
Use your token
You can authenticate by adding an Authorization header to all your HTTP calls. The Authorization header is formatted as follows: Authorization: Bearer <access.token> (replace <access.token> with your previously generated token).
Also, add the X-Auth-Type property with the value JWT to all your HTTP calls.
Example: