API Key

List

GET
List API keys

Response

This endpoint returns an object
success
boolean
data
list of objectsOptional
Represents a ApiKey record
GET
1curl https://api.beta.superagent.sh/api/v1/api-keys \
2 -H "Authorization: Bearer <token>"
200
Retrieved
1{
2 "success": true,
3 "data": [
4 {
5 "id": "id",
6 "name": "name",
7 "displayApiKey": "displayApiKey",
8 "createdAt": "2024-01-15T09:30:00Z",
9 "updatedAt": "2024-01-15T09:30:00Z",
10 "apiUserId": "apiUserId",
11 "apiUser": {
12 "id": "id",
13 "createdAt": "2024-01-15T09:30:00Z",
14 "updatedAt": "2024-01-15T09:30:00Z"
15 }
16 }
17 ]
18}