Skip to main content
The Spacebase API lets you connect your real estate data with other products and services. Read your lease portfolio programmatically, keep headcount and capacity up to date, manage invoices and payments, and configure webhooks — all over a standard JSON REST API.

Who can use the API

The API is available on the Enterprise plan and requires an API token. Every request must be authenticated by a user on an Enterprise plan who holds a token.
To get started, open the Account menu in the top right corner and select Enterprise API. If you’re an Enterprise customer, ask your account manager for instructions on getting set up with an API token. If you’re not on an Enterprise plan yet, contact support@spacebaseapp.com to learn about upgrading. A few things to know about access:
  • Data is scoped to your company. Every endpoint returns only your own company’s data — there’s no way to see or modify another company’s records.
  • Your in-app permissions apply. Some resources require the same permissions you’d need in the Spacebase UI. For example, managing users through the API requires the manage company users permission, and custom fields and webhooks require the manage company settings permission.
  • Module availability applies. Invoice and payment endpoints require the payments module, and journal entry exports require the accounting module.
  • Leases must be published. Draft leases aren’t accessible through the API.

Authentication

The API uses token authentication. Include your token in the Authorization header of every request, prefixed by Token:
If you’re signed in to Spacebase in your browser, you can retrieve your token from the /api/token/ endpoint:
Treat your API token like a password. It grants the same access as your Spacebase account — store it in a secrets manager and never commit it to source control.

Requests and responses

  • Base path — all endpoints live under /api/ on your Spacebase domain.
  • Format — JSON for all requests and responses. Send Content-Type: application/json on writes.
  • Dates — timestamps use ISO 8601 (2026-07-01T00:00:00Z); plain dates use YYYY-MM-DD.
  • Pagination — list endpoints return 10 results per page. Use ?page=2 to move through pages; each response includes count, next, and previous alongside results:

Available resources

Notes on specific resources:
  • Leases support a ?modified_after= filter with an ISO 8601 timestamp, so you can fetch only leases that changed since your last sync — for example /api/leases/?modified_after=2026-07-01T00:00:00Z.
  • Invoices support filtering by ?status=, ?integration_status=, ?lease_id=, and ?payable_to=.
  • Headcount and capacity records are monthly: dates must fall on the first of a month within the lease’s commencement and expiration dates, and the lease’s property type must have headcount tracking enabled.

Common examples

Interactive API reference

Full request and response schemas for every endpoint live in the interactive reference built into Spacebase:
  • API referencehttps://spacebaseapp.com/api/documentation/ documents each endpoint, its parameters, and its response format.
  • Browsable API — while signed in, visit /api/ in your browser to explore the live API root and click through your own data.
Both require the same Enterprise plan and API token access as the API itself.

FAQ

Work through these checks:
  1. Your Authorization header uses the exact format Token your-token-key — the word Token, a space, then the key.
  2. Your company is on an Enterprise plan and your user has been issued an API token.
  3. The endpoint doesn’t require an extra permission you’re missing — for example, invoice endpoints require payments permissions and the payments module, and user management requires the manage company users permission.
Only published leases are available through the API. Draft leases and leases outside your user’s access (if your account is limited to a subset of leases) won’t appear.
There’s no published rate limit today. For efficient syncing, use the ?modified_after= filter on leases rather than repeatedly fetching your full portfolio, and consider webhooks to be notified of changes instead of polling.
Set up webhooks. Spacebase sends a signed POST request to your endpoint whenever a subscribed resource is created, updated, or deleted — no polling required.
No — leases are read-only through the API. Leases are created and abstracted in the Spacebase app. You can, however, update a lease’s custom field values, headcount, and capacity through the API.