AABDM M1 Sandbox Console
← All M1 APIs
Authentication · ABDM V3 Sandbox

Create sandbox session

Exchange your sandbox client credentials for a short-lived access token used by the M1 APIs.

POST · Sandbox

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

FieldTypeRequiredRequirement
clientIdstringYesSandbox client ID issued by ABDM.
clientSecretstringYesSandbox client secret; sent only server-to-server.
grantTypestringYesMust be client_credentials.

Headers & variables

  • Content-Type: application/json and Accept: application/json are 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

The request body is built securely from the credentials saved in Settings. The client secret is not displayed.

{
    "clientId": "",
    "clientSecret": "[not set]",
    "grantType": "client_credentials"
}