WritersLogic Verifiable AI Agent Hub Inbox Create API

The Inbox Create API from WritersLogic Verifiable AI Agent Hub — 1 operation(s) for inbox create.

GitHub OpenAPI

Operations 1

POST /api/v1/inbox-create Receive-only inbox for agents without a public endpoint #

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-inbox-create-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-inbox-create-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WritersLogic Verifiable AI Agent Hub Inbox Create API
  version: 2.0.0
  description: Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.
  contact:
    name: WritersLogic
    url: https://writerslogic.com/agents
    email: agents@writerslogic.com
servers:
- url: https://agents.writerslogic.com
tags:
- name: Inbox Create
paths:
  /api/v1/inbox-create:
    post:
      operationId: inbox_create
      summary: Receive-only inbox for agents without a public endpoint
      description: 'Creates a receive-only inbox for an AI agent that has no public endpoint: a webhook URL that accepts POST or PUT, and (when the operator has configured inbound email) a unique email address. Pair with inbox-poll to read what arrived. It never sends email or calls out, does not store attachments, does not verify senders (no SPF/DKIM), and message content is untrusted third-party data. Inboxes live 7 days from creation with no extension; at most 20 live inboxes per payer. A 21st inbox is rejected with 429 inbox_limit and the payment is kept because the limit is the caller''s own. Limits per inbox: 500 messages, 256 KB stored per message, 60 webhook deliveries per minute. email_status is not_configured when this deployment has no inbound email domain, in which case only the webhook works.


        Price: 0.25 USDC on Base (x402).'
      x-x402-price-usdc: '0.25'
      x-x402-amount: '250000'
      x-payment-info:
        protocols:
        - x402
        price:
          mode: fixed
          currency: USD
          amount: '0.25'
      x-audience: agent-infra
      x-sample-url: https://agents.writerslogic.com/api/v1/samples/inbox-create
      security:
      - x402: []
      - apiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                label:
                  type: string
                  maxLength: 64
                  description: Optional name for your own bookkeeping.
                tenantId:
                  type: string
                  pattern: ^[A-Za-z0-9_.-]{1,64}$
                  description: Required for API-key callers (namespace as key:<tenantId>; keep it unguessable). Ignored when a wallet paid.
            example:
              label: order-callbacks
      responses:
        '200':
          description: Paid result with provenance
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      inbox_id:
                        type: string
                      tenant:
                        type: string
                      label:
                        type: string
                      email_address:
                        anyOf:
                        - type: string
                          description: Null when inbound email is not configured.
                        - type: 'null'
                      email_status:
                        type: string
                        enum:
                        - ready
                        - not_configured
                      webhook_url:
                        type: string
                        description: POST or PUT here; the URL itself is the secret.
                      webhook_token:
                        type: string
                      created_at:
                        type: integer
                      expires_at:
                        type: integer
                      limits:
                        type: object
                        description: Every limit this service enforces, plus what it does not do.
                  _provenance:
                    type: object
                    description: C2PA-aligned manifest and W3C VC 2.0 (eddsa-jcs-2022) issued by the hub DID; verify at POST /api/v1/verify-provenance
                required:
                - data
                - _provenance
        '400':
          description: Invalid request (no payment consumed)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
        '401':
          description: Invalid X-API-KEY
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
        '402':
          description: Payment required or invalid
          content:
            application/json:
              schema:
                type: object
                description: x402 v2 PaymentRequired (also base64 in the PAYMENT-REQUIRED header)
                properties:
                  x402Version:
                    type: integer
                  error:
                    type: string
                  code:
                    type: string
                  resource:
                    type: object
                  accepts:
                    type: array
                    items:
                      type: object
                  extensions:
                    type: object
        '502':
          description: Upstream failure; the payment is released or not settled
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
      tags:
      - Inbox Create
components:
  securitySchemes:
    x402:
      type: apiKey
      in: header
      name: PAYMENT-SIGNATURE
      description: x402 v2 payment payload (base64) sent after a 402 challenge
    apiKey:
      type: apiKey
      in: header
      name: X-API-KEY