Cue
API ReferenceAPI Keys

List API keys

Retrieve all active API keys for your account.

GET
/api-keys

Authorization

bearerAuth
AuthorizationBearer <token>

API keys start with cue_sk_ prefix. Get your key from the Cue dashboard.

Example: cue_sk_abc123def456ghi789jkl012mno345pqr678stu901vwx234

In: header

Response Body

application/json

application/json

curl -X GET "https://api.oncue.so/v1/api-keys"
{
  "data": [
    {
      "id": "apk_n8k3m7x2pqhj",
      "name": "Production Integration",
      "keyPrefix": "cue_sk_abc1",
      "lastUsedAt": "2025-01-15T09:30:00Z",
      "createdAt": "2025-01-01T10:00:00Z"
    },
    {
      "id": "apk_k8m3n7x2pqhj",
      "name": "Development Testing",
      "keyPrefix": "cue_sk_def4",
      "lastUsedAt": null,
      "createdAt": "2025-01-10T14:00:00Z"
    }
  ]
}
{
  "error": "Unauthorized"
}