Prerequisites

The authorization code provided in the redirect URI can only be exchanged once and expires 10 minutes after issuance. You must exchange an authorization code with an access token or an access token/refresh token pair. You can then use the access_token to call API methods on behalf of the user.

Returns

Authorization Object

What's Next

After the access_token is received, the application is considered installed. The application appears in the 'installed apps' section of the team settings. You can now use the access token for REST API requests.

📘

Note

If you haven't enabled the expire user authorization token feature, the token will continue functioning until the user uninstalls your app from the team. If you enabled the expire user authorization token feature, the access token expires in 1 hour and the refresh token expires in 60 days.

Language
Authentication
OAuth2
Click Try It! to start a request and see the response here!