# Sorraia API > Read and manage your Sorraia forms, submissions, calendars, bookings, shop widgets, and orders over a simple REST API. - [Sorraia API](https://docs.sorraia.app/index.md): Read your forms, submissions, calendars, bookings, shop widgets, and orders over the Sorraia REST API, with write access for forms and submissions. - [Getting started](https://docs.sorraia.app/getting-started.md): Create an API key and make your first request in a few minutes with curl or the TypeScript SDK, then page through lists and read the rate limit headers. - [Authentication](https://docs.sorraia.app/authentication.md): API keys, scopes, and rotation. Pass a key as a Bearer token, grant the scopes each endpoint needs, and read the 401, 402, and 403 error responses. - [Forms](https://docs.sorraia.app/resources/forms.md): Create, read, update, and archive forms. Covers the form object, listing by domain, the fields PATCH can change, and how DELETE archives a form. - [Submissions](https://docs.sorraia.app/resources/submissions.md): Read a form's submissions and ingest new ones programmatically. Ingests run the same pipeline as the embedded widget and accept an Idempotency-Key. - [Calendars](https://docs.sorraia.app/resources/calendars.md): Read your calendar (booking) widgets. List them with paging and a domainId filter, or get one with its settings, appearance and behavior. - [Bookings](https://docs.sorraia.app/resources/bookings.md): Read the bookings made against your calendar widgets. List a calendar's bookings newest first, get one by ID, and see the booking object and statuses. - [E-commerce](https://docs.sorraia.app/resources/ecommerce.md): Read your shop (e-commerce) widgets for products, subscriptions and donations. List them, filter by domain, get one, and see price and fulfilment fields. - [Orders](https://docs.sorraia.app/resources/orders.md): Read the orders placed through your shop widgets. List a widget's orders newest first, get one by ID, and see order statuses, shipping and tracking fields. - [Webhooks](https://docs.sorraia.app/webhooks.md): Verify signed webhook deliveries from Sorraia. Check the HMAC-SHA256 X-Sorraia-Signature header with the SDK or in Node.js, and reject stale replays. - [TypeScript SDK](https://docs.sorraia.app/sdks.md): Install and use @sorraia/sdk, the TypeScript client generated from the OpenAPI spec. Manage forms, ingest submissions, read orders and verify webhooks. - [API reference](https://docs.sorraia.app/api-reference/introduction.md): Every Sorraia API endpoint, parameter, and response, generated from the OpenAPI 3.1 spec, plus conventions for auth, pagination, rate limits, and errors. - [List forms](https://docs.sorraia.app/api-reference/forms/list-forms.md): List the account's active (non-archived) forms, newest first. - [Create a form](https://docs.sorraia.app/api-reference/forms/create-a-form.md): Create a form bound to a verified production domain. Omit `domainId` to auto-pick when the account has exactly one verified domain; when multiple exist, `domainId` is required (a `domain_required` error returns the candidate list). A form counts toward its site's forms-and-calendars plan limit; a si… - [Get a form](https://docs.sorraia.app/api-reference/forms/get-a-form.md): Fetch a single form by id, including its full `fields` schema. - [Archive a form](https://docs.sorraia.app/api-reference/forms/archive-a-form.md): Soft-delete (archive) a form. Returns no content. - [Update a form](https://docs.sorraia.app/api-reference/forms/update-a-form.md): Partially update a form. Only `name`, `fields`, `webhookUrl`, and `archived` are mutable. Sending `userId`, `orgId`, `domainId`, `createdAt`, or `id` returns a `forbidden_field` error. Restoring an archived form (`archived: false`) counts toward its site's forms-and-calendars plan limit like a creat… - [List a form's submissions](https://docs.sorraia.app/api-reference/submissions/list-a-forms-submissions.md): List submissions for a form, newest first. A submission from the public form that was held as likely spam (saved, but nothing sent) is absent from the list and from `pagination.total` until someone releases it from the dashboard. Submissions created through this API are never held. - [Ingest a submission](https://docs.sorraia.app/api-reference/submissions/ingest-a-submission.md): Programmatically create a submission for a form. Runs the same pipeline as the public widget (webhooks, confirmation emails, PHI handling). Supply an optional `Idempotency-Key` header to safely retry: within 24h, the same key replays the original result (HTTP 200) instead of creating a duplicate. - [Get a submission](https://docs.sorraia.app/api-reference/submissions/get-a-submission.md): A submission held as likely spam answers 404, like one outside the key's account, until someone releases it from the dashboard. - [List submissions](https://docs.sorraia.app/api-reference/submissions/list-submissions.md): The account's submissions across all forms, newest first, as a paginated `{ data, pagination }` envelope. The PHI boundary applies: a key that is not PHI-cleared never sees submissions on HIPAA-enabled domains. A submission held as likely spam is absent until someone releases it from the dashboard. - [List calendar widgets](https://docs.sorraia.app/api-reference/calendars/list-calendar-widgets.md) - [Get a calendar widget](https://docs.sorraia.app/api-reference/calendars/get-a-calendar-widget.md) - [List a calendar's bookings](https://docs.sorraia.app/api-reference/bookings/list-a-calendars-bookings.md) - [Get a booking](https://docs.sorraia.app/api-reference/bookings/get-a-booking.md) - [List bookings](https://docs.sorraia.app/api-reference/bookings/list-bookings.md): The account's bookings across all calendar widgets, newest first, as a paginated `{ data, pagination }` envelope. The PHI boundary applies. - [List shop widgets](https://docs.sorraia.app/api-reference/ecommerce/list-shop-widgets.md) - [Get a shop widget](https://docs.sorraia.app/api-reference/ecommerce/get-a-shop-widget.md) - [List a shop widget's orders](https://docs.sorraia.app/api-reference/orders/list-a-shop-widgets-orders.md) - [Get an order](https://docs.sorraia.app/api-reference/orders/get-an-order.md) - [List orders](https://docs.sorraia.app/api-reference/orders/list-orders.md): The account's orders (widget- and cart-mode), newest first, as a paginated `{ data, pagination }` envelope. - [List webhook subscriptions](https://docs.sorraia.app/api-reference/webhooks/list-webhook-subscriptions.md): List the calling API key's own event subscriptions, newest first. Secrets are NOT returned — the plaintext is shown only once, at create. - [Subscribe to an event](https://docs.sorraia.app/api-reference/webhooks/subscribe-to-an-event.md): Subscribe this API key to an account event. The key must hold the read scope matching the event (form.submitted → read:submissions; booking.created / booking.rescheduled → read:bookings; order.paid → read:orders). The response includes a `secret` shown ONLY here — store it; deliveries are signed and… - [Unsubscribe](https://docs.sorraia.app/api-reference/webhooks/unsubscribe.md): Delete one of the calling key's subscriptions. Foreign or missing ids return 404. Never plan-gated: a key whose account is on the Free plan can always unsubscribe (this is how an integration disconnects). - [List a site's embeddable widgets](https://docs.sorraia.app/api-reference/site-catalog/list-a-sites-embeddable-widgets.md): Every embeddable widget on ONE site — forms, booking calendars, shops, AI chat agents and WhatsApp launchers — shaped for a picker. This is the only operation that authenticates with a **site key** rather than an API key: pass the site's `sor_site_...` value in the `X-Sorraia-Site-Key` header. Find… - [Read this site's domain-verification status](https://docs.sorraia.app/api-reference/site-verification/read-this-sites-domain-verification-status.md): The verification state of the one site the key belongs to, plus the instructions for every method. Authenticates with a **site key**, not an API key. - [Verify this site's domain via the WordPress plugin](https://docs.sorraia.app/api-reference/site-verification/verify-this-sites-domain-via-the-wordpress-plugin.md): Ask Sorraia to check the `wp_plugin` proof now. The method is fixed — this endpoint cannot trigger a `dns_txt` or `meta_tag` check — and the request takes no body. ## OpenAPI Specs - [openapi](/api/openapi.yaml) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.