Skip to content

API Keys

POST /api/v1/api-keys

Creates a new API key for the authenticated user.

{
"name": "My integration"
}
FieldRequiredDescription
nameYesDisplay name for the key (1–100 characters)
{
"data": {
"id": "key_uuid",
"name": "My integration",
"prefix": "rm_abc123",
"key": "rm_abc123def456...",
"created_at": "2025-09-19T15:00:00.000Z"
}
}

GET /api/v1/api-keys

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

{
"data": [
{
"id": "key_uuid",
"name": "My integration",
"prefix": "rm_abc123",
"created_at": "2025-09-19T15:00:00.000Z",
"last_used_at": "2025-09-20T10:30:00.000Z",
"is_revoked": false
}
]
}

DELETE /api/v1/api-keys/:id

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

{
"data": { "success": true }
}
CodeHTTP StatusMeaning
API_KEY_NOT_FOUND404Key does not exist or belongs to another user
ALREADY_REVOKED400Key was already revoked