Skip to main content
Orders APIUnit Types API
Added
  • Orders API: orders have an expandable creator. It is a Contact for orders made on the storefront, otherwise Staff, an Application or an Access Token, and null when unknown. Expanding creator requires the public.contact:read scope as well as the scope of the creator’s type. Order webhook payloads include creator.
  • Unit Types API: beta endpoint to create an order for a unit type as it’s booked on the storefront with POST /unit_types/{unit_type_id}/order. Its behaviour may still change. Stora adds the unit type at its live storefront price with its promotion, the protection level, mandatory products and the security deposit. The promotion is left out when it doesn’t apply on the order’s start date. A unit type that can’t be booked on the storefront returns 409 with code unit_type_not_bookable.
Added
  • Idempotent requests: a response replayed for an Idempotency-Key has the Idempotent-Replayed: true header.
Changed
  • Idempotent requests: Idempotency-Key values are now scoped to the application or Access Token, its scopes, and the authorizing user, not only the operator.; a request whose Idempotency-Key was already used for a different method, path or body returns 422 with code idempotency_key_reused, instead of the stored response.; an Idempotency-Key that is blank or longer than 255 characters returns 400 with code invalid_request. A blank key was ignored before.; if a request is interrupted, its Idempotency-Key is free again within 60 seconds, instead of after 24 hours. Until then, retries return 409 with code idempotency_conflict.; when Stora can’t check an Idempotency-Key, the request isn’t processed and returns 503 with code idempotency_unavailable. Retry later with the same key.; a response whose body isn’t UTF-8 text, such as a PDF, isn’t stored, so a retry with the same key runs the request again.
Webhook Endpoints API
Changed
  • Webhook Endpoints API: both the token making the request and the endpoint’s creator need the read scope of each event type’s resource in event_types, for example public.contact:read for contact.created. A write scope alone isn’t enough. The creator is the token that created the endpoint, its application for a client credentials token, or the operator’s current authorization for a partner app. Creating an endpoint, or changing its event_types, with an event type either of them can’t read returns 422 with code invalid_content. Events are only delivered while the creator has that scope.
Changed
  • OAuth 2: with the Client Credentials grant, POST /oauth2/token returns the current access token, with its remaining expires_in, while it has more than a quarter of its lifetime left, instead of issuing a new one for the same scopes. Requests made while a token is reusable get the same token, so revoking it revokes it for all of them.
Contract Templates API
Added
  • Contract Templates API: retrieve a contract template with GET /contract_templates/{contract_template_id}. Archived contract templates return 404.
  • Errors: the errors guide lists every error code, with what it means, what to do and whether you can retry. The OpenAPI specification lists the codes in x-error-codes. Error codes are part of the API contract.; an invalid fields or expand parameter links to the guide for selecting fields or expanding responses in links. The code stays invalid_url_param.
  • OpenAPI specification: endpoints document the error codes they return, such as opportunity_associated on archiving an opportunity and duplicate_price_adjustment on scheduling a price adjustment.; the Idempotency-Key header is documented on all POST endpoints except OAuth 2, which already accepted it. The first successful response for a key is stored for 24 hours and returned for retries with the same key.
Changed
  • Errors: the Errors link in links points to the section for the error’s code, such as https://docs.stora.co/2025-09/guides/errors#opportunity_associated.; errors returned before the request reaches the endpoint, such as invalid_token, too_many_requests and idempotency_conflict, also link to the API reference page of the endpoint.; api_error returns 502 Bad Gateway instead of 400 Bad Request, with the message “A third-party service failed.”. It means a service that Stora depends on, such as Stripe or PandaDoc, failed.; when Stora fails to delete a resource, such as a note or an order, the response is 500 Internal Server Error with code internal_server_error and a message such as “Failed to delete the note.”. Previously it was 400 Bad Request with code api_error and the message “Internal or third-party API error.”.
Added
  • OpenAPI specification: expand is documented on the create, update and action endpoints of notes, price adjustments, tasks, units and webhook endpoints, which already accepted it.
  • All endpoints that return a resource take a fields query parameter, such as fields=id,status,site.name, and return only those fields. Identifiers and constant fields are always returned, and a field inside an expandable association also needs it in expand, unless the collapsed association returns it, such as site.id. An unknown or unexpanded path returns 422 Unprocessable Content before the request changes anything. Endpoints that return a success message, such as deletes, and PDF responses ignore fields. Not available on OAuth 2 and image endpoints.
Changed
  • Endpoints whose resources have nothing to expand, such as contacts, sites, coupons and staff, ignore expand. Previously, an expand value such as * or expand[]=x could return 422 Unprocessable Content there.
  • Show, create, update and action endpoints process expand like list endpoints. In this version, an invalid value such as expand[site]=yes is dropped with a Stora-Warning header instead of returning 422 Unprocessable Content.
Subscriptions APITenancies APIUnit Types APIContacts APITimeline Events APIUnits API
Added
  • Subscriptions API: site_id, billing_period and cancellation_reason filters, and starts (starts_after, starts_before) and ends (ends_after, ends_before) time-range filters on the subscriptions list endpoint. cancellation_reason accepts unspecified to filter by null.
  • Tenancies API: site_id filter, and starts (starts_after, starts_before) and ends (ends_after, ends_before) time-range filters on the tenancies list endpoint.
  • Unit Types API: status filter (bookable, lead_capture, hidden) on the unit types list endpoint.
Fixed
  • Contacts API: type, source, marketing_source and use_case normalized to return null instead of an empty string when no value is set. This also applies to expanded contacts and contact.* webhook payloads. The unspecified filter value on these fields now matches these contacts too.
  • Tenancies API: retrieving an unknown tenancy returns the error message “The Tenancy was not found.” instead of “The Subscription was not found.”
  • Timeline Events API: creating or updating an event with a tenancy reference finds the tenancy by its ID. Previously a tenancy ID returned 404 with “The Subscription was not found.”, and only the subscription’s ID was accepted.
  • Units API: reserving or granting access to a unit for an unknown tenancy_id returns the error message “The Tenancy was not found.” instead of “The Subscription was not found.”
Deals and Opportunities APINotes APIRemove Overlock API
Added
  • Errors: links includes the API reference page of the endpoint that returned the error, with kind set to api_reference. Errors with code invalid_token, forbidden, too_many_requests, invalid_request and invalid_format also link to the guide that explains them.; endpoints for orders, opportunities, deals, price adjustments, timeline, webhook endpoints, protection levels, units and unit allocations link to the guide for that feature in links.
Changed
  • Deals and Opportunities API: expanding line_items.item no longer requires the public.product:read scope. Their line items contain only unit types and protection levels.
  • Errors: a request to an unsupported API version, such as /2024-01/contacts, returns the message “The requested API version is not supported.” and links to the API versioning guide. The code stays invalid_endpoint.
  • List endpoints: sort_direction is case-insensitive. A value such as desc no longer gets a Stora-Warning header and is no longer deprecated.
  • Notes API: expanding creator now requires the public.contact:read scope. A note can have a contact as its creator. For example, when a contact signs a contract and a file they uploaded can’t be saved, Stora adds a note with that contact as the creator.
  • Expanding a nested field also expands its parent. For example, expand=deal.stage now returns deal in full, with stage expanded inside it. Previously the nested path was applied only when the parent was also requested, as in expand=deal,deal.stage.
Fixed
  • Idempotent requests: when a request with the same Idempotency-Key is still being processed, the 409 response is a standard error object with code idempotency_conflict and a link to the idempotent requests guide. Previously the body was {"error": "Concurrent requests detected"}.
  • OpenAPI specification: schemas now match what the API returns:
  • Remove Overlock API: meta.unit_ids lists units in a stable order, as Overlock does. Previously the order could differ between requests.
  • A request to an unsupported API version, such as /2024-01/contacts, returns a 404 invalid_endpoint error whose links point to the latest released version.
Tasks and Webhook Endpoints API
Changed
  • List endpoints validate their query params against the documented types. Values accepted before keep working: instead of returning 422 Unprocessable Content, the API corrects them and lists each correction in the Stora-Warning response header. Blank values such as page= are ignored. sort_direction and other values from a list are matched case-insensitively, so desc is read as DESC. A limit above 100 is read as 100. A timestamp without an offset is read as UTC. Invalid page, limit, sort_by, sort_direction and expand values are ignored.
  • **Validation errors for a value that does not match its documented format say value `…` at `/…` does not match pattern**: …. This applies to path, query and body values.
  • A path ID that does not have the resource’s format, such as a contact ID con_… in /deals/{deal_id}, returns 422 Unprocessable Content with code invalid_url_param and a pointer naming the param, such as /deal_id. Before, it returned 404 Not Found. A well-formed ID that matches no resource still returns 404 Not Found.
  • Filters sent in the body of a GET request are ignored. Send them in the query string.
  • Invalid filter values still return 422 Unprocessable Content. The error message is now generic, and details has one entry with a pointer for each invalid value.
  • Params that only another API version declares return 422 Unprocessable Content, in every version.
  • The email filter checks the email format. The metadata filter accepts up to 20 keys with string values.
Deprecated
  • Query param values that the Stora-Warning header reports as corrected. Newer API versions return 422 Unprocessable Content for them.
Fixed
  • Tasks and Webhook Endpoints API: a repeated status value, such as status=open,open, now filters by that status. Before, the list was returned unfiltered.
Documented
  • Filters that already worked are now in the API reference: metadata on Deals, Sites and Units, and contact_id on Tenancies. assignee_id on Deals and Tasks and resource_id on Notes and Tasks are documented as comma-separated lists.
Price Adjustments APIOrders API
Changed
  • Price Adjustments API: errors come only from the percentage style the request uses, percentages or percentage with applies_to. A create request that sends neither is now asked for percentages. A request that sends both gets one error, at percentage or applies_to.
  • Validation errors: a 422 Unprocessable Content response now lists one error per problem. Deals and Opportunities API: line_items errors come only from the line item type set in type. Before, each item also got errors from the other type.
Fixed
  • Orders API: updating an existing line item’s price in PATCH /orders/{id} now changes the price. Before, the request succeeded but the price stayed the same.
Fixed
  • Resource IDs in request paths are now validated strictly. Endpoints accept only a resource’s id as returned by the API; any other identifier returns 404 Not Found.
Subscriptions API
Fixed
  • Subscriptions API: cancellation_reason normalized to return only null for unknown reasons.
Price Adjustments API
Added
  • Price Adjustments API: percentages gives each type its own percentage change: unit_types, protection_levels and products. Responses and price_adjustment.* webhook payloads always include it, with 0 for a type that is not applied. Create and update requests can send it instead of percentage with applies_to. On create, a type left out is not applied. On update, a type left out is unchanged, and 0 switches it off.
Deprecated
  • Contacts: stripe_customer_id.
  • Price Adjustments API: percentage and applies_to, in favour of percentages. They keep working. A request sends either percentages or percentage with applies_to, not both. When the applied types have different percentages, the percentage response field is the change in the subscription total.
  • Prices, including nested prices: stripe_price_id.
  • Subscriptions: stripe_subscription_id and stripe_subscription_schedule_id.
  • Unit types and protection levels: stripe_product_id.
Notes APIOrders APIUnit Types API
Fixed
  • Notes API: expanding resource.assignee now requires the public.staff:read scope
  • Orders API: expanding line_items now requires the public.order:read scope, including on the finalize, validate and abandon endpoints
  • Unit Types API: expanding promotion on the base price endpoint, and on nested unit types such as unit_type.promotion, now requires the public.coupon:read scope for apps and API keys created from 2026-07-08
  • Expanding a line item’s item, such as line_items.item, now requires the public.unit_type:read, public.protection_level:read and public.product:read scopes for apps and API keys created from 2026-10-28
Fixed
  • Pagination: records with the same sort value now keep a stable order across pages, so paging through a list no longer repeats or skips records.
Fixed
  • Pagination: fixed a bug where requests using an invalid pagination URL parameter could return a successful response instead of an error.
Contacts APICoupons APICredit Notes APIInvoices API
Fixed
  • Contacts API: contact.updated is now sent when only the company_registration_number or identity_check.required change.
  • Coupons API: coupon.updated is now sent when only the amount or max_redemptions change.
  • Credit Notes API: credit_note.updated is now sent when only the subtotal, total or line_items change.
  • Invoices API: invoice.updated is now sent when only the subtotal, tax, total, line_items, finalized_at, paid_at, voided_at, contact, site or tenancy change. Before, these changes sent no event.
Invoices API
Added
  • Invoices API: nullable payment_url field on the Invoice resource. Returns a Stora payment link for open invoices, including overdue invoices; null otherwise.
Opportunities API
Added
  • Opportunities API: opportunity.created, opportunity.updated, opportunity.archived, opportunity.unarchived, opportunity.associated, and opportunity.deleted webhook events
Fixed
  • Opportunities API: deleting a deal now returns its opportunities to open, so they can be associated or converted again
Unit Types API
Added
  • Unit Types API: optional search parameter on the list endpoint to find unit types by name (fuzzy match). BETA
Contacts APIOpportunities API
Added
  • Contacts API: nullable accounting_code field on the Contact resource, settable on create and update. Changing it emits contact.updated
  • Opportunities API: create deal endpoint, which converts an opportunity into a deal at a chosen stage and associates them; associate deal endpoint, where POST links an opportunity to an existing deal of the same contact and DELETE removes that link; deal_id filter on the list endpoint
Fixed
  • Opportunities API: expanding deal.assignee now requires the public.staff:read scope
Orders API
Fixed
  • Orders API: line items now require a site-scoped protection level; a global or wrong-site protection level ID returns 422 Unprocessable Content.
Opportunities API
Fixed
  • Opportunities API: creating or updating an opportunity with a line item now requires a matching site; a missing or different site returns 422 Unprocessable Content.
Credit Notes APIInvoices API
Added
  • Credit Notes API: nullable refunded Money object on the Credit Note resource.
  • Invoices API: refund_status field on the Invoice resource.
Opportunities APIPrice Adjustments API
Added
  • Opportunities API: archive and unarchive endpoints
  • Price Adjustments API: update endpoint; price_adjustment.created, price_adjustment.scheduled, price_adjustment.updated, price_adjustment.rescheduled, price_adjustment.cancelled, price_adjustment.invoiced, and price_adjustment.failed webhook events
Opportunities API
Added
  • Opportunities API: delete endpoint; update endpoint
Opportunities APIContacts and Orders API
Added
  • Opportunities API: create endpoint
Changed
  • Contacts and Orders API: contact address fields now accept null, which clears that field. Omitted fields are left unchanged.
Deals API
Fixed
  • Deals API: creating or updating a deal with a unit type now requires a matching site; a missing or different site returns 422 Unprocessable Content.
Protection Levels API
Changed
  • Protection Levels API: base-price updates now accept global protection-level IDs before insurance site-scoping activation and site-scoped IDs after activation. Requests using the non-authoritative catalogue return a conflict.
Opportunities API
Added
  • Opportunities API: list and show endpoints
Price Adjustments API
Added
  • Price Adjustments API: read endpoints; create endpoint; destroy endpoint; schedule endpoint
Protection Levels APIDeals API
Added
  • Protection Levels API: site expandable association Preparation for protection levels moving from the account to each site; filter by site_id; expandable responses enabled for read endpoints
Changed
  • Deals API: a protection line item must reference an account-level protection level, or one belonging to the deal’s site Preparation for protection levels moving from the account to each site
Invoices API
Added
  • Invoices API: due time-range filters (due_after, due_before); due_date sorting on the invoices list endpoint
Invoices API
Added
  • Invoices API: invoice.overdue webhook event, fired when an invoice becomes overdue for payment; collection_status and due_date fields on the Invoice resource; collection_status filter on the invoices list endpoint
Credit Notes API
Added
  • Credit Notes API: accounting_code field on line items, also included in the credit_note.created and credit_note.updated webhook payloads
Tenancies API
Added
  • Tenancies API: tenancy.auto_reservation.succeeded, tenancy.auto_reservation.partially_succeeded, and tenancy.auto_reservation.failed webhook events
Contract Templates APIContracts APICoupons APICredit Notes APIDeal Stages APIInvoices APINotes APIOrders Line Items APIProducts APIProtection Levels APISites APISubscriptions APITasks APITenancies APITimeline Sources APITimeline Templates APIUnit Allocations APIUnit Types APIUnits APIWebhook Endpoints APIOrders API
Added
  • Contract Templates API: updated and created time-range filters
  • Contracts API: updated time-range filters
  • Coupons API: updated and created time-range filters
  • Credit Notes API: updated time-range filters
  • Deal Stages API: updated and created time-range filters
  • Invoices API: updated time-range filters
  • Notes API: updated time-range filters
  • Orders Line Items API: updated and created time-range filters
  • Products API: updated time-range filters
  • Protection Levels API: updated and created time-range filters
  • Sites API: updated and created time-range filters
  • Subscriptions API: updated and created time-range filters
  • Tasks API: updated time-range filters
  • Tenancies API: updated and created time-range filters
  • Timeline Sources API: updated time-range filters
  • Timeline Templates API: updated time-range filters
  • Unit Allocations API: updated and created time-range filters
  • Unit Types API: updated and created time-range filters
  • Units API: updated time-range filters
  • Webhook Endpoints API: updated and created time-range filters
Changed
  • Orders API: payment URLs and the new payment details email are now generally available.
Orders API
Added
  • Orders API: beta support for the new payment details email; abandon endpoint and order.abandoned webhook event
Fixed
  • Orders API: emails is marked as deprecated in favor of the email_notifications field in the Create and Update requests
Unit Types API
Added
  • Unit Types API: live_prices field
Orders API
Added
  • Orders API: beta support for new payments URLs
Subscriptions API
Added
  • Subscriptions API: subscription.resumed webhook event
Fixed
  • Subscriptions API: subscription.cancelled webhook event emits for every subsequent cancellation after the first
Products API
Added
  • Products API: images
Tenancies API
Fixed
  • Tenancies API: webhook response payloads will be presented with tenancy data root
Deals API
Added
  • Deals API: deal.stage_changed webhook event
Contacts API
Added
  • Contacts API: add status field and filter by status
Deals API
Added
  • Deals API: create, update, and destroy endpoints
Orders API
Added
  • Orders API: filter by source and billing_period, plus updated_at and starts_at time-range filters
Contacts API
Added
  • Contacts API: filter by use_case, type, source marketing_source
Contacts API
Added
  • Contacts API: expose identity_check
Contracts API
Added
  • Contracts API: filter by contact_id, contract_template_id and tenancy_id query params
Identity Verifications API
Added
  • Identity Verifications API: webhook events
Identity Verifications APIUnit Types API
Added
  • Identity Verifications API: read endpoints
  • Unit Types API: promotion expandable association
Deals API
Added
  • Deals API: index filters
Unit Types API
Added
  • Unit Types API: filter by site_id query parameter
Contracts APIUnit Types API
Added
  • Contracts API: link to sign the contract on Storefront
  • Unit Types API: link to create a new order on Storefront
Images API
Added
  • Images API: expose sites and unit types images
Deals API
Added
  • Deals API: add lose endpoint; add reopen endpoint
Invoices API
Fixed
  • Invoices API: response payload will show accounting nominal code
Invoices API
Added
  • Invoices API: add subscription and tenancy expandable objects and filters to invoice resource
Deals API
Added
  • Deals API: add win endpoint
Contacts APIOrders APITasks API
Added
  • Contacts API: add metadata to contact resource
  • Orders API: add metadata to order resource
  • Tasks API: add metadata to task resource
Notes APITimeline Events APITimeline Sources APITimeline Templates API
Added
  • Notes API: add metadata to note resource
  • Timeline Events API: create, update, and destroy endpoints
  • Timeline Sources API: read endpoints
  • Timeline Templates API: read endpoints
Contracts APIDeals API
Added
  • Contracts API: contract.created webhook event; contract.signed webhook event
  • Deals API: deal.won webhook event; deal.reopened webhook event; deal.lost webhook event
Contracts API
Added
  • Contracts API: filter by site ID and status
Fixed
  • Contracts API: replace subscription with tenancy in contract response
Contracts APINotes APIWebhook Endpoints API
Added
  • Contracts API: show endpoint; list endpoint
  • Notes API: filter by resource_type
  • Webhook Endpoints API: add metadata to webhook endpoint resource
Credit Notes APIDeals APIUnits API
Added
  • Credit Notes API: sorting
  • Deals API: deal.created webhook event; deal.updated webhook event
  • Units API: search filter on the list endpoint
Notes APISites APISubscriptions API
Added
  • Notes API: note.created webhook event; note.updated webhook event; create endpoint
  • Sites API: search filter on the list endpoint
  • Subscriptions API: filter by contact ID
Fixed
  • OpenAPI: add missing pagination params to Staff API
Contacts APINotes APIUnits API
Added
  • Contacts API: search filter on the list endpoint
  • Notes API: update endpoint; destroy endpoint; show endpoint
  • Units API: overlock endpoint; remove overlock endpoint
Fixed
  • OpenAPI: fixes (consistency & references)
Deal Stages APIDeals APINotes API
Added
  • Deal Stages API: list and show endpoints
  • Deals API: list and show endpoints
  • Notes API: list endpoint
Staff APIUnits API
Added
  • Staff API: search filter by name or email
  • Units API: add unit_allocation expandable object to unit resource
Units API
Added
  • Units API: grant access endpoint; deallocate endpoint
Tasks API
Added
  • Tasks API: index filters and sorting
Units API
Added
  • Units API: reserve endpoint
Tasks APIWebhook Endpoints API
Added
  • Tasks API: task.reopened webhook event; task.updated webhook event
  • Webhook Endpoints API: endpoints scoped and managed by OAuth apps
Webhook Endpoints API
Added
  • Webhook Endpoints API: add creator to webhook endpoint resource
Tasks API
Added
  • Tasks API: task.completed webhook event; task.created webhook event
Staff API
Added
  • Staff API: show endpoint
Staff API
Added
  • Staff API: list endpoint
Tasks API
Added
  • Tasks API: open endpoint
Tasks APIUnit Allocations API
Added
  • Tasks API: complete endpoint; delete endpoint; update endpoint
  • Unit Allocations API: list endpoint
Unit Allocations API
Added
  • OAuth 2: Authorization Code flow support
  • Unit Allocations API: show endpoint
Contacts API
Added
  • Contacts API: filter by email
Tasks API
Added
  • Tasks API: create endpoint
Tasks API
Added
  • Tasks API: show endpoint; list endpoint
Webhook Endpoints API
Added
  • Webhook Endpoints API: index filters
Contacts APIContract Templates APICoupons APICredit Notes APIInvoices APIOrders APIOrders Line Items APIProduct Categories APIProducts APIProtection Levels APISites APISubscriptions APITenancies APIUnit Types APIUnits API
Official release of the 2025-09 version.Added
  • Contacts API: initial
  • Contract Templates API: initial
  • Coupons API: initial
  • Credit Notes API: PDF support; filters; initial
  • Filters: Time ranged filters
  • Invoices API: PDF support; filters; initial
  • Orders API: orders summary; support for starts at now; update action; filters; initial version of the create action; add billing_period to the order; initial version of index and show actions
  • Orders Line Items API: delete endpoint; update endpoint; create endpoint; list endpoint
  • Product Categories API: initial
  • Products API: filters; initial
  • Protection Levels API: initial
  • Sites API: initial
  • Subscriptions API: initial
  • Tenancies API: initial
  • Unit Types API: Base Price; initial
  • Units API: filters; initial
  • Add the Money component
  • Expandable responses
  • Initial resource sorting
  • Preparation for expandable resources in responses
  • Webhooks Core