Request an authorization code

This page will teach you how your users can authorize your integration to access Factorial's API

Once you have registered your Oauth application in Factorial you will be able to let your users grant your integration access to Factorial's API. In order to do that, you will need to redirect users of your integration to the following URL:

https://api.factorialhr.com/oauth/authorize?client_id=<YOUR_CLIENT_ID>&redirect_uri=<YOUR_REDIRECT_URI>&response_type=code&scope=read,write

All the information required to build this URL is available in your OAuth application page, which you can access from the repository of Oauth applications.

You can also request an authorization code directly from the Oauth application page, useful in cases
of integrations with a single user like an external API.

Once access is granted and the authorization code has been displayed to the user. Your integration is in condition to request its first access token.