Get OAuth2 access token information. Getting token information for refresh token is not supported.
Resource Location
GET /v2/oauth/tokeninfo
Request Parameters
Parameter | Description | Required | Data Type | Default |
---|---|---|---|---|
access_token | "Authorization: Beader <access_token>" The access_token returned from /oauth/token API call. |
Yes | String | |
client_id | Provided to users of the API. | Yes | String |
NOTE: Token must be passed as: Authorization: Bearer <access_token>
header
Response Payload
{
"access_token": "<access_token>",
"token_type": "BearerToken",
"expires_in": 3591,
"status": "approved",
"scope": "ilservices",
"refresh_token": "<refresh_token>",
"refresh_token_expires_in": 2591991,
"redirect_url": "http://www.redirect.com",
"email": "IL_account_email",
"app_name": "IL-oauth-test"
}
Response
Parameter | Description | Required | Data Type | Default |
---|---|---|---|---|
access_token | OAuth Access Token. | Yes | string | |
token_type | Type of the token. | Yes | String | BearerToken |
expires_in | Token expiration time in seconds. | Yes | integer (int32) | 3600 seconds |
status | Status of the token. | Yes | String | approved |
scope | Used to further limit the access granted to OAuth token. Only scope=ilservices is currently supported. |
No | String | ilservices |
refresh_token | OAuth refresh token. Only sent for Authorization Code flow. | Yes | string | |
refresh_token_expires_in | Refresh Token expiration time in seconds. | Yes | integer (int32) | 2592000 seconds |
redirect_uri | Redirect URL registered for the client application. | Yes | string | |
Logged in user’s email address. | Yes | string | ||
app_name | Name of the app given by Intralinks. | Yes | String |