API Keys LIST
GET/api_keys
Required Permissions: ApiKey List
or ApiKey Admin
Request
Query Parameters
sort string
The object key to sort the results by.
sort_asc boolean
page integer
items integer
Responses
- 200
A JSON Object with an array of all created API keys.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
items integer
page integer
Possible values: >= 1
total integer
api_keys object[]
id integer
name string
description string
key uuid
permissions string
Possible values: Value must match regular expression create,edit,delete,read
used_at date-timenullable
created_at date-time
created_by_user_id integer
updated_at date-timenullable
updated_by_user_id integernullable
created_by object
archived boolean
avatar objectnullable
avatar_file_upload_url string
created_at date-time
created_by_user_id integer
Possible values: >= 1
department string
email email
{
"items": 0,
"page": 0,
"total": 0,
"api_keys": [
{
"id": 0,
"name": "All CRUD API Key",
"description": "An API key with all permissions",
"key": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"permissions": "string",
"used_at": "2024-10-14T16:22:32.584Z",
"created_at": "2024-10-14T16:22:32.584Z",
"created_by_user_id": 0,
"updated_at": "2024-10-14T16:22:32.584Z",
"updated_by_user_id": 0,
"created_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-10-14T16:22:32.584Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
}
}
]
}
Loading...