Brex

Finance API token

Read transactions, cards, budgets and expenses from Brex, and act on them, in any Windmill script, flow or app.

Set up in 3 steps

1

Create an API token

In the Brex dashboard, open Developer then Create token, and grant only the scopes your scripts need. Copy it — it is shown only once.

2

Add the resource in Windmill

Open Resources, add a resource of type brex, and paste the token.

3

Run your first script

Fork any script below and read before writing anything. There are dozens here, so search by the verb you need.

Scripts

Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.

Resource type

brex — the shape of the credential every script on this page expects.

View raw schema →
FieldTypeRequiredWhat it is
tokenstringYesAPI token retrieved from the settings page.

Questions

This reads company spend

It does. Scope the token to what a script needs and keep the resource in a folder only the right people can read.

A call returns 403 on a working token

Brex fixes scopes when the token is created and they cannot be widened. Create a new token with the scope the script needs.

Is my token stored on the hub?

Never. It lives only in your own Windmill workspace, encrypted at rest.