Skip to guide

Developer documentation

Verify and optionally count an agent-signed door act (Cloud)

POST/api/public/v1/mandates/{id}/check

Request

Signature-Input requires nonce and covers Agent-Token and PassControl-Act. Agent-Token must carry mnd. The signature requires tag="passcontrol-mandate". The web-bot-auth tag is for requests without a mandate and is not accepted here. Where comes only from token aud and must match the signed target URI origin. PassControl-Act binds id, act, amount and commit. Identical committed signed requests count once. Stops, expiry, revocation and stale hashes take precedence. A peek counts nothing. No money is moved and the receiving door decides permission.

No account or developer API key is required. Choose a trusted issuer origin. Public lookups do not prove that the caller owns the passport. Token minting requires the agent's signed passport proof.

Generated curl examples use GATEWAY for the deployment origin and ID for a path identifier. Set those shell variables before running the request. JSON examples show the request shape; replace each sample value with your own input.

Parameters

NameInTypeRequiredDescription
idpathstringYesFormat: uuid.
requestbodyobjectYes—
actbodystringYesValues: read, create, buy, send_message, sign_up.
amountbodyobjectNo—
commitbodybooleanYes—
wherebodyanyNoIgnored; origin always comes from verified token aud
originbodyanyNoIgnored; origin always comes from verified token aud

Request schema

The JSON body follows this schema. Nested required fields are listed inside each object.

Responses

Illustrative response bodies are generated from the schema. Sample IDs, dates, numbers and strings are placeholders. The schema below each status is the response contract.

StatusDescriptionMedia type
200Live decision, never permissionapplication/json
400Invalid request shape—
413Body over 32 KiB—
415JSON required—
429Rate limited before database reads—
503Rate protection unavailable; fail closed—

Errors

400: Invalid request shape 413: Body over 32 KiB 415: JSON required 429: Rate limited before database reads 503: Rate protection unavailable; fail closed

A successful HTTP response is not permission. Check the returned status or decision and apply your service's access rule.

Rate limit

30 requests per IP address per 60 seconds.

On 429, wait for Retry-After before retrying. An unavailable check must never be treated as a successful identity or mandate decision.

Verify and optionally count an agent-signed door act (Cloud) · Developers · PassControl