API ReferenceAPI Keys
Create an API key
Generate a new API key. The full key value is only returned once in the response - store it securely as it cannot be retrieved again.
Authorization
bearerAuth AuthorizationBearer <token>
API keys start with cue_sk_ prefix. Get your key from the Cue dashboard.
Example: cue_sk_abc123def456ghi789jkl012mno345pqr678stu901vwx234
In: header
Request Body
application/json
name*string
Descriptive name for the key
Length
1 <= length <= 100Response Body
application/json
application/json
application/json
curl -X POST "https://api.oncue.so/v1/api-keys" \ -H "Content-Type: application/json" \ -d '{ "name": "n8n Automation" }'{
"data": {
"id": "apk_x9k4m2n7pqhj",
"name": "n8n Automation",
"key": "cue_sk_abc123def456ghi789jkl012mno345pqr678stu901vwx234",
"createdAt": "2025-01-15T10:00:00Z"
}
}{
"error": "You have reached the maximum of 10 API keys"
}{
"error": "Unauthorized"
}