Skip to main content
GET
Get an expense claim

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

expenses:read

Path Parameters

claimId
string<uuid>
required
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)$

Response

OK

data
object
required

A submitted expense claim. Its total is the sum of every line, rejected lines included: add up the lines by status for what is still to pay. An old claim made before claims had lines has none, and its total is its own amount.

{key}
any