Skip to main content

Overview

Create a new API key for integrations; the plaintext key is returned once in the response.

POST /api/v1/api-keys

Purpose: create a new API key. The plaintext key is returned only once. Body:
Allowed purpose values: zapier, n8n, google sheets, custom. Example request:

Response

Status: 201 Created Example response:
Response fields:
  • key: plaintext key (store securely; it can be retrieved later with GET /api/v1/api-keys?reveal=true).
Errors:
  • 400 invalid request.
  • 401 unauthorized.
  • 500 internal error (including missing ENCRYPTION_KEY).