Skip to main content
All bodies are JSON unless noted. CORS is open. Relayers do not log request IPs or bodies. The interactive version of this page is in the API Reference tab.

Relayer

GET /v1/info

issuer and issuerUrl are present when tokens are required; ohttpKey when OHTTP is on; coverMinBatch when the relayer pads small batches with cover records. The optional semaphoreGroups array lists accepted group keys. The optional keeper flag identifies a key-keeper service; it does not establish a completed sealed-record client workflow.

POST /v1/records

Queue a sealed record.
u64 and u256 attribute values are decimal strings. token is required when the relayer requires tokens, except when a configured group proof authorizes the record; minAnonymity and maxHoldMs are optional. inbox: true marks a record written for someone else, whose envelope is signed by a key other than owner. Returns 202 { "id": "<uuid>" }. For a configured Semaphore project, the envelope JSON string includes membership with group, decimal rootBlock and proof. The typed attributes include the five reserved proof projections. These are inside the existing envelope and attributes; there is no new top-level proof field or separate proof-submission endpoint. Missing/unconfigured membership gets 403, invalid proofs or bindings get 400. See the module reference and entity schema.

GET /v1/records/:id

position (queued only) is the number of requests ahead. 404 for an unknown id. Statuses are kept for an hour after they finish.
A failed membership status can include a known txHash. Reservations remain pending after an uncertain outcome; a failed response is not permission to resubmit at another relayer. See reconciliation.

POST /v1/ohttp

An Oblivious HTTP encapsulated request (message/ohttp-req, up to 128 KB) carrying any of the requests above; the response is message/ohttp-res. 404 when OHTTP is off, 400 when the request cannot be opened. See the protocol reference.

GET /healthz

Token issuer

Served by a relayer started with ISSUER=on.

GET /v1/issuer/key

Query: app, epoch (today’s UTC day number). Publishes today’s key on Arkiv if needed:
Clients read the key itself from Arkiv, never from this response. 400 if epoch is not today.

POST /v1/tokens/issue

walletSignature is the wallet’s personal_sign of the issuance message (see the protocol). attestation only when the issuer requires codes.
403 with { "error": … } for: epoch not today, 0 or more than 20 tokens asked for, timestamp more than 5 minutes off, wrong wallet signature, missing or used attestation code, quota exceeded.

OHTTP relay

Last modified on October 17, 2026