API Tokens
Get API token
Changed onDeprecated: This endpoint will be removed on 2026-07-17. Use GET /v2/clients/{clientId}/tokens/{tokenId} instead.
get/iam/clients/{clientId}/tokens/{tokenId}
Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/iam/clients/{clientId}/tokens/{tokenId}
- AuthHTTP apikey
Path parameters
clientIdinteger required
Account ID.
tokenIdinteger required
API token ID.
Response
OK.
Example response
{
"name": "My token",
"description": "It's my token",
"exp_date": "2021-01-01T12:00:00.000000Z",
"client_user": {
"role": {
"id": 1,
"name": "Administrators"
},
"user_id": 123,
"user_name": "John Doe",
"user_email": "some@email.com",
"client_id": 456
},
"id": 42,
"created": "2021-01-01T12:00:00.000000Z",
"last_usage": "2021-01-01T12:00:00.000000Z"
}Changes
- info
endpoint deprecated
- info
- info
added to the response body
allOflist for the response status - info
removed from the response body
allOflist for the response status
- info