> ## Documentation Index
> Fetch the complete documentation index at: https://docs.signsealship.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Seal a passport version

> Mint the next Closing Passport version for a room — a dated, hash-chained, KMS-sealed snapshot, never an overwrite. Capped at 20 versions per room. Requires your partner key; the room must be yours.



## OpenAPI

````yaml /api-reference/openapi.json post /api/rooms/{roomCode}/passport
openapi: 3.1.0
info:
  title: SignSealShip Partner API
  version: 1.0.0
  description: >-
    The SignSealShip partner API: create Verified Closing Rooms, seal Closing
    Passports and Proof Passports, and manage webhooks. Partner endpoints
    authenticate with a bearer key (`Authorization: Bearer sss_pk_...`); public
    verification endpoints need no key — possession of the verify, room, or
    order code is the authorization. See the Guides for full prose, rate limits,
    and signature verification.
  contact:
    name: SignSealShip
    url: https://signsealship.com/partner
servers:
  - url: https://signsealship.com
    description: Production
security:
  - partnerKey: []
tags:
  - name: Onboarding
    description: Request partner API access.
  - name: Closing Rooms
    description: Verified Closing Rooms — one shareable page per transaction.
  - name: Closing Passports
    description: Room-level, hash-chained, KMS-sealed evidence manifests.
  - name: Proof Passport
    description: Seal and verify a single executed PDF.
  - name: Webhooks
    description: Signed event delivery and subscription management.
paths:
  /api/rooms/{roomCode}/passport:
    post:
      tags:
        - Closing Passports
      summary: Seal a passport version
      description: >-
        Mint the next Closing Passport version for a room — a dated,
        hash-chained, KMS-sealed snapshot, never an overwrite. Capped at 20
        versions per room. Requires your partner key; the room must be yours.
      parameters:
        - $ref: '#/components/parameters/RoomCode'
      responses:
        '200':
          description: Passport version sealed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PassportSealResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    RoomCode:
      name: roomCode
      in: path
      required: true
      schema:
        type: string
      description: >-
        The room's bearer code (40 lowercase hex characters; the read endpoint
        accepts 24–64).
  schemas:
    PassportSealResponse:
      type: object
      properties:
        version:
          type: integer
          description: The new version number, incrementing per room.
        verifyCode:
          type: string
          description: 26 lowercase base32 characters (128 bits).
        verifyUrl:
          type: string
          description: '`/v/room/{verifyCode}`.'
        manifestSha256:
          type: string
        prevManifestSha256:
          type:
            - string
            - 'null'
          description: >-
            The prior version's manifestSha256 — the hash-chain link. `null` on
            version 1.
        sealedSha256:
          type: string
        createdAt:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: string
  responses:
    BadRequest:
      description: Invalid request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing, malformed, revoked, or unknown partner key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: A valid partner API key is required.
    NotFound:
      description: Not found. Unknown codes read as a generic not-found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    partnerKey:
      type: http
      scheme: bearer
      bearerFormat: sss_pk_...
      description: 'Partner API key. Send as `Authorization: Bearer sss_pk_...`.'

````