# SesApp > Housing access sheet: door code, WiFi, parking, and arrival notes, behind a revocable link. Guests open a small flip-book. For hosts, vacation rentals, property managers — and agents (API / MCP). Human site (French): [https://sesapp.fr/](https://sesapp.fr/). Agent docs below are English. ## Pages - [Home](https://sesapp.fr/): Create an access sheet - [Self check-in](https://sesapp.fr/check-in-autonome) - [Guest WiFi](https://sesapp.fr/code-wifi-invites) - [Building door code](https://sesapp.fr/code-digicode-immeuble) - [Welcome booklet alternative](https://sesapp.fr/livret-accueil-airbnb) - [Touch Stay alternative](https://sesapp.fr/alternative-touchstay) - [Airbnb house rules, 20 November 2026](https://sesapp.fr/nouvelles-regles-airbnb-2026) - [Key lockbox rules and alternatives](https://sesapp.fr/boite-a-cles) - [Secure key box](https://sesapp.fr/boite-a-cle-securisee) - [Connected key box](https://sesapp.fr/boite-a-cle-connectee) - [Guest arrival instructions](https://sesapp.fr/consignes-arrivee-voyageurs) - [Property managers / conciergeries](https://sesapp.fr/conciergerie-check-in) - [Live flip-book example](https://sesapp.fr/preview/fiche) - [Blog](https://sesapp.fr/blog) - [Agents (GEO / x402)](https://sesapp.fr/agents) - [Contact](https://sesapp.fr/contact) ## Agent API (x402, Base USDC) Agents create access sheets and manage guest links with an x402 subscription. Identity = wallet. After payment, a Bearer JWT. Without `PAYMENT-SIGNATURE`, `POST /api/agent/subscribe` returns **402** with the `PAYMENT-REQUIRED` header (x402 v2). | SKU | USDC / 30 days | Sheets | Extra | Endpoint | | Agent | 15 | 20 | 0.50 USDC / sheet | POST /api/agent/subscribe | | Fleet | 79 | 200 | 0.25 USDC / sheet | POST /api/agent/subscribe?plan=fleet | | Platform | 250 | fair-use | — | POST /api/agent/subscribe?plan=platform | Atomic amounts (6 decimals): Agent `15000000`, Fleet `79000000`, Platform `250000000`, overage Agent `500000`, Fleet `250000`. Network `eip155:8453`, USDC `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913`. `instructions` is **Markdown** rendered as a guest flip-book. Write it in the guest's language (usually French). Optional field `locale` (`fr` | `en`) sets guest **chrome** (buttons, labels). Omit it to follow `Accept-Language` / `?lang=`. Split pages with a `---` line. Photos `![alt](https://...)`, links `[label](https://...)`. Intents: `[Add WiFi](sesapp:wifi)` or `[Ajouter le WiFi](sesapp:wifi)` (ssid/password, unlocked within 150 m) and `[Add contact](sesapp:contact)` / `[Ajouter le contact](sesapp:contact)` (`phoneNumber`). Never put `wifiPassword` in Markdown. Example (guest-facing French): ``` # Bienvenue Parking au fond à gauche. ![Façade](https://example.com/facade.jpg) --- ## Arrivée Sonnette à gauche. [Itinéraire](https://maps.google.com/?q=48.8566,2.3522) --- [Ajouter le WiFi](sesapp:wifi) --- [Ajouter le contact](sesapp:contact) ``` Recipe (Bearer after subscribe): 1. `POST /api/agent/subscribe` — 402 + PAYMENT-REQUIRED, then retry with PAYMENT-SIGNATURE (or `X-Agent-Dev` in DEV). 2. `GET /api/agent/subscribe` — status: plan, fichesCount, maxFiches, overageUsdc, expiresAt. 3. `POST /api/agent/geocode` `{ "query": "13 rue Parrot, Paris" }` — copy `formattedAddress`, `lat`, `lon`. 4. `POST /api/agent/fiches` — create. Optional header `Idempotency-Key`. 402 overage past quota. 5. `POST /api/agent/fiches/{id}/share` `{ "expiresAt": "2026-12-31T23:59:59.000Z" }` optional. 6. `GET /api/agent/fiches/{id}/shares` — tokens, url, expiresAt, viewCount, createdAt, deactivationStartedAt. 7. `DELETE /api/agent/share/{token}` — hard revoke. Soft: `?delayDays=7`. 8. Fleet/Platform: `POST /api/agent/webhooks` `{ "url": "https://example.com/hooks" }`. No bulk endpoint: create in a loop with `Idempotency-Key` per listing. Photos: **https URLs** (host app uploads to GCS; agents send URLs, no file upload). Rate limits (per agent, 60 s window): Agent 60, Fleet 180, Platform 600. Headers `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset`. HTTP 429 `RATE_LIMITED`. Platform fair-use: no hard sheet cap. Soft cap **2000** active sheets (`quota.warning` from 80% / last 2). Contact for OEM above that. Do not scrape geocode. Webhooks (Fleet/Platform, max 5): HMAC `X-SesApp-Signature: t=,v1=` over `unix.body`. Events `fiche.viewed`, `share.created`, `share.revoked`, `wifi.unlocked`, `quota.warning`. At-least-once, 3 attempts (0 / 0.5 / 2 s). Never put `wifiPassword` in payloads. Example webhook body: ```json { "id": "evt_ab12", "type": "share.created", "createdAt": "2026-09-06T12:00:00.000Z", "data": { "ficheId": "42", "token": "…", "url": "https://sesapp.fr/share/…" } } ``` ### Playbooks **PMS / Airbnb-like:** subscribe Fleet → geocode listing address → create_fiche (Markdown in guest language, wifi fields, photos as https) → share_fiche with checkout `expiresAt` → on booking cancelled, DELETE share (or `delayDays=1`). **Conciergerie multi-logements:** one JWT, loop create_fiche + Idempotency-Key `listing-{externalId}`. register_webhook for `fiche.viewed` / `wifi.unlocked`. list_shares before sending the guest SMS. **Bot check-in J-1:** cron: share_fiche the day before arrival; webhook `fiche.viewed` confirms the guest opened the booklet; at checkout DELETE share. Example create body: ```json { "name": "Gîte des Pins", "formattedAddress": "13 rue Parrot, 75012 Paris", "lat": 48.8466, "lon": 2.3742, "accessCode": "4281", "wifiName": "GitePins", "wifiPassword": "secret-not-in-markdown", "phoneNumber": "+33600000000", "locale": "fr", "instructions": "# Bienvenue\nParking à gauche.\n\n---\n\n[Ajouter le WiFi](sesapp:wifi)" } ``` - [OpenAPI 3.1](https://sesapp.fr/openapi.json) (`/.well-known/openapi.json`) - [MCP server card](https://sesapp.fr/mcp/server-card) — Streamable HTTP `POST https://sesapp.fr/mcp` (`/.well-known/mcp.json`) - GET https://sesapp.fr/api/agent/subscribe — status - POST https://sesapp.fr/api/agent/geocode — `{ query }` - GET/POST https://sesapp.fr/api/agent/fiches — `Authorization: Bearer` (402 overage if over quota). POST accepts `Idempotency-Key` - GET/PATCH/DELETE https://sesapp.fr/api/agent/fiches/{id} - POST https://sesapp.fr/api/agent/fiches/{id}/share — `{ expiresAt? }`, `Idempotency-Key` - GET https://sesapp.fr/api/agent/fiches/{id}/shares - DELETE https://sesapp.fr/api/agent/share/{token} — optional `?delayDays=` - GET/POST https://sesapp.fr/api/agent/webhooks — Fleet/Platform (`Idempotency-Key` not used) - GET/PATCH/DELETE https://sesapp.fr/api/agent/webhooks/{id} CORS: `Access-Control-Allow-Origin: *`. OPTIONS 204. Headers: `Authorization`, `PAYMENT-SIGNATURE`, `X-Agent-Dev`, `Idempotency-Key`. ## Error codes Agent JSON errors keep `error` as an English string (compat) and add a stable `code`: `{ "success": false, "error": "Access sheet not found", "code": "SHEET_NOT_FOUND" }` Codes: `UNAUTHORIZED`, `FORBIDDEN`, `SHEET_NOT_FOUND`, `SHARE_NOT_FOUND`, `SHARE_EXPIRED`, `QUOTA_EXCEEDED`, `INVALID_PARAMS`, `RATE_LIMITED`, `INTERNAL`, `X402_NOT_CONFIGURED`, `WEBHOOK_NOT_FOUND`. Quota overage and expired plans still return HTTP **402** with the x402 `PAYMENT-REQUIRED` body (not this JSON shape).