Skip to content

List API keys

Request

Returns all API keys for the authenticated user, including inactive ones. Each response object includes the raw token value and the active field indicating current status.

Security
Bearer
curl -i -X GET \
  https://api-dashboard.influencers.club/public/v1/accounts/tokens/ \
  -H 'Authorization: Bearer <YOUR_API_KEY_HERE>'

Responses

Bodyapplication/json
Array [
idintegerrequired

Unique identifier for the API key token.

namestringrequired

Human-readable label for the token.

scopesArray of stringsrequired

Scopes granted to the token.

activebooleanrequired

Whether the token is currently active.

expires_atstring or null, (date-time)

Expiration timestamp, or null if the token never expires.

tokenstring

The API key value used as the Bearer credential. Returned in full on every read.

created_atstring, (date-time)required

When the token was created.

last_used_atstring or null, (date-time)

When the token was last used to authenticate a request, or null if never used.

]
Response
[ { "id": 0, "name": "string", "scopes": [ … ], "active": true, "expires_at": "2019-08-24T14:15:22Z", "token": "string", "created_at": "2019-08-24T14:15:22Z", "last_used_at": "2019-08-24T14:15:22Z" } ]