Movabase Docs
Public API

Create API key

Creates a new API key via Unkey. The full key is returned **only once** and cannot be retrieved again. Requires `canEditProjects` permission. API keys are prefixed with `loko_`.

POST
/api/projects/{project-id}/keys
sb-access-token<token>

Supabase Auth session cookie. Automatically set when users log in via the Movabase web app.

In: cookie

Path Parameters

project-id*string

Project ID

Formatuuid

Request Body

application/json

name?string

Descriptive name for the key (max 128 chars)

Default"New API Key"
Lengthlength <= 128

Response Body

application/json

application/json

application/json

curl -X POST "https://app.movabase.com/api/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/keys" \  -H "Content-Type: application/json" \  -d '{}'
{
  "key": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}