API Keys

Create API key

POST /api/v1/api-keys

Creates a new API key for the authenticated user.

Request body

{
  "name": "My integration"
}
Field
Required
Description

name

Yes

Display name for the key (1–100 characters)

Response

{
  "data": {
    "id": "key_uuid",
    "name": "My integration",
    "prefix": "rm_abc123",
    "key": "rm_abc123def456...",
    "created_at": "2025-09-19T15:00:00.000Z"
  }
}
circle-exclamation

List API keys

Returns all API keys for the authenticated user. The full key value is never returned after creation.

Response


Revoke API key

Permanently revokes an API key. Requests using this key will immediately fail with INVALID_API_KEY.

Response

Error codes

Code
HTTP Status
Meaning

API_KEY_NOT_FOUND

404

Key does not exist or belongs to another user

ALREADY_REVOKED

400

Key was already revoked

Last updated