Skip to main content
GET
List transactions

Authorizations

Authorization
string
header
required

A group API key, sent as Authorization: Bearer sw_live_…. Keys from staging and the demo start sw_test_ instead. A group admin creates keys in Settings → Integrations → API keys.

Scopes

accounting:read

Query Parameters

cursor
string

Opaque. Pass the nextCursor of the previous page, with the same filters, to get the next one. Do not build or parse it.

Required string length: 1 - 512
limit
integer
default:50

Page size, 1 to 200. Defaults to 50.

Required range: 1 <= x <= 200
from
string<date>

Only lines dated on or after this day.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
to
string<date>

Only lines dated on or before this day.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
bankAccountId
string<uuid>

Only lines on this account. Must be one of the group’s.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
type
enum<string>
Available options:
income,
expense
categoryId
string<uuid>

Only lines in this category, directly or through a split line. Must be one of the group’s.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
source
enum<string>
Available options:
csv,
gocardless,
gocardless_webhook,
stripe,
manual,
cash_payment,
api
updatedSince
string<date-time>

Only lines that changed at or after this time. Pass the previous walk’s nextUpdatedSince. With includeDeleted=true, a line deleted since then comes back with deletedAt set.

includeDeleted
enum<string>

With true, deleted records come back too, each with deletedAt set, so a sync can remove its copy. Defaults to false.

Available options:
true,
false

Response

OK

data
object[]
required
nextCursor
string | null
required

Pass as ?cursor= for the next page. Null on the last. Opaque.

nextUpdatedSince
string<date-time>

Only with updatedSince. Pass it as updatedSince on your next sync. It is a little before this walk began, so a record changed while you were paging is read again next time, never missed.