Skip to content

API Key Management

API keys authenticate all requests to the Skillett API. Keys are scoped per user and can be restricted to specific integrations.


List all API keys for the authenticated user. Key hashes are never exposed.

Required. Session auth (dashboard) or Bearer token.

[
{
"id": "key_abc123",
"name": "Production",
"key_prefix": "sk_a1b2c3d4",
"scopes": ["*"],
"last_used_at": "2026-04-08T10:30:00Z",
"expires_at": null,
"revoked_at": null,
"created_at": "2026-03-01T09:00:00Z"
}
]
FieldTypeDescription
idstringKey ID
namestringDisplay name
key_prefixstringFirst 8 chars of the key (for identification)
scopesstring[]Access scopes (["*"] = all)
last_used_atstring|nullISO 8601 timestamp of last use
expires_atstring|nullExpiration date (null = never)
revoked_atstring|nullRevocation date (null = active)
created_atstringCreation timestamp

Create a new API key.

Required. Session auth (dashboard) or Bearer token.

{
"name": "Production"
}
FieldTypeRequiredDefault
namestringYes
scopesstring[]No["*"]
{
"api_key": {
"id": "key_abc123",
"name": "Production",
"key_prefix": "sk_a1b2c3d4",
"scopes": ["*"],
"expires_at": null,
"created_at": "2026-04-08T12:00:00Z"
},
"full_key": "sk_a1b2c3d4e5f6g7h8..."
}
PlanMax API keys
Free1
ProUnlimited
UnlimitedUnlimited
CodeErrorDescription
401unauthorizedNot authenticated
403plan_limit_reachedMaximum API keys for plan exceeded

Revoke an API key. This is a soft delete — the key is marked as revoked and can no longer be used.

Required. Session auth (dashboard) or Bearer token.

ParameterTypeRequiredDescription
idstringYesAPI key ID to revoke

HTTP 204 No Content.

CodeErrorDescription
401unauthorizedNot authenticated
404not_foundKey not found or doesn’t belong to user