API Keys
Endpoints for managing API keys
Get all API keys for the authenticated creator.
This endpoint returns all API keys created by the authenticated creator. Note that the actual API key values are not included in the response for security reasons.
Successful Response
Validation Error
GET /creator/api-keys HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Accept: */*
[
{
"id": "text",
"key": "text",
"name": "text",
"description": "text",
"created_at": "text",
"creator": "text"
}
]
Create a new API key for the authenticated creator.
This endpoint allows creators to create API keys for programmatic access to the API. The API key is only shown once upon creation, so make sure to save it securely.
name: A name for the API key
description: A description for the API key
Successful Response
Validation Error
POST /creator/api-keys HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 36
{
"name": "text",
"description": "text"
}
{
"id": "text",
"key": "text",
"name": "text",
"description": "text",
"created_at": "text",
"creator": "text"
}
Delete an API key.
This endpoint allows creators to delete an API key that they no longer need.
api_key_id: The ID of the API key to delete
Successful Response
Validation Error
DELETE /creator/api-keys/{api_key_id} HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Accept: */*
No content