Recognitium Envelopes API

The Envelopes API from Recognitium — 6 operation(s) for envelopes.

GitHub OpenAPI

Operations 6

POST /v1/envelopes/prepare Direct Envelope Prepare #
POST /v1/envelopes/seal Direct Envelope Seal #
GET /v1/envelopes Direct Envelope List #
GET /v1/envelopes/{envelope_id} Direct Envelope Get #
POST /v1/envelopes/{envelope_id}/open Direct Envelope Open #
POST /v1/envelopes/{envelope_id}/revoke Direct Envelope Revoke #

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/recognitium-com:recognitium-com-envelopes-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

recognitium-com-envelopes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Recognitium Phase 1 API Middleware Envelopes API
  version: 0.1.0
tags:
- name: Envelopes
paths:
  /v1/envelopes/prepare:
    post:
      summary: Direct Envelope Prepare
      description: 'Prepare a standalone Certified Two-Half MER Envelope from the Web

        Console, MCP, or API: returns envelope_id, seal_at, scope, and Half_B

        derived in RAM (never stored in the database).'
      operationId: direct_envelope_prepare_v1_envelopes_prepare_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PrepareDirectEnvelopeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Envelopes
  /v1/envelopes/seal:
    post:
      summary: Direct Envelope Seal
      description: 'Seal a standalone Certified Two-Half MER Envelope: mints the hash-only

        MER Seal Receipt (T_seal, containing zero message text and zero keys) and

        stores the temporary ciphertext blob until opened or revoked.'
      operationId: direct_envelope_seal_v1_envelopes_seal_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SealEnvelopeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Envelopes
  /v1/envelopes:
    get:
      summary: Direct Envelope List
      description: 'List standalone Certified MER Envelopes sent by, opened by, or

        addressed to this account. Never returns keys or plaintext.'
      operationId: direct_envelope_list_v1_envelopes_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Envelopes
  /v1/envelopes/{envelope_id}:
    get:
      summary: Direct Envelope Get
      description: 'Public verification & Proof-of-Ignorance status of a standalone

        Certified MER Envelope. Returns T_seal, T_open, content_commitment, and

        Proof-of-Ignorance status even before signing in; never returns keys,

        ciphertext, or personal data.'
      operationId: direct_envelope_get_v1_envelopes__envelope_id__get
      parameters:
      - name: envelope_id
        in: path
        required: true
        schema:
          type: string
          title: Envelope Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Envelopes
  /v1/envelopes/{envelope_id}/open:
    post:
      summary: Direct Envelope Open
      description: 'Open a standalone Certified MER Envelope:

        - Enforces recipient email binding if restricted_to_email is true.

        - If the opener has a Second Key (Phone Chain) enabled:

        * When called with {value, next_anchor} (from mobile app), steps the

        phone chain directly.

        * When called from a browser without {ticket, value}, opens a 2-digit

        Phone Chain challenge via second_key.gate(door=''envelope'') and

        returns {status: ''second_key_required'', ticket, number}.

        * When polled with {ticket, client_verifier, browser_verifier}, checks

        second_key.consume_ticket() until the phone approves.

        - Mints the bilateral MER Open Receipt (T_open), re-derives Half_B in

        RAM, and atomically erases (nonce, box, tag = NULL) from PostgreSQL.'
      operationId: direct_envelope_open_v1_envelopes__envelope_id__open_post
      parameters:
      - name: envelope_id
        in: path
        required: true
        schema:
          type: string
          title: Envelope Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OpenEnvelopeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Envelopes
  /v1/envelopes/{envelope_id}/revoke:
    post:
      summary: Direct Envelope Revoke
      description: 'Sender revokes an unopened standalone Certified MER Envelope before

        T_open: seals a revocation receipt and erases the ciphertext blob so

        Half_B is never released.'
      operationId: direct_envelope_revoke_v1_envelopes__envelope_id__revoke_post
      parameters:
      - name: envelope_id
        in: path
        required: true
        schema:
          type: string
          title: Envelope Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Envelopes
components:
  schemas:
    OpenEnvelopeRequest:
      properties:
        value:
          anyOf:
          - type: string
          - type: 'null'
          title: Value
          default: ''
        next_anchor:
          anyOf:
          - type: string
          - type: 'null'
          title: Next Anchor
          default: ''
        ticket:
          anyOf:
          - type: string
          - type: 'null'
          title: Ticket
          default: ''
        client_challenge:
          anyOf:
          - type: string
          - type: 'null'
          title: Client Challenge
          default: ''
        client_verifier:
          anyOf:
          - type: string
          - type: 'null'
          title: Client Verifier
          default: ''
        browser_commitment:
          anyOf:
          - type: string
          - type: 'null'
          title: Browser Commitment
          default: ''
        browser_verifier:
          anyOf:
          - type: string
          - type: 'null'
          title: Browser Verifier
          default: ''
      type: object
      title: OpenEnvelopeRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PrepareDirectEnvelopeRequest:
      properties:
        recipient_email:
          anyOf:
          - type: string
          - type: 'null'
          title: Recipient Email
          default: ''
        not_before_at:
          anyOf:
          - type: integer
          - type: 'null'
          title: Not Before At
        not_after_at:
          anyOf:
          - type: integer
          - type: 'null'
          title: Not After At
      type: object
      title: PrepareDirectEnvelopeRequest
    SealEnvelopeRequest:
      properties:
        envelope_id:
          type: string
          title: Envelope Id
        seal_at:
          type: integer
          title: Seal At
        seed_fp:
          anyOf:
          - type: string
          - type: 'null'
          title: Seed Fp
          default: ''
        content_commitment:
          type: string
          title: Content Commitment
        nonce:
          type: string
          title: Nonce
        box:
          type: string
          title: Box
        tag:
          type: string
          title: Tag
        recipient_email:
          anyOf:
          - type: string
          - type: 'null'
          title: Recipient Email
          default: ''
        value:
          anyOf:
          - type: string
          - type: 'null'
          title: Value
          default: ''
        next_anchor:
          anyOf:
          - type: string
          - type: 'null'
          title: Next Anchor
          default: ''
        not_before_at:
          anyOf:
          - type: integer
          - type: 'null'
          title: Not Before At
        not_after_at:
          anyOf:
          - type: integer
          - type: 'null'
          title: Not After At
      type: object
      required:
      - envelope_id
      - seal_at
      - content_commitment
      - nonce
      - box
      - tag
      title: SealEnvelopeRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError