Generate access token
When invoked, it facilitates the authentication process by providing a secure token that can be used to access various services and resources within the system. This functionality is essential for ensuring secure and authorised access, enabling users to interact with protected endpoints and perform operations that require authentication. By using this API, users can obtain the necessary tokens to maintain secure sessions and access the system’s features effectively. Unique UUID for track the end to end request transaction Actual time of the request was initiated, ISO 8601 represents date and time by starting with the year, followed by the month, the day, the hour, the minutes, seconds and milliseconds Suffix of the consent manager to which the request was intended The client ID issued to the integrator by ABDM at registration. The client secret issued to the integrator by ABDM along with the client ID. The method used by the client to obtain an access token, e.g. client_credentials. One of Accepted No Content The error code and message, if any occurred. ABDM-1001 - No data found. May be returned either bare ( Bad Request The error code and message, if any occurred. ABDM-1015 - Invalid Response. May be returned either bare ( Unauthorized. The request carried no valid credentials, or the access token has expired. Obtain a fresh token from the session API and retry. 900901 - Invalid Credentials. May be returned either bare or with a trailing ": " separator; match on the code itself and tolerate the separator. Short description of the failure. Detailed description of the failure. Forbidden. The caller is authenticated but is not permitted to perform this operation on this resource. Internal Server Error The error code and message, if any occurred. ABDM-9999 - Unknown exception. May be returned either bare ( Service Unavailable ABDM-1024 - Dependent service unavailable. May be returned either bare (Headers
REQUEST-IDstringRequiredTIMESTAMPstringRequiredX-CM-IDstringRequiredBody
clientIdstringRequiredclientSecretstringRequiredgrantTypestringRequiredclient_credentialsResponses
202accessTokenstringexpiresInintegerrefreshExpiresInintegerrefreshTokenstringtokenTypestring204errorobjecterror.codestringRequiredABDM-1001) or with a trailing ": " separator (ABDM-1001: ); match on the code itself and tolerate the separator.error.messagestringRequired400errorobjecterror.codestringRequiredABDM-1015) or with a trailing ": " separator (ABDM-1015: ); match on the code itself and tolerate the separator.error.messagestringRequired401codestringmessagestringdescriptionstring403500errorobjecterror.codestringRequiredABDM-9999) or with a trailing ": " separator (ABDM-9999: ); match on the code itself and tolerate the separator.error.messagestringRequired503codestringRequiredABDM-1024) or with a trailing ": " separator (ABDM-1024: ); match on the code itself and tolerate the separator.messagestringRequired