Returns a list of all API keys created by the authenticated user. Each key contains its reference, description, scope, expiration date, and last usage date. The secret value is never exposed in this endpoint — it is only returned once, at creation time. Requires authentication via JWT token (Authorization: Bearer ) or an existing API key (x-api-key: ).
curl --location --request GET 'https://api-develop.enspace.io/user-api-keys' \
--header 'x-api-key: <api-key>'[
{
"id": 5983,
"created_at": "2026-02-19T11:41:58.395Z",
"updated_at": "2026-02-19T11:41:58.407Z",
"description": "devtestapi",
"expires_at": "2026-08-19T11:41:58.392Z",
"reference": "DLKTRfgoVQGdWkIe",
"scope": {
"global": [
"read",
"write",
"delete"
],
"workspaces": [
"desenvolvimentosistema"
]
}
},
{
"id": 6151,
"created_at": "2026-03-11T13:57:17.003Z",
"updated_at": "2026-03-11T13:57:17.009Z",
"description": "testeapi",
"expires_at": "2026-09-11T13:57:17.001Z",
"reference": "8w7FEYRHqumgHSkL",
"scope": {
"global": [
"read",
"write",
"delete"
],
"workspaces": [
"desenvolvimento",
"marketing-be-enlighten",
"desenvolvimentosistema",
"desenvolvimento-enlighten2"
]
}
}
]