Vicem Receipts API

Signed caller receipts and published Ledger verification keys (D3).

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET /v1/public/receipts/{id} Receipt #
POST /v1/public/receipts/{id}/confirm Confirm receipt #
GET /v1/public/ledger-keys Ledger keys #

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/vicem-ai:vicem-ai-receipts-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

vicem-ai-receipts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vicem Receipts API
  version: 7c4384d
  description: 'The HTTP API behind the Vicem owner app, the public profile pages and provider webhooks.


    Generated at runtime from the zod route table in `packages/api-contract` (the same schemas the

    server validates requests and responses with), so this document cannot drift from the code.


    **Auth.** Owner routes take an Identity Platform ID token: `Authorization: Bearer `.

    Personal API keys (`vk_…`, Settings › More › Connect other apps) use the same header on their routes.

    Public routes need nothing and are rate limited per IP (429 when over). Webhooks are verified by provider signature.


    **Errors.** Every error uses one envelope: `{"error": {"code", "message", "lang?", "details?"}}`.

    `lang` names the language `message` is written in for people; with no `lang`, `message` is a log line:

    branch on `code`, never on `message`. Validation failures are 400 with `details` listing each failing path.


    **Health.** `GET /healthz` reports version, active fakes and the voice heartbeat age; `GET /readyz` is 200 while the instance can serve, else 503.'
servers:
- url: https://api.vicem.ai
tags:
- name: Receipts
  description: Signed caller receipts and published Ledger verification keys (D3).
paths:
  /v1/public/receipts/{id}:
    get:
      operationId: receipt
      summary: Receipt
      tags:
      - Receipts
      security: []
      x-vicem-auth: none
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: t
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 200
      - name: lang
        in: query
        required: false
        schema:
          type: string
          maxLength: 16
          pattern: ^[a-z]{2,3}(?:-[A-Za-z0-9]{1,8})*$
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptRes'
        '400':
          $ref: '#/components/responses/BadRequest'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
  /v1/public/receipts/{id}/confirm:
    post:
      operationId: confirmReceipt
      summary: Confirm receipt
      tags:
      - Receipts
      security: []
      x-vicem-auth: none
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfirmReceiptReq'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConfirmReceiptRes'
        '400':
          $ref: '#/components/responses/BadRequest'
        '404':
          $ref: '#/components/responses/NotFound'
        '413':
          $ref: '#/components/responses/PayloadTooLarge'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
  /v1/public/ledger-keys:
    get:
      operationId: ledgerKeys
      summary: Ledger keys
      tags:
      - Receipts
      security: []
      x-vicem-auth: none
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LedgerKeys'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    PublishedKey:
      type: object
      properties:
        kid:
          type: string
          minLength: 1
          maxLength: 64
        spkiBase64:
          type: string
          minLength: 1
          maxLength: 200
        notBefore:
          type: string
          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|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
        notAfter:
          type: string
          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|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
      required:
      - kid
      - spkiBase64
      additionalProperties: false
    ReceiptToken:
      type: string
      minLength: 1
      maxLength: 200
    ConfirmReceiptRes:
      type: object
      properties:
        status:
          type: string
          const: confirmed
      required:
      - status
      additionalProperties: false
    ReceiptRes:
      anyOf:
      - $ref: '#/components/schemas/ReceiptBundle'
      - $ref: '#/components/schemas/TrackerView'
    ReceiptDid:
      type: object
      properties:
        kind:
          type: string
          enum:
          - called_back
          - replied
          - booked
          - done
        at:
          type: string
          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|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
      required:
      - kind
      - at
      additionalProperties: false
    LedgerKeys:
      type: object
      properties:
        keys:
          type: array
          items:
            $ref: '#/components/schemas/PublishedKey'
      required:
      - keys
      additionalProperties: false
    TrackerView:
      type: object
      properties:
        kind:
          type: string
          const: tracker
        ownerDisplayName:
          type: string
          maxLength: 80
        ownerHandle:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
        businessName:
          anyOf:
          - type: string
            maxLength: 60
          - type: 'null'
        status:
          $ref: '#/components/schemas/ReceiptStatus'
        replyPromise:
          anyOf:
          - type: string
            maxLength: 300
          - type: 'null'
      required:
      - kind
      - ownerDisplayName
      - ownerHandle
      - status
      additionalProperties: false
    ReceiptStatus:
      type: object
      properties:
        deliveredAt:
          type: string
          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|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
        seenAt:
          anyOf:
          - type: string
            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|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
          - type: 'null'
        repliedAt:
          anyOf:
          - type: string
            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|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
          - type: 'null'
        replyText:
          anyOf:
          - type: string
            maxLength: 4000
          - type: 'null'
        did:
          anyOf:
          - $ref: '#/components/schemas/ReceiptDid'
          - type: 'null'
      required:
      - deliveredAt
      - seenAt
      - repliedAt
      - replyText
      additionalProperties: false
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            lang:
              type: string
            details: {}
          required:
          - code
          - message
          additionalProperties: false
      required:
      - error
      additionalProperties: false
    VerifiableRecord:
      type: object
      properties:
        '@context':
          type: array
          items:
            type: string
        type:
          type: array
          items:
            type: string
        id:
          type: string
        issuer:
          type: string
        validFrom:
          type: string
          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|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
        credentialSubject:
          type: object
          properties:
            id:
              type: string
            kind:
              type: string
            seq:
              type: integer
              minimum: 1
              maximum: 9007199254740991
            interactionId:
              type:
              - string
              - 'null'
            payload: {}
            payloadHash:
              type: string
              pattern: ^[0-9a-f]{64}$
          required:
          - id
          - kind
          - seq
          - interactionId
          - payload
          - payloadHash
          additionalProperties: false
        proof:
          type: object
          properties:
            type:
              type: string
              const: DataIntegrityProof
            cryptosuite:
              type: string
            verificationMethod:
              type: string
            proofValue:
              type: string
            entryHash:
              type: string
              pattern: ^[0-9a-f]{64}$
            prevHash:
              type: string
              pattern: ^[0-9a-f]{64}$
          required:
          - type
          - cryptosuite
          - verificationMethod
          - proofValue
          - entryHash
          - prevHash
          additionalProperties: false
      required:
      - '@context'
      - type
      - id
      - issuer
      - validFrom
      - credentialSubject
      - proof
      additionalProperties: false
    ConfirmReceiptReq:
      type: object
      properties:
        token:
          $ref: '#/components/schemas/ReceiptToken'
      required:
      - token
    HashInputs:
      type: object
      properties:
        v:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        id:
          type: string
        ownerId:
          type: string
        seq:
          type: integer
          minimum: 1
          maximum: 9007199254740991
        kind:
          type: string
        payloadHash:
          type: string
          pattern: ^[0-9a-f]{64}$
        prevHash:
          type: string
          pattern: ^[0-9a-f]{64}$
        interactionId:
          type:
          - string
          - 'null'
        createdAt:
          type: string
          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|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
      required:
      - v
      - id
      - ownerId
      - seq
      - kind
      - payloadHash
      - prevHash
      - interactionId
      - createdAt
      additionalProperties: false
    ReceiptBundle:
      type: object
      properties:
        message:
          $ref: '#/components/schemas/VerifiableRecord'
        receipt:
          $ref: '#/components/schemas/VerifiableRecord'
        hashInputs:
          $ref: '#/components/schemas/HashInputs'
        publicKey:
          $ref: '#/components/schemas/PublishedKey'
        receiptPublicKey:
          $ref: '#/components/schemas/PublishedKey'
        ownerDisplayName:
          type: string
          maxLength: 80
        replyPromise:
          anyOf:
          - type: string
            maxLength: 300
          - type: 'null'
        ownerHandle:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
        businessName:
          anyOf:
          - type: string
            maxLength: 60
          - type: 'null'
        status:
          $ref: '#/components/schemas/ReceiptStatus'
      required:
      - message
      - receipt
      - hashInputs
      - publicKey
      - receiptPublicKey
      - ownerDisplayName
      additionalProperties: false
  responses:
    PayloadTooLarge:
      description: Body over the limit (64 KB; 512 KB for contact import).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    NotFound:
      description: No such resource, or not visible to this caller.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    RateLimited:
      description: Too many requests from this caller; wait and try again.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    BadRequest:
      description: Invalid request (body not JSON, or schema validation failed).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    InternalError:
      description: Unexpected server error (reported to Sentry).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    ownerBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Identity Platform (Firebase Auth) ID token of the signed-in owner.
    personalApiKey:
      type: http
      scheme: bearer
      description: 'Personal API key (vk_…) made in Settings › More › Connect other apps. Read scope: inbox, contacts, bookings. Write scope: notes, disposed by the Mandate engine.'