Get Authorization Code
GET/oauth2/auth-codes/get
This is the first step of the OAuth2 process. An authorization code is created when the user authorizes your application to access their account. If the user grants permission to your application, the callback URL registered in your application will be invoked. The interface for obtaining the authorization code is completed in the browser.
'SEND API REQUEST' function for this endpoint does not work in UAT environment.
Request
Responses
- 302
- 401
- 417
- 500
After successful authorization, it will call back to the redirect_uri in the request parameters, structured as follows:
http://testcallbackurl.com?code=NjVhODIxODItYTAzMC00Y2IxLTkzNzQt&state=MiLCJjb25uZWN0aW9uX3R5cGUiOiJs
Unauthorized: Authentication required
A business logic error triggered when the request cannot be processed due to domain-specific constraints.
Internal Server Error.