The Capture API allows you to extract fully approved expenses and mark them as exported once processed. This guide walks you through generating your API key, authenticating requests, and using the relevant endpoints.
API Documentation
All endpoint definitions, along with request and response formats, can be found in Capture API Swagger Documentation
Generating Your API Key
Before you can make API calls, you’ll need a secret key to authenticate requests. This key can be generated in Setup > Settings > Integration > Capture Expense.
Where to Generate or View Your API Key

Use the screenshot above to locate where to generate or retrieve your secret key within the Capture platform.
Authentication
Once you have your secret key, include it in the headers of every API request:
Header Key:
X-API-KeyHeader Value:
[your generated secret key]
This is required for both exporting expenses and updating their export status.
Key Endpoints
1. GET api/Expenses/Export
Returns all expenses that are fully approved and ready to be exported.
? Response Schema Example
This is a sample of the response you’ll receive from this endpoint:
JSON
Each item in the data array represents an individual approved expense.
2. POST api/Expenses/ExportStatusUpdate
Use this endpoint to mark expenses as exported once you've processed them.
Request Body Example
JSON
You can batch multiple records into a single update request.