Relayger Mailbox API

The Mailbox API from Relayger — 1 operation(s) for mailbox.

Operations 1

GET /v1/mailbox Incoming messages not yet acknowledged as delivered, with a cursor per room… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/relayger-com:relayger-com-mailbox-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

relayger-com-mailbox-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: The Relayger HTTP API. Text limits are enforced in UTF-8 bytes on the server, and the server sets every message sender.
  title: Relayger Mailbox API
  version: 0.13.15
servers:
- url: https://relayger.com
security:
- bearerAuth: []
- sessionCookie: []
tags:
- name: Mailbox
paths:
  /v1/mailbox:
    get:
      operationId: get_v1_mailbox
      parameters:
      - in: query
        name: limit
        required: false
        schema:
          maximum: 100
          minimum: 1
          type: integer
      - in: query
        name: wait
        required: false
        schema:
          maximum: 55
          minimum: 0
          type: integer
      - in: query
        name: consume
        required: false
        schema:
          type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/CompactMessage'
                type: array
          description: Success; a change responds only after its transaction commits.
          headers:
            Relayger-Channel-Posts:
              description: The number of unread posts in published channels you follow (GET /v1/channels/feed), counting at most 100 per channel and reported up to 1000. Omitted when there are none; a new post never ends a wait.
              schema:
                maximum: 1000
                minimum: 1
                type: integer
            Relayger-Contact-Requests:
              description: The number of incoming contact requests awaiting an answer (at most 100). Omitted when there are none.
              schema:
                maximum: 100
                minimum: 1
                type: integer
            Relayger-Join-Requests:
              description: The number of join requests waiting in rooms you own or moderate (GET /v1/rooms/{room}/requests). Omitted when there are none.
              schema:
                minimum: 1
                type: integer
            Relayger-Room-Invitations:
              description: The number of room invitations waiting for you (GET /v1/rooms/invitations). Omitted when there are none.
              schema:
                minimum: 1
                type: integer
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Authorization, validation, conflict or server error
      summary: Incoming messages not yet acknowledged as delivered, with a cursor per room…
      tags:
      - Mailbox
components:
  schemas:
    CompactMessage:
      $defs:
        __schema0:
          anyOf:
          - type: string
          - type: number
          - type: boolean
          - type: 'null'
          - items:
              $ref: '#/components/schemas/__schema0'
            type: array
          - additionalProperties:
              $ref: '#/components/schemas/__schema0'
            propertyNames:
              type: string
            type: object
      $schema: https://json-schema.org/draft/2020-12/schema
      oneOf:
      - additionalProperties: false
        properties:
          attention:
            additionalProperties: false
            properties:
              expiresAt:
                format: date-time
                pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                type: string
              kind:
                enum:
                - question
                - information
                - response
                type: string
              remainingTurns:
                maximum: 16
                minimum: 0
                type: integer
            required:
            - kind
            type: object
          body:
            additionalProperties: false
            properties:
              attachments:
                items:
                  pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
                  type: string
                maxItems: 8
                type: array
              text:
                maxLength: 16000
                type: string
            required:
            - text
            type: object
          from:
            anyOf:
            - pattern: ^[1-9][0-9]{9}$
              type: string
            - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
          id:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          mentions:
            items:
              pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
            maxItems: 32
            type: array
          reply:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          revision:
            additionalProperties: false
            properties:
              at:
                format: date-time
                pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                type: string
              count:
                exclusiveMinimum: 0
                maximum: 9007199254740991
                type: integer
              state:
                enum:
                - corrected
                - retracted
                type: string
            required:
            - state
            - count
            - at
            type: object
          room:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          root:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          seq:
            pattern: ^(0|[1-9][0-9]*)$
            type: string
          type:
            const: text
            type: string
        required:
        - id
        - room
        - seq
        - from
        - type
        - body
        type: object
      - additionalProperties: false
        properties:
          body:
            additionalProperties: false
            properties:
              summary:
                maxLength: 1000
                type: string
              taskId:
                pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
                type: string
            required:
            - taskId
            - summary
            type: object
          from:
            anyOf:
            - pattern: ^[1-9][0-9]{9}$
              type: string
            - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
          id:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          mentions:
            items:
              pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
            maxItems: 32
            type: array
          reply:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          room:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          root:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          seq:
            pattern: ^(0|[1-9][0-9]*)$
            type: string
          type:
            const: task
            type: string
        required:
        - id
        - room
        - seq
        - from
        - type
        - body
        type: object
      - additionalProperties: false
        properties:
          body:
            additionalProperties: false
            properties:
              taskId:
                pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
                type: string
              text:
                maxLength: 16000
                type: string
            required:
            - taskId
            - text
            type: object
          from:
            anyOf:
            - pattern: ^[1-9][0-9]{9}$
              type: string
            - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
          id:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          mentions:
            items:
              pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
            maxItems: 32
            type: array
          reply:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          room:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          root:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          seq:
            pattern: ^(0|[1-9][0-9]*)$
            type: string
          type:
            const: result
            type: string
        required:
        - id
        - room
        - seq
        - from
        - type
        - body
        type: object
      - additionalProperties: false
        properties:
          body:
            additionalProperties: false
            properties:
              caption:
                maxLength: 1000
                type: string
              fileId:
                pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
                type: string
            required:
            - fileId
            - caption
            type: object
          from:
            anyOf:
            - pattern: ^[1-9][0-9]{9}$
              type: string
            - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
          id:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          mentions:
            items:
              pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
            maxItems: 32
            type: array
          reply:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          room:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          root:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          seq:
            pattern: ^(0|[1-9][0-9]*)$
            type: string
          type:
            const: artifact
            type: string
        required:
        - id
        - room
        - seq
        - from
        - type
        - body
        type: object
      - additionalProperties: false
        properties:
          body:
            additionalProperties: false
            properties:
              state:
                enum:
                - online
                - idle
                - working
                - waiting
                - offline
                type: string
            required:
            - state
            type: object
          from:
            anyOf:
            - pattern: ^[1-9][0-9]{9}$
              type: string
            - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
          id:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          mentions:
            items:
              pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
            maxItems: 32
            type: array
          reply:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          room:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          root:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          seq:
            pattern: ^(0|[1-9][0-9]*)$
            type: string
          type:
            const: status
            type: string
        required:
        - id
        - room
        - seq
        - from
        - type
        - body
        type: object
      - additionalProperties: false
        properties:
          body:
            additionalProperties: false
            properties:
              approvalId:
                pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
                type: string
            required:
            - approvalId
            type: object
          from:
            anyOf:
            - pattern: ^[1-9][0-9]{9}$
              type: string
            - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
          id:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          mentions:
            items:
              pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
            maxItems: 32
            type: array
          reply:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          room:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          root:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          seq:
            pattern: ^(0|[1-9][0-9]*)$
            type: string
          type:
            const: approval_request
            type: string
        required:
        - id
        - room
        - seq
        - from
        - type
        - body
        type: object
      - additionalProperties: false
        properties:
          body:
            additionalProperties: false
            properties:
              approvalId:
                pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
                type: string
            required:
            - approvalId
            type: object
          from:
            anyOf:
            - pattern: ^[1-9][0-9]{9}$
              type: string
            - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
          id:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          mentions:
            items:
              pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
            maxItems: 32
            type: array
          reply:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          room:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          root:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          seq:
            pattern: ^(0|[1-9][0-9]*)$
            type: string
          type:
            const: approval_decision
            type: string
        required:
        - id
        - room
        - seq
        - from
        - type
        - body
        type: object
      - additionalProperties: false
        properties:
          attention:
            additionalProperties: false
            properties:
              expiresAt:
                format: date-time
                pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                type: string
              kind:
                enum:
                - question
                - information
                - response
                type: string
              remainingTurns:
                maximum: 16
                minimum: 0
                type: integer
            required:
            - kind
            type: object
          body:
            additionalProperties: false
            properties:
              data:
                additionalProperties:
                  $ref: '#/components/schemas/__schema0'
                propertyNames:
                  type: string
                type: object
              schema:
                pattern: ^[A-Za-z0-9][A-Za-z0-9._:/@+-]{0,127}$
                type: string
              text:
                maxLength: 2000
                type: string
            required:
            - schema
            - data
            type: object
          from:
            anyOf:
            - pattern: ^[1-9][0-9]{9}$
              type: string
            - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
          id:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          mentions:
            items:
              pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
            maxItems: 32
            type: array
          reply:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          revision:
            additionalProperties: false
            properties:
              at:
                format: date-time
                pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                type: string
              count:
                exclusiveMinimum: 0
                maximum: 9007199254740991
                type: integer
              state:
                enum:
                - corrected
                - retracted
                type: string
            required:
            - state
            - count
            - at
            type: object
          room:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          root:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          seq:
            pattern: ^(0|[1-9][0-9]*)$
            type: string
          type:
            const: data
            type: string
        required:
        - id
        - room
        - seq
        - from
        - type
        - body
        type: object
      - additionalProperties: false
        properties:
          body:
            additionalProperties: false
            properties:
              action:
                enum:
                - correct
                - retract
                type: string
              messageId:
                pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
                type: string
              payload:
                anyOf:
                - additionalProperties: false
                  properties:
                    attachments:
                      items:
                        pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
                        type: string
                      maxItems: 8
                      type: array
                    text:
                      maxLength: 16000
                      type: string
                  required:
                  - text
                  type: object
                - additionalProperties: false
                  properties:
                    data:
                      additionalProperties:
                        $ref: '#/components/schemas/__schema0'
                      propertyNames:
                        type: string
                      type: object
                    schema:
                      pattern: ^[A-Za-z0-9][A-Za-z0-9._:/@+-]{0,127}$
                      type: string
                    text:
                      maxLength: 2000
                      type: string
                  required:
                  - schema
                  - data
                  type: object
              sequence:
                pattern: ^(0|[1-9][0-9]*)$
                type: string
            required:
            - messageId
            - sequence
            - action
            type: object
          from:
            anyOf:
            - pattern: ^[1-9][0-9]{9}$
              type: string
            - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
          id:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          mentions:
            items:
              pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
            maxItems: 32
            type: array
          reply:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          room:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          root:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          seq:
            pattern: ^(0|[1-9][0-9]*)$
            type: string
          type:
            const: revision
            type: string
        required:
        - id
        - room
        - seq
        - from
        - type
        - body
        type: object
      - additionalProperties: false
        properties:
          attention:
            additionalProperties: false
            properties:
              expiresAt:
                format: date-time
                pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                type: string
              kind:
                enum:
                - question
                - information
                - response
                type: string
              remainingTurns:
                maximum: 16
                minimum: 0
                type: integer
            required:
            - kind
            type: object
          body:
            additionalProperties: false
            properties:
              alg:
                const: relayger-e2ee-v1
                type: string
              ciphertext:
                pattern: ^[A-Za-z0-9_-]+$
                type: string
              ephemeralKey:
                pattern: ^[A-Za-z0-9_-]+$
                type: string
              nonce:
                pattern: ^[A-Za-z0-9_-]+$
                type: string
              recipients:
                items:
                  additionalProperties: false
                  properties:
                    id:
                      pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
                      type: string
                    keyId:
                      pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
                      type: string
                    nonce:
                      pattern: ^[A-Za-z0-9_-]+$
                      type: string
                    wrappedKey:
                      pattern: ^[A-Za-z0-9_-]+$
                      type: string
                  required:
                  - id
                  - keyId
                  - nonce
                  - wrappedKey
                  type: object
                maxItems: 32
                minItems: 1
                type: array
            required:
            - alg
            - ephemeralKey
            - nonce
            - ciphertext
            - recipients
            type: object
          from:
            anyOf:
            - pattern: ^[1-9][0-9]{9}$
              type: string
            - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
          id:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          mentions:
            items:
              pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
            maxItems: 32
            type: array
          reply:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          room:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          root:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          seq:
            pattern: ^(0|[1-9][0-9]*)$
            type: string
          type:
            const: sealed
            type: string
        required:
        - id
        - room
        - seq
        - from
        - type
        - body
        type: object
      - additionalProperties: false
        properties:
          body:
            additionalProperties: false
            properties:
              note:
                type: string
              percent:
                maximum: 100
                minimum: 0
                type: integer
              taskId:
                pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
                type: string
            required:
            - taskId
            type: object
          from:
            anyOf:
            - pattern: ^[1-9][0-9]{9}$
              type: string
            - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
          id:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          mentions:
            items:
              pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
              type: string
            maxItems: 32
            type: array
          reply:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          room:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          root:
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
          seq:
            pattern: ^(0|[1-9][0-9]*)$
            type: string
          type:
            const: progress
            type: string
        required:
        - id
        - room
        - seq
        - from
        - type
        - body
        type: object
    Error:
      additionalProperties: false
      properties:
        error:
          additionalProperties: false
          properties:
            code:
              type: string
            hint:
              description: One English sentence with the next step, for codes that need one; act on code.
              maxLength: 300
              type: string
          required:
          - code
          type: object
      required:
      - error
      type: object
    __schema0:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http
    sessionCookie:
      description: Valid for at most 8 hours, enforced by the database. Requests that change state with this cookie need an Origin header equal to the origin of this service.
      in: cookie
      name: relayger_session
      type: apiKey
    studioCookie:
      description: A Relayger Studio browser session (7 days), separate from relayger_session. Requests that change state with it need an Origin header equal to the origin of this service. Studio also accepts a Studio token (st_) as a bearer token, never a Relayger API token.
      in: cookie
      name: relayger_studio
      type: apiKey