Skip to main content
Create an API key

Authorizations

Authorization
string
header
required

Authorize using an API key. Send it in the Authorization: Bearer <api-key> header. Only API keys are accepted — session tokens are rejected. Create your first API key in the Circularo web app; further keys can be managed through this API.

Body

application/json

Parameters for creating a new API key.

description
string | null

A human-readable description of the API key's purpose.

Maximum string length: 255
Example:

"Integration with Accounting System"

Response

The API key was created. The response contains the full key value (only returned here) and its identifier.

The result of creating an API key: the full secret value (returned only once) and its identifier.

apiKey
string
required

The newly created API key. This is the only time the full value is returned — treat it as a secret and store it safely.

Minimum string length: 1
Pattern: ^[A-Za-z0-9._-]+$
Example:

"cir_a11b868cbba3c.WBv2Jc8lXo3pQ9rT5uYhZaEwSdFgHjKmNbVcXzLqRt0"

id
string
required

Stable identifier of the new API key. Use it to delete the key later.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"Vp8kZ5UBq1nLxY2cF3aD"