Authorize
Start the OAuth authorization flow by redirecting users to the authorization endpoint. Users will grant permission to your application and be redirected back with an authorization code.
Your OAuth client ID obtained from the dashboard
The redirect URI registered with your OAuth client. Must exactly match the registered URI.
Must be set to code for authorization code flow
The scope of access requested. Use * for full access.
curl --location --globoff 'https://app.aisync.link/oauth/authorize?client_id={{client_id}}&redirect_uri={{redirect_uri}}&response_type=code&scope=*'
After the user authorizes your application, they will be redirected to your redirect_uri with an authorization code:
{{redirect_uri}}?code={{authorization_code}}
The authorization code is single-use and expires quickly. Exchange it for an access token immediately.
Your OAuth client ID obtained from the dashboard
The redirect URI registered with your OAuth client. Must exactly match the registered URI.
response_type
enum<string>
default:code
required
Must be set to 'code' for authorization code flow
The scope of access requested. Use '*' for full access.
Redirect to redirect_uri with authorization code