The Tokeninfo API returns information about a given token, if the token is valid.


The URL is or

Request Format

Only POST requests should be used for accessing this endpoint. Also, this endpoint accepts a content type of application/x-www-form-urlencoded only.

The following parameters are required:

Name Description
access_token the access token/JWT token you want information about

Example Request

$strResult = $this->urlfetcher->post('', array(
	'access_token' => 'aa7c87e3595cc9ae1f04a4cf7769a8ccb972b99931a542e2aedecd9428aa7d8c18d6f16b2fa96020b4cf5aff44d8ce87bdec', 
), "application/x-www-form-urlencoded; charset=utf-8");

Response Format

The response has JSON format. If the supplied token is invalid, the response header is 404 Not Found.

Example Response for Bearer Token

   "sub": 1,
   "aud": 1421589198,
   "scope":"identify email profile",
   "exp" : 1569163229,
   "type": "bearer"

Example Response for JWT Token

   "scope":"openid email",