Skip to main content
POST
Create API Key
Use this API to create a new API key for a workspace.
This endpoint uses workspace-level auth: pass x-velt-workspace-id and x-velt-workspace-auth-token (from the Create Workspace response) as headers.
Creating a production API key is gated. The workspace must be explicitly enabled for self‑serve production key creation and must already be on a paid plan. See Production API Keys below.

Endpoint

POST https://api.velt.dev/v2/workspace/apikey/create

Headers

x-velt-workspace-id
string
required
Your Workspace ID.
x-velt-workspace-auth-token
string
required
Your workspace Auth Token.

Body

Params

data
object
required

Example Request

Testing key

Production key (default North America region)

Production key with region selection (Europe)

Example Response

Success Response

Failure Response

Errors