Authentication
Authenticate to Algoreg APIs
Create a programmatic user
Each request to Algoreg APIs are done on the behalf of a programmatic user you first need to create.
- Login as an administrator to your instance of Algoreg, your instance of algoreg should be on this url format: https://backoffice.algoreg.com/
- Go to https://backoffice.algoreg.com/settings/developers and click “New API Key”
- Choose an email to identify your new user and a name. For instance, “api-algoreg@my-company.com” and “api-algoreg”. And click on Submit. You can note the autogenerated password or ignore it (you will be able to generate a new one later).
- In the list of users, click on the Edit icon (pencil icon).
- Affect the roles prefixed by “API_”, for instance if you want to integrate Go!Vid APIs, add “API_Agent_Vid_ARO”.
- Click on Submit.
Authentication method 1: Basic Auth
You can use the basic auth method to authenticate to Algoreg APIs. You will need to use the email and password of the programmatic user you created.
The Basic Auth header is described as follows
For instance if you created a programmatic user with the email api@acme.com
and the password my_password
, the header will be:
You can include this header in your requests to Algoreg APIs and you will be authenticated.
Authentication method 2: Oauth2
For increased security, we recommend using the Oauth2 method to authenticate to Algoreg APIs. This method is more secure because you can generate a token that will be valid for a limited time.
Obtain a Oauth token
We are now going to generate an access token from this programmatic user. This token will be used in any other requests made to Algoreg APIs.
The token is valid for 1 hour. You will need to generate a new one after this delay. If it is more convenient for you, you can generate a new token for each request.
Api calls must be sent to https://api.algoreg.com/ (or https://api.{instance}.algoreg.com/ if your using a specific instance).
If you try to login too many times with a wrong password, your programmatic account can be locked. In this case please contact the Algoreg support.
Use the token in your requests
Now that you have a token, you can use it in your requests. You can use it in the Authorization header of your requests:
Congratulations 🎉
Now you can do everything in Algoreg without ever accessing our backoffice. It can be usefull to integrate Algoreg to your workflows and existing software.
Let’s jump to some of the most common APIs you will want to use with Algoreg:
Create a customer
Create your first customer using the API
Generate a session
Generate a KYC onboarding session for a customer
Transactional namesearch
Perform a single transactional namesearch
Have a great journey with Algoreg 👋