Skip to content

Create API key

POST
/api/v1/api-keys

Generates a new API key for the organization. The raw key is returned only once in the response and cannot be retrieved again. Admin only.

Authorizations

HTTPBearer
Type
HTTP (bearer)

Request Body

application/json
JSON
{
"name": "string"
}

Responses

Successful Response

application/json
JSON
{
"id": "string",
"name": "string",
"key": "string",
"created_at": "string"
}

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI

XC AI Content Automation