GET
/
teams
/
{team}
/
api-credentials
/
{apiToken}
curl --request GET \
  --url https://api.altostrat.io/teams/{team}/api-credentials/{apiToken} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "abilities": [
    "<string>"
  ],
  "expires_at": "2023-11-07T05:31:56Z",
  "last_used_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Standard OAuth2 flow for user authentication. Use Authorization Code Grant or Implicit Grant. JWT Bearer tokens obtained are used for subsequent requests.

Path Parameters

team
string
required

UUID of the Team.

apiToken
string
required

UUID of the API Token/Credential.

Response

200
application/json
API credential details.
id
string
required
name
string
required
team_id
string
required
created_at
string
required
updated_at
string
required
abilities
string[] | null

(Legacy/Unused?) List of abilities granted by the token. Modern permissions use JWT scopes.

expires_at
string | null
last_used_at
string | null