Skip to content
API reference · v1

The Sway API

A REST API for AI agents and third-party developers to query and act on Sway data: workspaces, bank accounts, invoices, payments and the ledger.

Base URL
https://api.business.swayapp.io/v1
Auth
Authorization: Bearer <token>
Format
JSON · OpenAPI 3.1.0 · 19 resources

Guides

How to send a key, read a whole list and handle an error, with code you can copy.

Ask Claude about your Sway dataThe Sway connector for Claude Desktop reads your workspaces through the API, with a key that you limit to what Claude may see. Set up the Claude connector

Resources

Each resource has its own page: its endpoints, its object, and a sample of every request and response.

Workspace

Banking

Billing

Payments

Accounting

Files and account

Release notes tagged API

API changelog

All API changes
  1. Core Services 1.225.0NewA documented openapi.json now describes the Sway API with each release
  2. Core Services 1.225.0NewThe API reference now documents the shared types
  3. Core Services 1.225.0NewThe API reference now points to the api.business.swayapp.io domain
  4. Core Services 1.222.0FixImproved handling of pagination edge cases
  5. Core Services 1.221.0NewUpload bank statements to a bank account and parse their transactions directly through the API
  6. Core Services 1.220.0NewUpload invoices, bills and bank statements straight through the API
  7. Core Services 1.216.0FixInvoice search returns receivable invoices too, and finds an invoice by its counterparty name
  8. Web App 1.45.0NewA new developer page lets you create, view and revoke your API keys, with scopes and expiry of your choice
  9. Core Services 1.215.0NewYou can now create API keys with their own expiry date and permission scopes
  10. Core Services 1.211.0NewAdd support to download exported files
  11. Core Services 1.207.0NewSway now offers a REST API with API key support, making it possible to integrate Sway with external tools and services

Each entry links to the release that shipped it, with every other change of that release.

Start building on your own data.

Create an account, open Profile › Developer and create a key scoped to the resources you need. Questions about an integration? The team answers them on a call.