--- title: "Generate Access and Refresh Token" url: https://docs.catalyst.zoho.com/en/api/oauth2/generate-access-and-refresh-token/ description: "Learn about the OAuth 2.0 industry-standard protocol adhered by Catalyst that authenticates and authorizes API requests made by users to gain secure access to protected Catalyst resources." last_updated: 2025-11-19T15:07:41Z service: All Services type: api --- # Step 3: Generate Access Token and Refresh Token ### Request Execution After you obtain the Grant Token, send a `POST` request to the following URL with the params given below to generate the `access\_token`: `https://accounts.zoho.com/oauth/v2/token?` > **Note:** You must access the respective domains for the other [data centers](https://docs.catalyst.zoho.com/en/api/introduction/multi-dc-support/#Multi-DCSupport): * **EU:** `https://accounts.zoho.eu/` * **AU:** `https://accounts.zoho.au/` * **IN:** `https://accounts.zoho.in/` * **CA:** `https://accounts.zohocloud.ca/` * **JP:** `https://accounts.zohocloud.jp/` * **SA:** `https://accounts.zohocloud.sa/`
| Parameter | Description |
|---|---|
| `code`* | The Grant Token or the value of code obtained in the previous step. |
| `client_id`* | The Client ID that was generated during the client registration |
| `client_secret`* | The Client Secret that was generated during the client registration |
| `grant_type`* | `authorization_code` (Provide this literal string as the value) |
| `redirect_uri` | One of the Authorized Redirect URIs you provided while registering the client in the previous step. You must not provide an unregistered redirect URI. |
| `scope` | The scope the `access_token` is to be generated for. You can provide multiple scopes by separating them using commas. You can check the list of scopes available in Catalyst from [this section](https://docs.catalyst.zoho.com/en/api/oauth2/scopes/). |
| `state` | An opaque string that is round-tripped in the protocol. In other words, whatever value you provide here will be passed back to you. |