Get an Existing Authentication Token
Use this API to get an exising Authentication Token.
get/tokens/{id}/
Request
- Base URLhttps://client.apimetrics.io/api/2
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
ID of Token you're retrieving
Response
200
Example response
{
"token": {
"access_token": "pb1tKMspuoCa5EuJ6AlkWT87wg2-FsXzcCy-YYtAp-vArkR7PmfBqB0Z1V6_uC2eMB1Y",
"expire_time": "2015-03-05T20:29:20.361820Z",
"grant_type": "client_credentials",
"expires_in": 1800
},
"meta": {
"auth_type": "OAUTH2_JWT",
"domain": "httpbin.org",
"name": "Minimal token name",
"created": "2015-09-18T23:29:46.314197Z",
"last_update": "2015-09-18T23:29:46.486363Z",
"owner": "agxkZXZ-dmlhdGVzdHNyEQsSBFVzZXIYgICAgICAgAoM",
"auth_id": "agxkZXZ-dmlhdGVzdHNyGgsSDVNlcnZpY2VDb25maWcYgICAgKDLmgsM"
},
"id": "agxkZXZ-dmlhdGVzdHNyFgsSCUF1dGhUb2tlbhiAgICAoMvaCAw",
"api_response": {
"org": true,
"public": true
}
}Changes
No recorded changes to this operation across all 1 revision of this API.