auth-tokens

Get

GET
Gets the token metadata corresponding to the given token ID under the given Dev organization.

Query parameters

token_idstringRequired
The unique identifier of the token under a given Dev organization.

Response

This endpoint returns an object
token
object
GET
1curl -G https://api.devrev.ai/auth-tokens.get \
2 -H "Authorization: <apiKey>" \
3 -d token_id=token_id
200Retrieved
1{
2 "token": {
3 "id": "id",
4 "client_id": "client_id",
5 "created_date": "2023-01-01T12:00:00Z",
6 "display_id": "display_id",
7 "expires_at": "2023-01-01T12:00:00Z",
8 "issued_at": "2023-01-01T12:00:00Z",
9 "modified_date": "2023-01-01T12:00:00Z",
10 "requested_token_type": "urn:devrev:params:oauth:token-type:aat",
11 "scopes": [
12 "scopes"
13 ],
14 "status": "active",
15 "subject": "subject",
16 "token_hint": "token_hint"
17 }
18}