WritersLogic Verifiable AI Agent Hub Receipts API

Permanent public hosting of process-attestation receipts (CPoE evidence packets)

GitHub OpenAPI

Operations 5

PUT /v1/receipts Host a receipt at a permanent public URL #
GET /v1/receipts List the caller's hosted receipts #
DELETE /v1/receipts/{sha256} Remove a hosted receipt #
GET /v1/profile/{userId}/receipts List the receipts on a public profile #
GET /v1/profile/{userId}/receipts/{file} Download a hosted receipt #

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/writerslogic-com:writerslogic-com-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

writerslogic-com-receipts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WritersProof Receipts API
  version: 1.0.0
  description: Certificate Authority and verification API for the Proof-of-Effort protocol. Certify, verify, and prove human authorship.
  contact:
    name: WritersLogic LLC
    url: https://writersproof.com
  license:
    name: SSPL-1.0
    url: https://www.mongodb.com/licensing/server-side-public-license
servers:
- url: https://api.writersproof.com
  description: Production
- url: https://api.writerslogic.com
  description: Legacy
tags:
- name: Receipts
  description: Permanent public hosting of process-attestation receipts (CPoE evidence packets)
paths:
  /v1/receipts:
    put:
      tags:
      - Receipts
      operationId: putReceipt
      summary: Host a receipt at a permanent public URL
      description: 'Send the raw packet bytes with `Content-Type: application/cpoe+cbor` (at most 8 MiB). The packet is verified, then stored unmodified under its SHA-256, so `digestMultibase` over the served bytes equals a digest the caller can compute before uploading. Idempotent: the same bytes return 200 with the same URL. Uploading is the consent to serve the file publicly; it does not depend on the public profile setting. An account holds at most 500 receipts.'
      security:
      - bearerAuth: []
      - apiKeyAuth: []
      requestBody:
        required: true
        content:
          application/cpoe+cbor:
            schema:
              type: string
              format: binary
      responses:
        '200':
          description: Receipt hosted (first upload or repeat)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptHosted'
        '400':
          description: Empty body
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptError'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '409':
          description: The account already hosts 500 receipts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptError'
        '413':
          description: Body larger than the limit
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptError'
        '415':
          description: Content-Type is not application/cpoe+cbor
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptError'
        '422':
          description: The bytes are not a valid CPoE packet; branch on `code`
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptError'
        '500':
          description: The receipt store could not be reached
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptError'
    get:
      tags:
      - Receipts
      operationId: listOwnReceipts
      summary: List the caller's hosted receipts
      description: Newest first, at most 500. Unlike the public list this does not depend on the public profile setting, so an author can find (and remove) every receipt they have published.
      security:
      - bearerAuth: []
      - apiKeyAuth: []
      responses:
        '200':
          description: The caller’s receipts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptList'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          description: The receipt store could not be reached
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptError'
  /v1/receipts/{sha256}:
    delete:
      tags:
      - Receipts
      operationId: deleteReceipt
      summary: Remove a hosted receipt
      description: 'Owner only: the object key is built from the caller’s own account, so another account’s receipt cannot be reached. Idempotent; removing an absent receipt is 204.'
      security:
      - bearerAuth: []
      - apiKeyAuth: []
      parameters:
      - name: sha256
        in: path
        required: true
        schema:
          type: string
          pattern: ^[0-9a-f]{64}$
      responses:
        '204':
          description: Receipt removed, or already absent
        '400':
          description: Malformed hash
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptError'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          description: The receipt store could not be reached
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptError'
  /v1/profile/{userId}/receipts:
    get:
      tags:
      - Receipts
      operationId: listPublicReceipts
      summary: List the receipts on a public profile
      description: Newest first, at most 500. 404 unless the author has enabled their public profile; a receipt is still downloadable by URL either way.
      security: []
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: The author’s hosted receipts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptList'
        '400':
          description: Malformed user id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptError'
        '404':
          description: Profile not found or not public
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptError'
        '503':
          description: The profile could not be checked
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptError'
  /v1/profile/{userId}/receipts/{file}:
    get:
      tags:
      - Receipts
      operationId: getReceipt
      summary: Download a hosted receipt
      description: The exact bytes that were uploaded, immutable and cacheable for a year. The file name is the lowercase hex SHA-256 of the bytes plus `.cpoe`; the ETag is the same digest.
      security: []
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: file
        in: path
        required: true
        schema:
          type: string
          pattern: ^[0-9a-f]{64}\.cpoe$
      responses:
        '200':
          description: The receipt
          content:
            application/cpoe+cbor:
              schema:
                type: string
                format: binary
        '400':
          description: Malformed user id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptError'
        '404':
          description: No such receipt
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptError'
        '500':
          description: The receipt store could not be reached
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptError'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
      required:
      - error
    ReceiptList:
      type: object
      properties:
        receipts:
          type: array
          maxItems: 500
          items:
            type: object
            properties:
              sha256:
                type: string
                pattern: ^[0-9a-f]{64}$
              url:
                type: string
                format: uri
              bytes:
                type: integer
                minimum: 0
              uploadedAt:
                type: string
                format: date-time
            required:
            - sha256
            - url
            - bytes
            - uploadedAt
      required:
      - receipts
    ReceiptError:
      type: object
      description: The `error` string is fixed guidance safe to show a user; verifier diagnostics never reach it. Branch on `code`.
      properties:
        error:
          type: string
        requestId:
          type: string
        code:
          type: string
          enum:
          - unsupported_media_type
          - empty_body
          - payload_too_large
          - receipt_limit_reached
          - invalid_user_id
          - invalid_receipt_hash
          - receipt_not_found
          - profile_not_public
          - profile_lookup_failed
          - receipt_store_unavailable
          - invalid_evidence
          - malformed_evidence
          - unsigned_evidence
          - invalid_evidence_signature
          - invalid_checkpoint_count
          - invalid_checkpoint_chain
          - missing_recording_proof
          - invalid_checkpoint_timestamps
          - unsupported_evidence_profile
      required:
      - error
      - code
    ReceiptHosted:
      type: object
      properties:
        url:
          type: string
          format: uri
          description: Permanent public URL serving exactly the uploaded bytes
        sha256:
          type: string
          pattern: ^[0-9a-f]{64}$
        bytes:
          type: integer
          minimum: 1
      required:
      - url
      - sha256
      - bytes
  responses:
    Unauthorized:
      description: Authentication required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Supabase JWT token
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key with wp_sk_ prefix