The Only API docs
API Keys

Create a secondary API key

Mint a new secondary API key. PRIMARY-KEY ONLY — calling this with a secondary key returns 403. The full key is returned exactly once, in this response, and is never…

POST
/api-keys

Mint a new secondary API key. PRIMARY-KEY ONLY — calling this with a secondary key returns 403. The full key is returned exactly once, in this response, and is never retrievable again.

Guide: Get an API key

X-API-Key<token>

Your CRM panel API key

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api-keys" \  -H "Content-Type: application/json" \  -d '{}'
{  "success": true,  "id": 0,  "name": "string",  "prefix": "string",  "api_key": "string",  "created_at": "string"}