GET
/
users
/
api-keys
Get user API keys
curl --request GET \
  --url https://api.wirespeed.co/users/api-keys \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "teamId": "<string>",
    "userId": "<string>",
    "expiration": "<string>",
    "lastUsed": "<string>",
    "role": "ADMIN",
    "name": "<string>",
    "createdAt": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
id
string
required

Unique identifier for the API key

teamId
string
required

ID of the team this API key belongs to

userId
string
required

ID of the user who created this API key

expiration
string
required

Expiration date and time for the API key

role
enum<string>
required

Role permissions assigned to this API key

Available options:
ADMIN,
ANALYST,
VIEWER
name
string
required

Name assigned to the API key

createdAt
string
required

Timestamp when the API key was created

lastUsed
string | null

Timestamp when the API key was last used