Skip to content

API reference

API Keys API

Manage API keys

Beta

Base URL
https://reelmirror.com/api
Authentication
Authorization: Bearer rm_…
Contract
openapi.json

List API keys

GET/v1/api-keys

Bearer token

Response 200

List of API keys Fields below are inside data.

  • idstring
  • namestring
  • key_hintstring
  • scopesarray of string
  • created_atstringdate-time
  • last_used_atstring | nulldate-time
  • monthly_limit_centsinteger | null

    Monthly spending limit in cents, or null for unlimited

  • monthly_spent_centsinteger

    Current month spending in cents (0 if no limit set)

curl "https://reelmirror.com/api/v1/api-keys" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
Response 200 (example)
{
  "data": [
    {
      "id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
      "name": "My integration",
      "key_hint": "string",
      "scopes": [
        "string"
      ],
      "created_at": "2026-09-30T17:00:00.000Z",
      "last_used_at": "2026-09-30T17:00:00.000Z",
      "monthly_limit_cents": 1,
      "monthly_spent_cents": 1
    }
  ]
}

Create API key

POST/v1/api-keys

Bearer token

Request body application/json

  • namestringrequired

    Display name for the key

  • scopesarray of string

    Permission scopes. Defaults to all except billing:read, billing:write, feedback:read, and feedback:write.

  • monthly_limit_centsinteger | null100–1000000

    Optional monthly spending limit in cents. Min 100 ($1), max 1000000 ($10,000). Null for unlimited.

Response 201

API key created. The full key is only returned once. Fields below are inside data.

  • idstring
  • namestring
  • keystring

    Full API key (only shown once)

  • scopesarray of string
  • created_atstringdate-time
  • monthly_limit_centsinteger | null

    Monthly spending limit in cents, or null for unlimited

curl -X POST "https://reelmirror.com/api/v1/api-keys" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "My integration"
}'
Response 201 (example)
{
  "data": {
    "id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
    "name": "My integration",
    "key": "string",
    "scopes": [
      "string"
    ],
    "created_at": "2026-09-30T17:00:00.000Z",
    "monthly_limit_cents": 1
  }
}

Update API key spending limit

PATCH/v1/api-keys/{key_id}

Bearer token

Path parameters

  • key_idstringrequired

Request body application/json

  • monthly_limit_centsinteger | null100–1000000

    Monthly spending limit in cents. Set to null to remove limit.

Response 200

Key updated Fields below are inside data.

  • idstring
  • namestring
  • monthly_limit_centsinteger | null
curl -X PATCH "https://reelmirror.com/api/v1/api-keys/$KEY_ID" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
Response 200 (example)
{
  "data": {
    "id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
    "name": "My integration",
    "monthly_limit_cents": 1
  }
}

Delete API key

DELETE/v1/api-keys/{key_id}

Bearer token

Path parameters

  • key_idstringrequired

Response 200

Key deleted Fields below are inside data.

  • idstring
  • deletedboolean

    One oftrue

curl -X DELETE "https://reelmirror.com/api/v1/api-keys/$KEY_ID" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
Response 200 (example)
{
  "data": {
    "id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
    "deleted": true
  }
}