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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | Yes | Format: uuid. |
| request | body | object | Yes | — |
| act | body | string | Yes | Values: read, create, buy, send_message, sign_up. |
| amount | body | object | No | — |
| commit | body | boolean | Yes | — |
| where | body | any | No | Ignored; origin always comes from verified token aud |
| origin | body | any | No | Ignored; 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.
| Status | Description | Media type |
|---|---|---|
| 200 | Live decision, never permission | application/json |
| 400 | Invalid request shape | — |
| 413 | Body over 32 KiB | — |
| 415 | JSON required | — |
| 429 | Rate limited before database reads | — |
| 503 | Rate 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.