api keys
List keys
Returns all API keys for the authenticated user. Keys are returned with a preview only, not the full key value.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Response Body
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/api-keys"{
"apiKeys": [
{
"id": "6507a1b2c3d4e5f6a7b8c9d0",
"name": "Production API Key",
"keyPreview": "late_...xyz123",
"expiresAt": "2025-12-31T23:59:59Z",
"createdAt": "2024-01-15T10:30:00Z"
},
{
"id": "6507a1b2c3d4e5f6a7b8c9d1",
"name": "Development Key",
"keyPreview": "late_...abc789",
"expiresAt": null,
"createdAt": "2024-03-20T14:45:00Z"
}
]
}{
"error": "Unauthorized"
}