Authentication · ABDM V3 Sandbox
Create sandbox session
Exchange your sandbox client credentials for a short-lived access token used by the M1 APIs.
API requirements
Authenticates this integration against the ABDM gateway using the client-credentials grant.
- Register an ABDM sandbox bridge/application and obtain its client ID (SBXID) and client secret.
- Store both credentials in Settings; the secret is kept only in the current PHP session.
- The sandbox access token is typically valid for about 30 minutes. Request a new session when it expires.
Request fields
| Field | Type | Required | Requirement |
|---|---|---|---|
| clientId | string | Yes | Sandbox client ID issued by ABDM. |
| clientSecret | string | Yes | Sandbox client secret; sent only server-to-server. |
| grantType | string | Yes | Must be client_credentials. |
Headers & variables
Content-Type: application/jsonandAccept: application/jsonare sent automatically.
After this request
The returned accessToken is saved in this browser session and used automatically by the other API pages.
Send request
POST https://dev.abdm.gov.in/gateway/v3/sessions