{
  "$schema_version": 1,
  "captured_at": "2026-09-11T09:02:16.848Z",
  "base_url": "https://api.ollacore.com",
  "fixtures": {
    "note": "ids and timestamps are stable fixtures so re-capture diffs are exact",
    "t0": "2026-01-15T09:30:00.000Z"
  },
  "coverage": {
    "expected": 82,
    "captured": 82,
    "missing": []
  },
  "operations": {
    "signup": {
      "method": "POST",
      "path_template": "/v1/account/signup",
      "path": "/v1/account/signup",
      "auth": null,
      "scopes": null,
      "request_body": {
        "email": "dev@example.com",
        "password": "<redacted>"
      },
      "response_status": 200,
      "response_body": {
        "tenant_id": "acct_fac91b282191cc02dd29912c8db43f1c",
        "session_token": "as_EXAMPLE_SESSION",
        "expires_at": "2026-02-14T09:30:00Z"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "login": {
      "method": "POST",
      "path_template": "/v1/account/login",
      "path": "/v1/account/login",
      "auth": null,
      "scopes": null,
      "request_body": {
        "email": "dev@example.com",
        "password": "<redacted>"
      },
      "response_status": 200,
      "response_body": {
        "tenant_id": "acct_fac91b282191cc02dd29912c8db43f1c",
        "session_token": "as_EXAMPLE_SESSION",
        "expires_at": "2026-02-14T09:30:01Z"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "createKey": {
      "method": "POST",
      "path_template": "/v1/account/api-keys",
      "path": "/v1/account/api-keys",
      "auth": "account_session",
      "scopes": null,
      "request_body": {
        "name": "docs-example-key",
        "environment": "live",
        "scopes": [
          "rooms:read",
          "rooms:write",
          "members:write",
          "tokens:mint",
          "messages:write",
          "webhooks:manage",
          "usage:read",
          "rooms:delete",
          "data:erase"
        ]
      },
      "response_status": 200,
      "response_body": {
        "key_id": "key-id-main",
        "api_key": "ak_live_EXAMPLE.NOT_A_REAL_KEY",
        "environment": "live",
        "scopes": [
          "rooms:read",
          "rooms:write",
          "members:write",
          "tokens:mint",
          "messages:write",
          "webhooks:manage",
          "usage:read",
          "rooms:delete",
          "data:erase"
        ]
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "listKeys": {
      "method": "GET",
      "path_template": "/v1/account/api-keys",
      "path": "/v1/account/api-keys",
      "auth": "account_session",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "api_keys": [
          {
            "created_at": "2026-01-15T09:30:01Z",
            "environment": "live",
            "expires_at": null,
            "id": "key-id-main",
            "last_used_at": null,
            "name": "docs-example-key",
            "plan": "default",
            "revoked_at": null,
            "scopes": [
              "rooms:read",
              "rooms:write",
              "members:write",
              "tokens:mint",
              "messages:write",
              "webhooks:manage",
              "usage:read",
              "rooms:delete",
              "data:erase"
            ]
          }
        ]
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "rotateKey": {
      "method": "POST",
      "path_template": "/v1/account/api-keys/{key_id}/rotate",
      "path": "/v1/account/api-keys/key-id-main/rotate",
      "auth": "account_session",
      "scopes": null,
      "request_body": {},
      "response_status": 200,
      "response_body": {
        "api_key": "ak_live_EXAMPLE.NOT_A_REAL_KEY",
        "key_id": "ak_live_616b8de93a24dfbf2c5839186fd5b29a"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "createDirectoryApp": {
      "method": "POST",
      "path_template": "/v1/account/directory-apps",
      "path": "/v1/account/directory-apps",
      "auth": "account_session",
      "scopes": null,
      "request_body": {
        "delivery_webhook_url": "https://hooks.example.com/hook"
      },
      "response_status": 200,
      "response_body": {
        "app_id": "da_03270a6c821fcca6c63a2049d93b62fe",
        "delivery_mode": "webhook",
        "delivery_secret": "dsec_EXAMPLE_NOT_A_REAL_SECRET",
        "delivery_webhook_url": "https://hooks.example.com/hook"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "listDirectoryApps": {
      "method": "GET",
      "path_template": "/v1/account/directory-apps",
      "path": "/v1/account/directory-apps",
      "auth": "account_session",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "directory_apps": [
          {
            "app_id": "da_03270a6c821fcca6c63a2049d93b62fe",
            "created_at": "2026-01-15T09:30:01Z",
            "delivery_mode": "webhook",
            "delivery_webhook_url": "https://hooks.example.com/hook",
            "push_apns": false,
            "push_fcm": false
          }
        ]
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "setPush": {
      "method": "PUT",
      "path_template": "/v1/account/directory-apps/{app_id}/push",
      "path": "/v1/account/directory-apps/da_03270a6c821fcca6c63a2049d93b62fe/push",
      "auth": "account_session",
      "scopes": null,
      "request_body": {
        "fcm": {
          "service_account": {
            "project_id": "my-firebase-project",
            "client_email": "push@my-firebase-project.iam.gserviceaccount.com",
            "private_key": "-----BEGIN PRIVATE KEY-----\n<redacted>\n-----END PRIVATE KEY-----"
          }
        },
        "apns": {
          "p8": "-----BEGIN PRIVATE KEY-----\n<redacted>\n-----END PRIVATE KEY-----",
          "key_id": "ABC123DEFG",
          "team_id": "TEAM123456",
          "topic": "com.example.chat",
          "env": "production"
        }
      },
      "response_status": 200,
      "response_body": {
        "push_apns": true,
        "push_fcm": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": true,
      "truncated": false,
      "notes": []
    },
    "logout": {
      "method": "POST",
      "path_template": "/v1/account/logout",
      "path": "/v1/account/logout",
      "auth": "account_session",
      "scopes": null,
      "request_body": {},
      "response_status": 200,
      "response_body": {
        "logged_out": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "createApiKey": {
      "method": "POST",
      "path_template": "/internal/v1/api-keys",
      "path": "/internal/v1/api-keys",
      "auth": "hmac",
      "scopes": null,
      "request_body": {
        "tenant_id": "acct_fac91b282191cc02dd29912c8db43f1c",
        "name": "sandbox-key",
        "environment": "test",
        "scopes": [
          "rooms:read",
          "rooms:write"
        ]
      },
      "response_status": 200,
      "response_body": {
        "key_id": "key-id-sandbox",
        "api_key": "ak_live_EXAMPLE.NOT_A_REAL_KEY",
        "tenant_id": "acct_fac91b282191cc02dd29912c8db43f1c",
        "environment": "test",
        "scopes": [
          "rooms:read",
          "rooms:write"
        ]
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "createRoom": {
      "method": "POST",
      "path_template": "/internal/v1/rooms",
      "path": "/internal/v1/rooms",
      "auth": "hmac",
      "scopes": null,
      "request_body": {
        "tenant_id": "acct_fac91b282191cc02dd29912c8db43f1c",
        "created_by": "alice",
        "external_ref": "ops-room-1"
      },
      "response_status": 200,
      "response_body": {
        "id": "00919f0a-cfeb-438d-bdb7-65af28b4f678",
        "tenant_id": "acct_fac91b282191cc02dd29912c8db43f1c",
        "external_ref": "ops-room-1",
        "created_by": "alice",
        "status": "active",
        "e2ee": false,
        "created_at": "2026-01-15T09:30:02Z"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "lookupRoom": {
      "method": "GET",
      "path_template": "/internal/v1/rooms",
      "path": "/internal/v1/rooms?tenant_id=acct_fac91b282191cc02dd29912c8db43f1c&external_ref=ops-room-1",
      "auth": "hmac",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "id": "00919f0a-cfeb-438d-bdb7-65af28b4f678",
        "tenant_id": "acct_fac91b282191cc02dd29912c8db43f1c",
        "external_ref": "ops-room-1",
        "created_by": "alice",
        "status": "active",
        "e2ee": false,
        "created_at": "2026-01-15T09:30:02Z"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "patchRoom": {
      "method": "PATCH",
      "path_template": "/internal/v1/rooms/{room_id}",
      "path": "/internal/v1/rooms/00919f0a-cfeb-438d-bdb7-65af28b4f678",
      "auth": "hmac",
      "scopes": null,
      "request_body": {
        "expires_at": "2026-01-16T09:30:02Z"
      },
      "response_status": 200,
      "response_body": {
        "id": "00919f0a-cfeb-438d-bdb7-65af28b4f678",
        "tenant_id": "acct_fac91b282191cc02dd29912c8db43f1c",
        "external_ref": "ops-room-1",
        "created_by": "alice",
        "status": "active",
        "e2ee": false,
        "created_at": "2026-01-15T09:30:02Z",
        "expires_at": "2026-01-16T09:30:02Z"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "addMember": {
      "method": "POST",
      "path_template": "/internal/v1/rooms/{room_id}/members",
      "path": "/internal/v1/rooms/00919f0a-cfeb-438d-bdb7-65af28b4f678/members",
      "auth": "hmac",
      "scopes": null,
      "request_body": {
        "principal_id": "alice",
        "role": "owner"
      },
      "response_status": 200,
      "response_body": {
        "tenant_id": "acct_fac91b282191cc02dd29912c8db43f1c",
        "room_id": "00919f0a-cfeb-438d-bdb7-65af28b4f678",
        "principal_id": "alice",
        "role": "owner",
        "joined_at": "2026-01-15T09:30:03Z"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "mintSessionToken": {
      "method": "POST",
      "path_template": "/internal/v1/session-tokens",
      "path": "/internal/v1/session-tokens",
      "auth": "hmac",
      "scopes": null,
      "request_body": {
        "tenant_id": "acct_fac91b282191cc02dd29912c8db43f1c",
        "room_id": "00919f0a-cfeb-438d-bdb7-65af28b4f678",
        "principal_id": "alice",
        "role": "owner",
        "ttl_seconds": 3600
      },
      "response_status": 200,
      "response_body": {
        "access_token": "eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCIsImtpZCI6ImEwM2I1NjQ4MjM3YjlmZWIifQ.eyJpc3MiOiJjaGF0Ym94LWJhY2tlbmQiLCJhdWQiOiJjaGF0Ym94LXJlYWx0aW1lIiwic3ViIjoiYWxpY2UiLCJ0aWQiOiJhY2N0X2ZhYzkxYjI4MjE5MWNjMDJkZDI5OTEyYzhkYjQzZjFjIiwicmlkIjoiMDA5MTlmMGEtY2ZlYi00MzhkLWJkYjctNjVhZjI4YjRmNjc4Iiwicm9sZSI6Im93bmVyIiwicGVybWlzc2lvbnMiOlsiY2hhdDpzZW5kIiwiY2hhdDpoaXN0b3J5IiwiYXR0YWNobWVudDp1cGxvYWQiLCJhdHRhY2htZW50OmRvd25sb2FkIiwicnRjOnB1Ymxpc2giLCJydGM6c3Vic2NyaWJlIl0sImp0aSI6IjhjNzIwODU0LWNmZDQtNDI5Zi04YmE5LWY3YjBjNjRjYzUyZiIsImlhdCI6MTc4OTExNzI4OSwibmJmIjoxNzg5MTE3Mjg5LCJleHAiOjE3ODkxMjA4ODl9.SIGNATURE_REMOVED",
        "expires_at": "2026-01-15T10:30:02Z",
        "rtc_websocket_url": "wss://api.ollacore.com/v1/rtc/ws",
        "chat_websocket_url": "wss://api.ollacore.com/v1/chat/ws",
        "ice_servers": [
          {
            "urls": [
              "stun:api.ollacore.com:3478"
            ]
          },
          {
            "urls": [
              "turn:api.ollacore.com:3478",
              "turns:api.ollacore.com:5349"
            ],
            "username": "1789064267:alice",
            "credential": "EXAMPLE_TURN_CREDENTIAL="
          }
        ]
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "provisionRoom": {
      "method": "POST",
      "path_template": "/v1/server/rooms",
      "path": "/v1/server/rooms",
      "auth": "customer_key",
      "scopes": [
        "rooms:write"
      ],
      "request_body": {
        "created_by": "alice",
        "external_ref": "order-7781"
      },
      "response_status": 200,
      "response_body": {
        "id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
        "tenant_id": "acct_fac91b282191cc02dd29912c8db43f1c",
        "external_ref": "order-7781",
        "created_by": "alice",
        "status": "active",
        "e2ee": false,
        "created_at": "2026-01-15T09:30:03Z"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "getRoom": {
      "method": "GET",
      "path_template": "/v1/server/rooms/{room_id}",
      "path": "/v1/server/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1",
      "auth": "customer_key",
      "scopes": [
        "rooms:read"
      ],
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
        "tenant_id": "acct_fac91b282191cc02dd29912c8db43f1c",
        "external_ref": "order-7781",
        "created_by": "alice",
        "status": "active",
        "e2ee": false,
        "created_at": "2026-01-15T09:30:03Z"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "addRoomMember": {
      "method": "POST",
      "path_template": "/v1/server/rooms/{room_id}/members",
      "path": "/v1/server/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/members",
      "auth": "customer_key",
      "scopes": [
        "members:write"
      ],
      "request_body": {
        "principal_id": "alice",
        "role": "owner"
      },
      "response_status": 200,
      "response_body": {
        "tenant_id": "acct_fac91b282191cc02dd29912c8db43f1c",
        "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
        "principal_id": "alice",
        "role": "owner",
        "joined_at": "2026-01-15T09:30:03Z"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "registerPrincipal": {
      "method": "POST",
      "path_template": "/v1/server/principals",
      "path": "/v1/server/principals",
      "auth": "customer_key",
      "scopes": null,
      "request_body": {
        "principal_id": "support-bot",
        "kind": "agent"
      },
      "response_status": 200,
      "response_body": {
        "principal_id": "support-bot",
        "kind": "agent"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "sendMessage": {
      "method": "POST",
      "path_template": "/v1/server/rooms/{room_id}/messages",
      "path": "/v1/server/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/messages",
      "auth": "customer_key",
      "scopes": [
        "messages:write"
      ],
      "request_body": {
        "sender_principal_id": "support-bot",
        "client_message_id": "srv-8c1f2a",
        "kind": "text",
        "body": {
          "text": "Your order #7781 has shipped."
        }
      },
      "response_status": 200,
      "response_body": {
        "id": "e0b25ea0-1320-4862-af8d-bc28a2547b27",
        "event_seq": 2310,
        "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
        "sender_id": "support-bot",
        "client_message_id": "srv-8c1f2a",
        "kind": "text",
        "body": {
          "text": "Your order #7781 has shipped."
        },
        "created_at": "2026-01-15T09:30:04Z"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "createSessionToken": {
      "method": "POST",
      "path_template": "/v1/server/session-tokens",
      "path": "/v1/server/session-tokens",
      "auth": "customer_key",
      "scopes": [
        "tokens:mint"
      ],
      "request_body": {
        "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
        "principal_id": "alice",
        "role": "owner",
        "ttl_seconds": 3600,
        "device_id": "dev-alice"
      },
      "response_status": 200,
      "response_body": {
        "access_token": "eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCIsImtpZCI6ImEwM2I1NjQ4MjM3YjlmZWIifQ.eyJpc3MiOiJjaGF0Ym94LWJhY2tlbmQiLCJhdWQiOiJjaGF0Ym94LXJlYWx0aW1lIiwic3ViIjoiYWxpY2UiLCJ0aWQiOiJhY2N0X2ZhYzkxYjI4MjE5MWNjMDJkZDI5OTEyYzhkYjQzZjFjIiwicmlkIjoiMjU5NjRmMTItOWFlOS00MzU2LTgwZTgtNjliYzVmNzQ5YmQxIiwicm9sZSI6Im93bmVyIiwicGVybWlzc2lvbnMiOlsiY2hhdDpzZW5kIiwiY2hhdDpoaXN0b3J5IiwiYXR0YWNobWVudDp1cGxvYWQiLCJhdHRhY2htZW50OmRvd25sb2FkIiwicnRjOnB1Ymxpc2giLCJydGM6c3Vic2NyaWJlIl0sImRpZCI6ImRldi1hbGljZSIsImp0aSI6ImY0YjYwZWIzLTQwNTQtNDExOC04YWZlLTIzYTZmNjM4ZmM5ZCIsImlhdCI6MTc4OTExNzI5MSwibmJmIjoxNzg5MTE3MjkxLCJleHAiOjE3ODkxMjA4OTF9.SIGNATURE_REMOVED",
        "expires_at": "2026-01-15T10:30:04Z",
        "rtc_websocket_url": "wss://api.ollacore.com/v1/rtc/ws",
        "chat_websocket_url": "wss://api.ollacore.com/v1/chat/ws",
        "ice_servers": [
          {
            "urls": [
              "stun:api.ollacore.com:3478"
            ]
          },
          {
            "urls": [
              "turn:api.ollacore.com:3478",
              "turns:api.ollacore.com:5349"
            ],
            "username": "1789064267:alice",
            "credential": "EXAMPLE_TURN_CREDENTIAL="
          }
        ]
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "createWebhook": {
      "method": "POST",
      "path_template": "/v1/server/webhooks",
      "path": "/v1/server/webhooks",
      "auth": "customer_key",
      "scopes": [
        "webhooks:manage"
      ],
      "request_body": {
        "url": "https://hooks.example.com/health",
        "event_types": [
          "message.created",
          "call.started",
          "member.added"
        ]
      },
      "response_status": 200,
      "response_body": {
        "id": "whe_2416dc932158009799ae0c3d084c29c0",
        "url": "https://hooks.example.com/health",
        "event_types": [
          "message.created",
          "call.started",
          "member.added"
        ],
        "secret": "whsec_EXAMPLE_NOT_A_REAL_SECRET"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "listWebhooks": {
      "method": "GET",
      "path_template": "/v1/server/webhooks",
      "path": "/v1/server/webhooks",
      "auth": "customer_key",
      "scopes": [
        "webhooks:manage"
      ],
      "request_body": null,
      "response_status": 200,
      "response_body": [
        {
          "id": "whe_2416dc932158009799ae0c3d084c29c0",
          "url": "https://hooks.example.com/health",
          "event_types": [
            "message.created",
            "call.started",
            "member.added"
          ],
          "enabled": true,
          "created_at": "2026-01-15T09:30:05Z"
        }
      ],
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "postMessage": {
      "method": "POST",
      "path_template": "/v1/rooms/{room_id}/messages",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/messages",
      "auth": "bearer",
      "scopes": null,
      "request_body": {
        "client_message_id": "c-9f3b7e21",
        "kind": "text",
        "body": {
          "text": "Hey — are we still on for 3pm?"
        }
      },
      "response_status": 200,
      "response_body": {
        "duplicate": false,
        "message": {
          "body": {
            "text": "Hey — are we still on for 3pm?"
          },
          "client_message_id": "c-9f3b7e21",
          "created_at": "2026-01-15T09:30:06Z",
          "event_seq": 2312,
          "id": "e8b186e4-845a-41dc-bb28-102dd8d0cb8d",
          "kind": "text",
          "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
          "sender_id": "alice"
        }
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "listMessages": {
      "method": "GET",
      "path_template": "/v1/rooms/{room_id}/messages",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/messages?limit=20",
      "auth": "bearer",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "messages": [
          {
            "id": "e0b25ea0-1320-4862-af8d-bc28a2547b27",
            "event_seq": 2310,
            "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
            "sender_id": "support-bot",
            "client_message_id": "srv-8c1f2a",
            "kind": "text",
            "body": {
              "text": "Your order #7781 has shipped."
            },
            "created_at": "2026-01-15T09:30:04Z"
          },
          {
            "id": "e8b186e4-845a-41dc-bb28-102dd8d0cb8d",
            "event_seq": 2312,
            "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
            "sender_id": "alice",
            "client_message_id": "c-9f3b7e21",
            "kind": "text",
            "body": {
              "text": "Hey — are we still on for 3pm?"
            },
            "created_at": "2026-01-15T09:30:06Z"
          }
        ],
        "latest_seq": 2312
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "editMessage": {
      "method": "PATCH",
      "path_template": "/v1/rooms/{room_id}/messages/{message_id}",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/messages/e8b186e4-845a-41dc-bb28-102dd8d0cb8d",
      "auth": "bearer",
      "scopes": null,
      "request_body": {
        "body": {
          "text": "Hey — are we still on for 3:30pm?"
        }
      },
      "response_status": 200,
      "response_body": {
        "message": {
          "body": {
            "text": "Hey — are we still on for 3:30pm?"
          },
          "client_message_id": "c-9f3b7e21",
          "created_at": "2026-01-15T09:30:06Z",
          "edited_at": "2026-01-15T09:30:06Z",
          "event_seq": 2312,
          "id": "e8b186e4-845a-41dc-bb28-102dd8d0cb8d",
          "kind": "text",
          "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
          "sender_id": "alice"
        }
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "addReaction": {
      "method": "POST",
      "path_template": "/v1/rooms/{room_id}/messages/{message_id}/reactions",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/messages/e8b186e4-845a-41dc-bb28-102dd8d0cb8d/reactions",
      "auth": "bearer",
      "scopes": null,
      "request_body": {
        "emoji": "👍"
      },
      "response_status": 200,
      "response_body": {
        "changed": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "removeReaction": {
      "method": "DELETE",
      "path_template": "/v1/rooms/{room_id}/messages/{message_id}/reactions",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/messages/e8b186e4-845a-41dc-bb28-102dd8d0cb8d/reactions",
      "auth": "bearer",
      "scopes": null,
      "request_body": {
        "emoji": "👍"
      },
      "response_status": 200,
      "response_body": {
        "changed": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "receiptDelivered": {
      "method": "POST",
      "path_template": "/v1/rooms/{room_id}/messages/{message_id}/delivered",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/messages/e8b186e4-845a-41dc-bb28-102dd8d0cb8d/delivered",
      "auth": "bearer",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "advanced": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "receiptRead": {
      "method": "POST",
      "path_template": "/v1/rooms/{room_id}/messages/{message_id}/read",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/messages/e8b186e4-845a-41dc-bb28-102dd8d0cb8d/read",
      "auth": "bearer",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "advanced": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "unread": {
      "method": "GET",
      "path_template": "/v1/rooms/{room_id}/unread",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/unread",
      "auth": "bearer",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "unread_count": 0,
        "last_read_seq": 2312,
        "latest_seq": 2312
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "participants": {
      "method": "GET",
      "path_template": "/v1/rooms/{room_id}/participants",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/participants",
      "auth": "bearer",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "participants": [
          {
            "principal_id": "bob",
            "role": "member",
            "online": false
          },
          {
            "principal_id": "alice",
            "role": "owner",
            "online": false
          },
          {
            "principal_id": "carol",
            "role": "member",
            "online": false
          },
          {
            "principal_id": "support-bot",
            "role": "member",
            "online": false
          }
        ]
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "searchMessages": {
      "method": "GET",
      "path_template": "/v1/rooms/{room_id}/messages/search",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/messages/search?q=invoice&limit=20",
      "auth": "bearer",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "messages": [
          {
            "id": "5c6e7377-ca7d-4567-9beb-dafb87d2a4d9",
            "event_seq": 2313,
            "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
            "sender_id": "bob",
            "client_message_id": "c-searchable",
            "kind": "text",
            "body": {
              "text": "The quarterly invoice is attached."
            },
            "created_at": "2026-01-15T09:30:08Z"
          }
        ],
        "latest_seq": 2313
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "deleteMessage": {
      "method": "DELETE",
      "path_template": "/v1/rooms/{room_id}/messages/{message_id}",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/messages/883e28db-e669-4fba-9a60-e071d1b79b8d",
      "auth": "bearer",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "message": {
          "body": null,
          "client_message_id": "c-doomed",
          "created_at": "2026-01-15T09:30:08Z",
          "deleted_at": "2026-01-15T09:30:08Z",
          "event_seq": 2314,
          "id": "883e28db-e669-4fba-9a60-e071d1b79b8d",
          "kind": "deleted",
          "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
          "sender_id": "alice"
        }
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "vapidPublicKey": {
      "method": "GET",
      "path_template": "/v1/push/vapid-public-key",
      "path": "/v1/push/vapid-public-key",
      "auth": "bearer",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "vapid_public_key": "BOCW_h9I_7rKsBL9E6EXl2eENH5vPkbuYPcIR9AVhUDwFJipZ4vC5RMAUqiKWSlVEhK3T2Zyv0DnJGXC1i0cNoE"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "pushSubscribe": {
      "method": "POST",
      "path_template": "/v1/push/subscriptions",
      "path": "/v1/push/subscriptions",
      "auth": "bearer",
      "scopes": null,
      "request_body": {
        "endpoint": "https://fcm.googleapis.com/fcm/send/EXAMPLE",
        "keys": {
          "p256dh": "<redacted>",
          "auth": "c2VjcmV0MTIzNDU2Nzg"
        },
        "user_agent": "Mozilla/5.0 (Android 14; Pixel 8)"
      },
      "response_status": 200,
      "response_body": {
        "subscribed": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "pushUnsubscribe": {
      "method": "DELETE",
      "path_template": "/v1/push/subscriptions",
      "path": "/v1/push/subscriptions",
      "auth": "bearer",
      "scopes": null,
      "request_body": {
        "endpoint": "https://fcm.googleapis.com/fcm/send/EXAMPLE"
      },
      "response_status": 200,
      "response_body": {
        "removed": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "keysUpload": {
      "method": "POST",
      "path_template": "/v1/e2ee/keys/upload",
      "path": "/v1/e2ee/keys/upload",
      "auth": "bearer",
      "scopes": null,
      "request_body": {
        "device_keys": {
          "user_id": "alice",
          "device_id": "dev-alice",
          "algorithms": [
            "m.olm.v1.curve25519-aes-sha2",
            "m.megolm.v1.aes-sha2"
          ],
          "keys": {
            "curve25519:dev-alice": "JGDn8Xz3…",
            "ed25519:dev-alice": "lEuiSJHm…"
          }
        },
        "one_time_keys": {
          "signed_curve25519:AAAAAQ": {
            "key": "zKbLg+NrIjpn…"
          },
          "signed_curve25519:AAAAAg": {
            "key": "mYWt2yTv8p…"
          },
          "signed_curve25519:AAAAAw": {
            "key": "qR7dLm3nXk…"
          }
        }
      },
      "response_status": 200,
      "response_body": {
        "one_time_key_counts": {
          "signed_curve25519": 3
        }
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "keysQuery": {
      "method": "POST",
      "path_template": "/v1/e2ee/keys/query",
      "path": "/v1/e2ee/keys/query",
      "auth": "bearer",
      "scopes": null,
      "request_body": {
        "device_keys": {
          "alice": {},
          "bob": {}
        }
      },
      "response_status": 200,
      "response_body": {
        "device_keys": {
          "alice": {
            "dev-alice": {
              "algorithms": [
                "m.olm.v1.curve25519-aes-sha2",
                "m.megolm.v1.aes-sha2"
              ],
              "device_id": "dev-alice",
              "keys": {
                "curve25519:dev-alice": "JGDn8Xz3…",
                "ed25519:dev-alice": "lEuiSJHm…"
              },
              "user_id": "alice"
            }
          },
          "bob": {
            "dev-bob": {
              "algorithms": [
                "m.olm.v1.curve25519-aes-sha2"
              ],
              "device_id": "dev-bob",
              "keys": {
                "curve25519:dev-bob": "aBcD…"
              },
              "user_id": "bob"
            }
          }
        }
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "keysClaim": {
      "method": "POST",
      "path_template": "/v1/e2ee/keys/claim",
      "path": "/v1/e2ee/keys/claim",
      "auth": "bearer",
      "scopes": null,
      "request_body": {
        "one_time_keys": {
          "bob": {
            "dev-bob": "signed_curve25519"
          }
        }
      },
      "response_status": 200,
      "response_body": {
        "one_time_keys": {
          "bob": {
            "dev-bob": {
              "signed_curve25519:BBBBAQ": {
                "key": "nnn…"
              }
            }
          }
        }
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "todeviceSend": {
      "method": "POST",
      "path_template": "/v1/e2ee/todevice",
      "path": "/v1/e2ee/todevice",
      "auth": "bearer",
      "scopes": null,
      "request_body": {
        "event_type": "m.room_key_request",
        "messages": {
          "bob": {
            "dev-bob": {
              "action": "request",
              "requesting_device_id": "dev-alice"
            }
          }
        }
      },
      "response_status": 200,
      "response_body": {
        "queued": 1
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "todeviceFetch": {
      "method": "GET",
      "path_template": "/v1/e2ee/todevice",
      "path": "/v1/e2ee/todevice",
      "auth": "bearer",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "device_list_changes": [
          "alice",
          "bob"
        ],
        "device_list_watermark": 92,
        "events": [
          {
            "content": {
              "action": "request",
              "requesting_device_id": "dev-alice"
            },
            "sender": "alice",
            "type": "m.room_key_request"
          }
        ],
        "next_token": 73,
        "one_time_key_counts": {
          "signed_curve25519": 1
        },
        "unused_fallback_key_algorithms": []
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "uploadKeyPackages": {
      "method": "POST",
      "path_template": "/v1/keypackages",
      "path": "/v1/keypackages",
      "auth": "bearer",
      "scopes": null,
      "request_body": {
        "device_id": "dev-alice",
        "packages": [
          "AAECAwQFBgcICQoLDA0ODw==",
          "EBESExQVFhcYGRobHB0eHw==",
          "ICEiIyQlJicoKSorLC0uLw=="
        ]
      },
      "response_status": 200,
      "response_body": {
        "stored": 3
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "keyPackageCount": {
      "method": "GET",
      "path_template": "/v1/keypackages/count",
      "path": "/v1/keypackages/count",
      "auth": "bearer",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "devices": [
          {
            "device_id": "dev-alice",
            "remaining": 3
          }
        ]
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "consumeKeyPackages": {
      "method": "GET",
      "path_template": "/v1/rooms/{room_id}/keypackages/{principal_id}",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/keypackages/alice",
      "auth": "bearer",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "principal_id": "alice",
        "packages": [
          {
            "device_id": "dev-alice",
            "package": "AAECAwQFBgcICQoLDA0ODw=="
          }
        ]
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "initAttachment": {
      "method": "POST",
      "path_template": "/v1/rooms/{room_id}/attachments/init",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/attachments/init",
      "auth": "bearer",
      "scopes": null,
      "request_body": {
        "original_name": "invoice-q3.jpg",
        "declared_mime": "image/jpeg",
        "byte_size": 160
      },
      "response_status": 200,
      "response_body": {
        "attachment_id": "ee86f695-3f58-48e2-9ca8-66ee9651ee3e",
        "upload_url": "https://files.example.com/objects/…?X-Amz-Signature=…",
        "upload_expires_at": "2026-01-15T09:35:10Z",
        "required_headers": [
          [
            "content-type",
            "application/octet-stream"
          ]
        ]
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "completeAttachment": {
      "method": "POST",
      "path_template": "/v1/rooms/{room_id}/attachments/{attachment_id}/complete",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/attachments/ee86f695-3f58-48e2-9ca8-66ee9651ee3e/complete",
      "auth": "bearer",
      "scopes": null,
      "request_body": {},
      "response_status": 200,
      "response_body": {
        "attachment_id": "ee86f695-3f58-48e2-9ca8-66ee9651ee3e",
        "status": "uploaded"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "downloadAttachment": {
      "method": "GET",
      "path_template": "/v1/rooms/{room_id}/attachments/{attachment_id}/download",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/attachments/ee86f695-3f58-48e2-9ca8-66ee9651ee3e/download",
      "auth": "bearer",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "download_url": "https://files.example.com/objects/…?X-Amz-Signature=…",
        "expires_at": "2026-01-15T09:35:11Z",
        "mime": "image/jpeg",
        "original_name": "invoice-q3.jpg",
        "thumbnail_url": "https://files.example.com/objects/…?X-Amz-Signature=…",
        "disposition": "inline"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "initMultipart": {
      "method": "POST",
      "path_template": "/v1/rooms/{room_id}/attachments/init-multipart",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/attachments/init-multipart",
      "auth": "bearer",
      "scopes": null,
      "request_body": {
        "original_name": "standup.mp4",
        "declared_mime": "video/mp4",
        "byte_size": 5243904,
        "part_size": 5242880
      },
      "response_status": 200,
      "response_body": {
        "attachment_id": "2b575b88-88bb-40d0-b616-57536b782806",
        "upload_id": "ZTY5ODdmMjMtMGI1OS00Y2QxLTk5MzYtNzllZjk2YjdiZDY5LjJlMDdhZTkzLTFjMjUtNGM0NC05YTAwLWExNDAyZjFlOGIzOXgxNzg5MTE3Mjk3ODM4OTMwOTQ5",
        "part_size": 5242880,
        "part_urls": [
          "https://files.example.com/objects/…?X-Amz-Signature=…",
          "https://files.example.com/objects/…?X-Amz-Signature=…"
        ],
        "expires_at": "2026-01-15T09:35:11Z"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "completeMultipart": {
      "method": "POST",
      "path_template": "/v1/rooms/{room_id}/attachments/{attachment_id}/complete-multipart",
      "path": "/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/attachments/2b575b88-88bb-40d0-b616-57536b782806/complete-multipart",
      "auth": "bearer",
      "scopes": null,
      "request_body": {
        "parts": [
          {
            "part_number": 1,
            "etag": "b8fc857a25e7958868c2f003d5e0952d"
          },
          {
            "part_number": 2,
            "etag": "e9f8000caffbce369d7fee9c07d43509"
          }
        ]
      },
      "response_status": 200,
      "response_body": {
        "attachment_id": "2b575b88-88bb-40d0-b616-57536b782806",
        "status": "uploaded"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "otpRequest": {
      "method": "POST",
      "path_template": "/v1/directory/otp/request",
      "path": "/v1/directory/otp/request",
      "auth": null,
      "scopes": null,
      "request_body": {
        "app_id": "da_3a0a2cfaabd34b7dbfb4ecd5033b0c5f",
        "phone": "+15550001111"
      },
      "response_status": 200,
      "response_body": {
        "dispatched": true,
        "expires_at": "2026-01-15T09:35:42Z"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": [
        "The code is never returned here — it is delivered to your configured webhook or SMS provider."
      ]
    },
    "otpVerify": {
      "method": "POST",
      "path_template": "/v1/directory/otp/verify",
      "path": "/v1/directory/otp/verify",
      "auth": null,
      "scopes": null,
      "request_body": {
        "app_id": "da_3a0a2cfaabd34b7dbfb4ecd5033b0c5f",
        "phone": "+15550001111",
        "code": "481920"
      },
      "response_status": 200,
      "response_body": {
        "session_token": "as_EXAMPLE_SESSION",
        "user_id": "4a98e767-a426-47e9-89a0-c499b54d2904",
        "display_name": "QA Test User"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "meGet": {
      "method": "GET",
      "path_template": "/v1/directory/me",
      "path": "/v1/directory/me",
      "auth": "directory_session",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "id": "4a98e767-a426-47e9-89a0-c499b54d2904",
        "phone": "+15550001111",
        "display_name": "QA Test User"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "mePatch": {
      "method": "PATCH",
      "path_template": "/v1/directory/me",
      "path": "/v1/directory/me",
      "auth": "directory_session",
      "scopes": null,
      "request_body": {
        "display_name": "Alice Nakamura"
      },
      "response_status": 200,
      "response_body": {
        "display_name": "Alice Nakamura"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "registerDevice": {
      "method": "POST",
      "path_template": "/v1/directory/devices",
      "path": "/v1/directory/devices",
      "auth": "directory_session",
      "scopes": null,
      "request_body": {
        "platform": "fcm",
        "push_token": "EXAMPLE_DEVICE_PUSH_TOKEN"
      },
      "response_status": 200,
      "response_body": {
        "id": "3a7d0ead-8ffa-4194-b38e-2e5c0ce04738",
        "platform": "fcm",
        "push_token": "EXAMPLE_DEVICE_PUSH_TOKEN",
        "app_id": "da_3a0a2cfaabd34b7dbfb4ecd5033b0c5f",
        "updated_at": "2026-01-15T09:30:44Z"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "listDevices": {
      "method": "GET",
      "path_template": "/v1/directory/devices",
      "path": "/v1/directory/devices",
      "auth": "directory_session",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "devices": [
          {
            "app_id": "da_3a0a2cfaabd34b7dbfb4ecd5033b0c5f",
            "id": "3a7d0ead-8ffa-4194-b38e-2e5c0ce04738",
            "platform": "fcm",
            "push_token": "EXAMPLE_DEVICE_PUSH_TOKEN",
            "updated_at": "2026-01-15T09:30:44Z"
          }
        ]
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "contactsLookup": {
      "method": "POST",
      "path_template": "/v1/directory/contacts/lookup",
      "path": "/v1/directory/contacts/lookup",
      "auth": "directory_session",
      "scopes": null,
      "request_body": {
        "phones": [
          "+15550002222",
          "+15550009999"
        ]
      },
      "response_status": 200,
      "response_body": {
        "contacts": [
          {
            "display_name": null,
            "phone": "+15550002222",
            "user_id": "fa01a2a6-4fd1-48e7-a18c-9bf7719f01b7"
          }
        ]
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "conversationDirect": {
      "method": "POST",
      "path_template": "/v1/directory/conversations/direct",
      "path": "/v1/directory/conversations/direct",
      "auth": "directory_session",
      "scopes": null,
      "request_body": {
        "peer_user_id": "fa01a2a6-4fd1-48e7-a18c-9bf7719f01b7"
      },
      "response_status": 200,
      "response_body": {
        "room_id": "0b925a2d-944a-4f1d-a761-56d24db90341",
        "kind": "direct"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "conversationGroup": {
      "method": "POST",
      "path_template": "/v1/directory/conversations/group",
      "path": "/v1/directory/conversations/group",
      "auth": "directory_session",
      "scopes": null,
      "request_body": {
        "member_user_ids": [
          "fa01a2a6-4fd1-48e7-a18c-9bf7719f01b7"
        ],
        "name": "Weekend plans"
      },
      "response_status": 200,
      "response_body": {
        "room_id": "eb0a0da1-5344-483f-8b18-b95bfc4d1e36",
        "kind": "group",
        "name": "Weekend plans"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "conversationsList": {
      "method": "GET",
      "path_template": "/v1/directory/conversations",
      "path": "/v1/directory/conversations",
      "auth": "directory_session",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "conversations": [
          {
            "created_at": "2026-01-15T09:30:45Z",
            "kind": "group",
            "name": "Weekend plans",
            "room_id": "eb0a0da1-5344-483f-8b18-b95bfc4d1e36"
          },
          {
            "created_at": "2026-01-15T07:26:05Z",
            "kind": "group",
            "name": "QA Test Group",
            "room_id": "60f99e3b-2084-4bb5-9adb-527ee9907673"
          },
          {
            "created_at": "2026-01-15T07:24:48Z",
            "kind": "group",
            "name": "QA Test Group",
            "room_id": "1cac5f45-0101-442b-a6cf-bdc9136a4c55"
          },
          {
            "created_at": "2026-01-14T18:52:34Z",
            "kind": "group",
            "name": "Weekend plans",
            "room_id": "8ef5c24c-eca5-4c18-b1c3-bb4e86b24632"
          },
          {
            "created_at": "2026-01-14T18:49:33Z",
            "kind": "group",
            "name": "Weekend plans",
            "room_id": "94a7993d-f741-47dc-b524-dc63a8986899"
          },
          {
            "created_at": "2026-01-14T18:39:36Z",
            "kind": "group",
            "name": "Weekend plans",
            "room_id": "b7740fb5-02e4-4095-980c-abd1f098ae37"
          },
          {
            "created_at": "2026-01-14T18:37:04Z",
            "kind": "group",
            "name": "Weekend plans",
            "room_id": "aca2ceb1-e310-4e14-8882-d8e966b7d712"
          },
          {
            "created_at": "2026-01-14T18:35:05Z",
            "kind": "group",
            "name": "Weekend plans",
            "room_id": "b5e03d35-ea1d-403e-9a87-02e614aee58a"
          },
          {
            "created_at": "2026-01-14T18:35:05Z",
            "kind": "direct",
            "name": null,
            "room_id": "0b925a2d-944a-4f1d-a761-56d24db90341"
          }
        ]
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "conversationToken": {
      "method": "GET",
      "path_template": "/v1/directory/conversations/{room_id}/token",
      "path": "/v1/directory/conversations/0b925a2d-944a-4f1d-a761-56d24db90341/token?device_id=dev-alice-phone",
      "auth": "directory_session",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "access_token": "eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCIsImtpZCI6ImEwM2I1NjQ4MjM3YjlmZWIifQ.eyJpc3MiOiJjaGF0Ym94LWJhY2tlbmQiLCJhdWQiOiJjaGF0Ym94LXJlYWx0aW1lIiwic3ViIjoiNGE5OGU3NjctYTQyNi00N2U5LTg5YTAtYzQ5OWI1NGQyOTA0IiwidGlkIjoiYWNjdF9lZmFmN2YwMWEzNzM0NTNiYjEwMDQ2YzcyYzNiYjdiYiIsInJpZCI6IjBiOTI1YTJkLTk0NGEtNGYxZC1hNzYxLTU2ZDI0ZGI5MDM0MSIsInJvbGUiOiJtZW1iZXIiLCJwZXJtaXNzaW9ucyI6WyJjaGF0OnNlbmQiLCJjaGF0Omhpc3RvcnkiLCJhdHRhY2htZW50OnVwbG9hZCIsImF0dGFjaG1lbnQ6ZG93bmxvYWQiLCJydGM6cHVibGlzaCIsInJ0YzpzdWJzY3JpYmUiXSwiZGlkIjoiZGV2LWFsaWNlLXBob25lIiwianRpIjoiNzFlMjIwOWYtZGRiZC00NDQ2LThlMGEtMDM3NTFhYWQ5MGY1IiwiaWF0IjoxNzg5MTE3MzMxLCJuYmYiOjE3ODkxMTczMzEsImV4cCI6MTc4OTExNzkzMX0.SIGNATURE_REMOVED",
        "expires_at": "2026-01-15T09:40:44Z",
        "rtc_websocket_url": "wss://api.ollacore.com/v1/rtc/ws",
        "chat_websocket_url": "wss://api.ollacore.com/v1/chat/ws",
        "ice_servers": [
          {
            "urls": [
              "stun:api.ollacore.com:3478"
            ]
          },
          {
            "urls": [
              "turn:api.ollacore.com:3478",
              "turns:api.ollacore.com:5349"
            ],
            "username": "1789064267:alice",
            "credential": "EXAMPLE_TURN_CREDENTIAL="
          }
        ]
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "listInbox": {
      "method": "GET",
      "path_template": "/v1/directory/inbox",
      "path": "/v1/directory/inbox?limit=30",
      "auth": "directory_session",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "conversations": [
          {
            "kind": "group",
            "last_message": null,
            "name": "Weekend plans",
            "peer": null,
            "room_id": "eb0a0da1-5344-483f-8b18-b95bfc4d1e36",
            "unread_count": 0
          },
          {
            "kind": "direct",
            "last_message": {
              "created_at": "2026-01-15T07:26:09Z",
              "event_seq": 2303,
              "kind": "text",
              "preview": "To delete",
              "sender_id": "4a98e767-a426-47e9-89a0-c499b54d2904"
            },
            "name": null,
            "peer": {
              "display_name": null,
              "phone": "+15550002222",
              "user_id": "fa01a2a6-4fd1-48e7-a18c-9bf7719f01b7"
            },
            "room_id": "0b925a2d-944a-4f1d-a761-56d24db90341",
            "unread_count": 0
          },
          {
            "kind": "group",
            "last_message": null,
            "name": "QA Test Group",
            "peer": null,
            "room_id": "60f99e3b-2084-4bb5-9adb-527ee9907673",
            "unread_count": 0
          },
          {
            "kind": "group",
            "last_message": null,
            "name": "QA Test Group",
            "peer": null,
            "room_id": "1cac5f45-0101-442b-a6cf-bdc9136a4c55",
            "unread_count": 0
          },
          {
            "kind": "group",
            "last_message": null,
            "name": "Weekend plans",
            "peer": null,
            "room_id": "8ef5c24c-eca5-4c18-b1c3-bb4e86b24632",
            "unread_count": 0
          },
          {
            "kind": "group",
            "last_message": null,
            "name": "Weekend plans",
            "peer": null,
            "room_id": "94a7993d-f741-47dc-b524-dc63a8986899",
            "unread_count": 0
          },
          {
            "kind": "group",
            "last_message": null,
            "name": "Weekend plans",
            "peer": null,
            "room_id": "b7740fb5-02e4-4095-980c-abd1f098ae37",
            "unread_count": 0
          },
          {
            "kind": "group",
            "last_message": null,
            "name": "Weekend plans",
            "peer": null,
            "room_id": "aca2ceb1-e310-4e14-8882-d8e966b7d712",
            "unread_count": 0
          },
          {
            "kind": "group",
            "last_message": null,
            "name": "Weekend plans",
            "peer": null,
            "room_id": "b5e03d35-ea1d-403e-9a87-02e614aee58a",
            "unread_count": 0
          }
        ]
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "directoryLogout": {
      "method": "POST",
      "path_template": "/v1/directory/logout",
      "path": "/v1/directory/logout",
      "auth": "directory_session",
      "scopes": null,
      "request_body": {
        "all_devices": false
      },
      "response_status": 200,
      "response_body": {
        "logged_out": true,
        "sessions_revoked": 1
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "getUsage": {
      "method": "GET",
      "path_template": "/v1/server/usage",
      "path": "/v1/server/usage",
      "auth": "customer_key",
      "scopes": [
        "usage:read"
      ],
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "from": "2025-12-16T09:30:46Z",
        "to": "2026-01-15T09:30:46Z",
        "usage": [
          {
            "metric": "attachment.bytes",
            "total": 160
          },
          {
            "metric": "message.sent",
            "total": 6
          }
        ]
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "roomStatus": {
      "method": "GET",
      "path_template": "/internal/v1/rooms/{room_id}/status",
      "path": "/internal/v1/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/status",
      "auth": "hmac",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "room": {
          "id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
          "tenant_id": "acct_fac91b282191cc02dd29912c8db43f1c",
          "external_ref": "order-7781",
          "created_by": "alice",
          "status": "active",
          "e2ee": false,
          "created_at": "2026-01-15T09:30:03Z"
        },
        "member_count": 4,
        "online_participants": [],
        "rtc_participants": []
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "principalUnread": {
      "method": "GET",
      "path_template": "/internal/v1/principals/{principal_id}/unread",
      "path": "/internal/v1/principals/bob/unread?tenant_id=acct_fac91b282191cc02dd29912c8db43f1c",
      "auth": "hmac",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "rooms": [
          {
            "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
            "unread_count": 0
          }
        ],
        "total": 0
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "listWebhookDeliveries": {
      "method": "GET",
      "path_template": "/v1/server/webhooks/{webhook_id}/deliveries",
      "path": "/v1/server/webhooks/whe_2416dc932158009799ae0c3d084c29c0/deliveries",
      "auth": "customer_key",
      "scopes": [
        "webhooks:manage"
      ],
      "request_body": null,
      "response_status": 200,
      "response_body": [
        {
          "id": "whd_7d282f27fea842a9ab25a16bc1b2b72a",
          "event_id": "evt_96488673eac6e87fe8579758",
          "event_type": "call.started",
          "status": "delivered",
          "attempt": 0,
          "last_status_code": 200,
          "last_error": null,
          "created_at": "2026-01-15T09:30:33Z",
          "updated_at": "2026-01-15T09:30:34Z"
        },
        {
          "id": "whd_adf47b6fda5c48819e9c2d0979d1d883",
          "event_id": "evt_5630dc550d020475869aeefd",
          "event_type": "message.created",
          "status": "delivered",
          "attempt": 0,
          "last_status_code": 200,
          "last_error": null,
          "created_at": "2026-01-15T09:30:14Z",
          "updated_at": "2026-01-15T09:30:15Z"
        },
        {
          "id": "whd_d7184997847c4ee681f7071e6dfc5aa2",
          "event_id": "evt_95ad8fb017140924e405504f",
          "event_type": "message.created",
          "status": "delivered",
          "attempt": 0,
          "last_status_code": 200,
          "last_error": null,
          "created_at": "2026-01-15T09:30:08Z",
          "updated_at": "2026-01-15T09:30:09Z"
        },
        {
          "id": "whd_edd3535394d94f12afc2b58565445528",
          "event_id": "evt_caeeefc9c0561bc1d231ac10",
          "event_type": "message.created",
          "status": "delivered",
          "attempt": 0,
          "last_status_code": 200,
          "last_error": null,
          "created_at": "2026-01-15T09:30:08Z",
          "updated_at": "2026-01-15T09:30:08Z"
        },
        {
          "id": "whd_f2c972f25f57421a8229831e95a6fc1c",
          "event_id": "evt_7587de30c97317d8ca2c4d2a",
          "event_type": "message.created",
          "status": "delivered",
          "attempt": 0,
          "last_status_code": 200,
          "last_error": null,
          "created_at": "2026-01-15T09:30:06Z",
          "updated_at": "2026-01-15T09:30:06Z"
        }
      ],
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "replayWebhookDelivery": {
      "method": "POST",
      "path_template": "/v1/server/webhooks/{webhook_id}/deliveries/{delivery_id}/replay",
      "path": "/v1/server/webhooks/whe_2416dc932158009799ae0c3d084c29c0/deliveries/whd_7d282f27fea842a9ab25a16bc1b2b72a/replay",
      "auth": "customer_key",
      "scopes": [
        "webhooks:manage"
      ],
      "request_body": {},
      "response_status": 200,
      "response_body": {
        "replayed": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "live": {
      "method": "GET",
      "path_template": "/health/live",
      "path": "/health/live",
      "auth": null,
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": null,
      "response_body_text": "ok",
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "ready": {
      "method": "GET",
      "path_template": "/health/ready",
      "path": "/health/ready",
      "auth": null,
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": null,
      "response_body_text": "ready",
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "removeRoomMember": {
      "method": "DELETE",
      "path_template": "/v1/server/rooms/{room_id}/members/{principal_id}",
      "path": "/v1/server/rooms/25964f12-9ae9-4356-80e8-69bc5f749bd1/members/carol",
      "auth": "customer_key",
      "scopes": [
        "members:write"
      ],
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "removed": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "removeMember": {
      "method": "DELETE",
      "path_template": "/internal/v1/rooms/{room_id}/members/{principal_id}",
      "path": "/internal/v1/rooms/00919f0a-cfeb-438d-bdb7-65af28b4f678/members/carol2",
      "auth": "hmac",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "removed": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "deleteWebhook": {
      "method": "DELETE",
      "path_template": "/v1/server/webhooks/{webhook_id}",
      "path": "/v1/server/webhooks/whe_3f3c872def22482795c1e206a9367f88",
      "auth": "customer_key",
      "scopes": [
        "webhooks:manage"
      ],
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "disabled": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "deleteDevice": {
      "method": "DELETE",
      "path_template": "/v1/directory/devices",
      "path": "/v1/directory/devices",
      "auth": "directory_session",
      "scopes": null,
      "request_body": {
        "push_token": "EXAMPLE_DEVICE_PUSH_TOKEN"
      },
      "response_status": 200,
      "response_body": {
        "deleted": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "deleteKey": {
      "method": "DELETE",
      "path_template": "/v1/account/api-keys/{key_id}",
      "path": "/v1/account/api-keys/ak_live_e8177c7859fe3139043b58fff01924bd",
      "auth": "account_session",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "revoked": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "revokeApiKey": {
      "method": "DELETE",
      "path_template": "/internal/v1/api-keys/{key_id}",
      "path": "/internal/v1/api-keys/key-id-sandbox",
      "auth": "hmac",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "revoked": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "deleteDirectoryApp": {
      "method": "DELETE",
      "path_template": "/v1/account/directory-apps/{app_id}",
      "path": "/v1/account/directory-apps/da_03270a6c821fcca6c63a2049d93b62fe",
      "auth": "account_session",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "deleted": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "erasePrincipal": {
      "method": "POST",
      "path_template": "/v1/server/principals/{principal_id}/erase",
      "path": "/v1/server/principals/erasable-1/erase",
      "auth": "customer_key",
      "scopes": [
        "data:erase"
      ],
      "request_body": {},
      "response_status": 200,
      "response_body": {
        "erasing": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "deleteRoom": {
      "method": "DELETE",
      "path_template": "/v1/server/rooms/{room_id}",
      "path": "/v1/server/rooms/61f13be9-cf5b-4e1c-9d33-e39872d872c7",
      "auth": "customer_key",
      "scopes": [
        "rooms:delete"
      ],
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "deleting": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "purgeTenant": {
      "method": "DELETE",
      "path_template": "/internal/v1/tenants/{tenant_id}",
      "path": "/internal/v1/tenants/acct_fac91b282191cc02dd29912c8db43f1c",
      "auth": "hmac",
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": {
        "purging": true
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "production",
      "request_synthetic": false,
      "truncated": false,
      "notes": []
    },
    "putPlan": {
      "method": "PUT",
      "path_template": "/internal/v1/plans/{name}",
      "path": "/internal/v1/plans/docs-example",
      "auth": "hmac",
      "scopes": null,
      "request_body": {
        "rate_limit": 120,
        "rate_window_seconds": 10,
        "monthly_message_quota": 5000000,
        "monthly_byte_quota": 549755813888,
        "retention_days": 365,
        "description": "Example tier for documentation"
      },
      "response_status": 200,
      "response_body": {
        "plan": "docs-example"
      },
      "response_body_text": null,
      "verified": true,
      "verified_against": "test-vm",
      "request_synthetic": false,
      "truncated": false,
      "notes": [
        "Captured against a test deployment: `plans` is deployment-wide, so writing it on production would re-tier every existing tenant."
      ]
    },
    "metrics": {
      "method": "GET",
      "path_template": "/metrics",
      "path": "/metrics",
      "auth": null,
      "scopes": null,
      "request_body": null,
      "response_status": 200,
      "response_body": null,
      "response_body_text": "# HELP chatbox_auth_failures_total Rejected authentication attempts\n# TYPE chatbox_auth_failures_total counter\nchatbox_auth_failures_total 10\n# HELP chatbox_control_plane_rate_limited_total Rejected control-plane requests over the per-key rate limit\n# TYPE chatbox_control_plane_rate_limited_total counter\nchatbox_control_plane_rate_limited_total 1\n# HELP chatbox_control_plane_replays_total Rejected control-plane nonce replays\n# TYPE chatbox_control_plane_replays_total counter\nchatbox_control_plane_replays_total 1\n# HELP chatbox_http_requests_total Total HTTP requests handled\n# TYPE chatbox_http_requests_total counter\nchatbox_http_requests_total 5848\n# HELP chatbox_jobs_failed_total Background jobs that exhausted retries\n# TYPE chatbox_jobs_failed_total counter\nchatbox_jobs_failed_total 0\n# … (further series omitted)",
      "verified": true,
      "verified_against": "test-vm",
      "request_synthetic": false,
      "truncated": true,
      "notes": [
        "Prometheus text format. Not exposed publicly — the edge refuses /metrics; scrape it from inside your network."
      ]
    },
    "mediaAuth": {
      "method": "POST",
      "path_template": "/hooks/media/auth",
      "path": "/hooks/media/auth",
      "auth": null,
      "scopes": null,
      "request_body": {
        "user": "",
        "password": "<redacted>",
        "token": "eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCIsImtpZCI6IjI5YjE4MTk1MDg5ZDA5NGYifQ.eyJpc3MiOiJjaGF0Ym94LWJhY2tlbmQiLCJhdWQiOiJjaGF0Ym94LXJlYWx0aW1lIiwic3ViIjoiYWxpY2UiLCJ0aWQiOiJhY2N0X2ZhYzkxYjI4MjE5MWNjMDJkZDI5OTEyYzhkYjQzZjFjIiwicmlkIjoiMjU5NjRmMTItOWFlOS00MzU2LTgwZTgtNjliYzVmNzQ5YmQxIiwicm9sZSI6Im93bmVyIiwicGVybWlzc2lvbnMiOlsiY2hhdDpzZW5kIiwiY2hhdDpoaXN0b3J5IiwiYXR0YWNobWVudDp1cGxvYWQiLCJhdHRhY2htZW50OmRvd25sb2FkIiwicnRjOnB1Ymxpc2giLCJydGM6c3Vic2NyaWJlIl0sImRpZCI6ImRldi1hbGljZSIsImp0aSI6ImUzYzJjNDEzLWQzZmUtNDZjNi1hYTY2LTAzMzViZjRhOGNkNyIsImlhdCI6MTc4OTk5Nzc4NywibmJmIjoxNzg5OTk3Nzg3LCJleHAiOjE3OTAwMDEzODd9.SIGNATURE_REMOVED",
        "ip": "203.0.113.7",
        "action": "read",
        "path": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
        "protocol": "webrtc",
        "id": "294cdf52-62e4-47b7-bb3d-289f5000f330",
        "query": "",
        "userAgent": "mediamtx"
      },
      "response_status": 200,
      "response_body": null,
      "response_body_text": "allowed",
      "verified": true,
      "verified_against": "test-vm",
      "request_synthetic": false,
      "truncated": false,
      "notes": [
        "Called by the MediaMTX media sidecar, not by clients: the edge refuses /hooks/* like /metrics. MediaMTX reads only the status; the check reads token, action and path. Captured against the backend on the test VM."
      ]
    }
  },
  "ws_frames": {
    "ping": {
      "direction": "client",
      "example": {
        "v": 1,
        "request_id": "6eb71e13-fe76-4e5a-a9c2-6c197c5f1400",
        "type": "ping"
      },
      "verified": true,
      "source": "captured"
    },
    "presence.changed": {
      "direction": "server",
      "example": {
        "v": 1,
        "event_id": 0,
        "type": "presence.changed",
        "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
        "payload": {
          "online": true,
          "principal_id": "bob"
        },
        "occurred_at": "2026-01-15T09:30:13Z"
      },
      "verified": true,
      "source": "captured"
    },
    "ack": {
      "direction": "server",
      "example": {
        "v": 1,
        "type": "ack",
        "request_id": "6eb71e13-fe76-4e5a-a9c2-6c197c5f1400",
        "payload": {
          "type": "pong"
        }
      },
      "verified": true,
      "source": "captured"
    },
    "message.send": {
      "direction": "client",
      "example": {
        "v": 1,
        "request_id": "9e052209-79c3-487b-9a5a-ad43bbceb481",
        "type": "message.send",
        "payload": {
          "client_message_id": "ws-4e21c7",
          "kind": "text",
          "body": {
            "text": "sent over the socket"
          }
        }
      },
      "verified": true,
      "source": "captured"
    },
    "message.created": {
      "direction": "server",
      "example": {
        "event_id": 2315,
        "occurred_at": "2026-01-15T09:30:14Z",
        "payload": {
          "body": {
            "text": "sent over the socket"
          },
          "client_message_id": "ws-4e21c7",
          "created_at": "2026-01-15T09:30:14Z",
          "event_seq": 2315,
          "id": "c8366e3b-a43d-4e20-91ef-567e1287e110",
          "kind": "text",
          "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
          "sender_id": "alice"
        },
        "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
        "type": "message.created",
        "v": 1
      },
      "verified": true,
      "source": "captured"
    },
    "message.edit": {
      "direction": "client",
      "example": {
        "v": 1,
        "request_id": "36bf8624-46f1-40a0-9ead-1b6ad5a1163f",
        "type": "message.edit",
        "payload": {
          "message_id": "c8366e3b-a43d-4e20-91ef-567e1287e110",
          "body": {
            "text": "edited over the socket"
          }
        }
      },
      "verified": true,
      "source": "captured"
    },
    "message.updated": {
      "direction": "server",
      "example": {
        "event_id": 2315,
        "occurred_at": "2026-01-15T09:30:17Z",
        "payload": {
          "body": {
            "text": "edited over the socket"
          },
          "client_message_id": "ws-4e21c7",
          "created_at": "2026-01-15T09:30:14Z",
          "edited_at": "2026-01-15T09:30:17Z",
          "event_seq": 2315,
          "id": "c8366e3b-a43d-4e20-91ef-567e1287e110",
          "kind": "text",
          "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
          "sender_id": "alice"
        },
        "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
        "type": "message.updated",
        "v": 1
      },
      "verified": true,
      "source": "captured"
    },
    "reaction.add": {
      "direction": "client",
      "example": {
        "v": 1,
        "request_id": "d4ac2357-7773-4840-b9ac-f4ebc7978267",
        "type": "reaction.add",
        "payload": {
          "message_id": "c8366e3b-a43d-4e20-91ef-567e1287e110",
          "emoji": "🎉"
        }
      },
      "verified": true,
      "source": "captured"
    },
    "reaction.added": {
      "direction": "server",
      "example": {
        "event_id": 0,
        "occurred_at": "2026-01-15T09:30:19Z",
        "payload": {
          "emoji": "🎉",
          "event_seq": 2315,
          "message_id": "c8366e3b-a43d-4e20-91ef-567e1287e110",
          "principal_id": "bob"
        },
        "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
        "type": "reaction.added",
        "v": 1
      },
      "verified": true,
      "source": "captured"
    },
    "receipt.read": {
      "direction": "client",
      "example": {
        "v": 1,
        "request_id": "fadcd831-d379-493d-be50-222ecbf697e9",
        "type": "receipt.read",
        "payload": {
          "message_id": "c8366e3b-a43d-4e20-91ef-567e1287e110"
        }
      },
      "verified": true,
      "source": "captured"
    },
    "reaction.remove": {
      "direction": "client",
      "example": {
        "v": 1,
        "request_id": "e23fb102-5878-4b14-a637-a6878a202935",
        "type": "reaction.remove",
        "payload": {
          "message_id": "c8366e3b-a43d-4e20-91ef-567e1287e110",
          "emoji": "🎉"
        }
      },
      "verified": true,
      "source": "captured"
    },
    "message.delete": {
      "direction": "client",
      "example": {
        "v": 1,
        "request_id": "4d55f4fa-516c-4ddc-8e08-18719784882d",
        "type": "message.delete",
        "payload": {
          "message_id": "c8366e3b-a43d-4e20-91ef-567e1287e110"
        }
      },
      "verified": true,
      "source": "captured"
    },
    "message.deleted": {
      "direction": "server",
      "example": {
        "event_id": 2315,
        "occurred_at": "2026-01-15T09:30:26Z",
        "payload": {
          "event_seq": 2315,
          "id": "c8366e3b-a43d-4e20-91ef-567e1287e110"
        },
        "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
        "type": "message.deleted",
        "v": 1
      },
      "verified": true,
      "source": "captured"
    },
    "typing.started": {
      "direction": "client",
      "example": {
        "v": 1,
        "request_id": "dc18e5c2-e264-4ead-be79-1f78faf15a54",
        "type": "typing.started"
      },
      "verified": true,
      "source": "captured"
    },
    "typing.stopped": {
      "direction": "client",
      "example": {
        "v": 1,
        "request_id": "5e38f7cd-e6f7-428e-b3ec-1d57d6fc4025",
        "type": "typing.stopped"
      },
      "verified": true,
      "source": "captured"
    },
    "catchup": {
      "direction": "client",
      "example": {
        "v": 1,
        "request_id": "d7f66e06-79d0-4cd8-9f13-6795b4ac692f",
        "type": "catchup",
        "payload": {
          "after_seq": 0,
          "limit": 50
        }
      },
      "verified": true,
      "source": "captured"
    },
    "rtc:offer": {
      "direction": "client",
      "verified": false,
      "source": "schema",
      "example": {
        "cmd": "offer",
        "sdp": {
          "type": "offer",
          "sdp": "v=0\r\no=- 0 0 IN IP4 203.0.113.10\r\n…"
        }
      }
    },
    "rtc:candidate": {
      "direction": "client",
      "verified": false,
      "source": "schema",
      "example": {
        "cmd": "candidate",
        "candidate": {
          "candidate": "candidate:1 1 UDP 2130706431 203.0.113.10 54321 typ host",
          "sdpMid": "0",
          "sdpMLineIndex": 0
        }
      }
    },
    "rtc:leave": {
      "direction": "client",
      "verified": false,
      "source": "schema",
      "example": {
        "cmd": "leave"
      }
    },
    "call.started": {
      "direction": "server",
      "example": {
        "event_id": 0,
        "occurred_at": "2026-01-15T09:30:33Z",
        "payload": {
          "call_id": "6c0db0aa-7c88-410c-bcf1-e0f17cbe0cdf",
          "initiator": "alice"
        },
        "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
        "type": "call.started",
        "v": 1
      },
      "verified": true,
      "source": "captured"
    },
    "call.ended": {
      "direction": "server",
      "example": {
        "event_id": 0,
        "occurred_at": "2026-01-15T09:30:37Z",
        "payload": {
          "call_id": "6c0db0aa-7c88-410c-bcf1-e0f17cbe0cdf",
          "initiator": "alice"
        },
        "room_id": "25964f12-9ae9-4356-80e8-69bc5f749bd1",
        "type": "call.ended",
        "v": 1
      },
      "verified": true,
      "source": "captured"
    },
    "receipt.delivered": {
      "direction": "server",
      "example": {
        "v": 1,
        "event_id": 0,
        "type": "receipt.delivered",
        "room_id": "{room_id}",
        "payload": {
          "principal_id": "bob",
          "message_id": "{message_id}",
          "seq": 12
        },
        "occurred_at": "2026-01-15T09:30:12Z"
      },
      "verified": false,
      "source": "schema"
    },
    "member.added": {
      "direction": "server",
      "example": {
        "v": 1,
        "event_id": 0,
        "type": "member.added",
        "room_id": "{room_id}",
        "payload": {
          "principal_id": "carol",
          "role": "member"
        },
        "occurred_at": "2026-01-15T09:30:14Z"
      },
      "verified": false,
      "source": "schema"
    },
    "member.removed": {
      "direction": "server",
      "example": {
        "v": 1,
        "event_id": 0,
        "type": "member.removed",
        "room_id": "{room_id}",
        "payload": {
          "principal_id": "carol"
        },
        "occurred_at": "2026-01-15T09:30:20Z"
      },
      "verified": false,
      "source": "schema"
    },
    "attachment.ready": {
      "direction": "server",
      "example": {
        "v": 1,
        "event_id": 41,
        "type": "attachment.ready",
        "room_id": "{room_id}",
        "payload": {
          "attachment_id": "{attachment_id}",
          "mime": "image/jpeg",
          "byte_size": 528,
          "has_thumbnail": true
        },
        "occurred_at": "2026-01-15T09:30:22Z"
      },
      "verified": false,
      "source": "schema"
    },
    "resync": {
      "direction": "server",
      "example": {
        "v": 1,
        "event_id": 0,
        "type": "resync",
        "room_id": "{room_id}",
        "payload": {
          "reason": "gap_detected",
          "from_seq": 118
        },
        "occurred_at": "2026-01-15T09:30:30Z"
      },
      "verified": false,
      "source": "schema"
    },
    "pong": {
      "direction": "server",
      "example": {
        "v": 1,
        "event_id": 0,
        "type": "pong",
        "payload": {}
      },
      "verified": false,
      "source": "schema"
    },
    "rtc:answer": {
      "direction": "server",
      "example": {
        "type": "answer",
        "sdp": "v=0\r\no=- 0 0 IN IP4 203.0.113.10\r\n…"
      },
      "verified": false,
      "source": "schema"
    },
    "rtc:offer(server)": {
      "direction": "server",
      "example": {
        "type": "offer",
        "sdp": "v=0\r\no=- 0 0 IN IP4 203.0.113.10\r\n…",
        "request_id": 7
      },
      "verified": false,
      "source": "schema"
    }
  },
  "errors": {
    "unauthorized_missing": {
      "status": 401,
      "body": {
        "code": "unauthorized",
        "message": "unauthorized: missing Authorization header"
      },
      "body_text": null,
      "trigger": "no Authorization header"
    },
    "unauthorized_garbage": {
      "status": 401,
      "body": {
        "code": "unauthorized",
        "message": "unauthorized: invalid token: malformed"
      },
      "body_text": null,
      "trigger": "malformed bearer token"
    },
    "not_found": {
      "status": 404,
      "body": {
        "code": "not_found",
        "message": "not found"
      },
      "body_text": null,
      "trigger": "unknown id — identical to a room in another tenant, deliberately"
    },
    "invalid_request": {
      "status": 422,
      "body": null,
      "body_text": "Failed to deserialize the JSON body into the target type: tenant_id: unknown field `tenant_id`, expected one of `created_by`, `external_ref`, `expires_at`, `e2ee` at line 1 column 33",
      "trigger": "unknown field: the tenant comes from the key, never the body"
    },
    "wrong_plane": {
      "status": 401,
      "body": {
        "code": "unauthorized",
        "message": "unauthorized: malformed API key"
      },
      "body_text": null,
      "trigger": "an as_ account session on the server plane"
    },
    "directory_required": {
      "status": 401,
      "body": {
        "code": "unauthorized",
        "message": "unauthorized: not a directory session token"
      },
      "body_text": null,
      "trigger": "a du_ directory session is required here"
    },
    "hmac_bad_signature": {
      "status": 401,
      "body": {
        "code": "unauthorized",
        "message": "unauthorized: signature mismatch"
      },
      "trigger": "signature does not match the canonical string"
    },
    "hmac_stale": {
      "status": 401,
      "body": {
        "code": "unauthorized",
        "message": "unauthorized: timestamp outside allowed window"
      },
      "trigger": "timestamp outside the 120-second window"
    }
  }
}