← Tools Reference

Brex

Brex integration (Finance). Imported from open-connector.

API key9 toolshttps://api.brex.com
GET
brex_get_current_user
Retrieve the Brex user associated with the connected user token.

/v2/users/me

GET
brex_get_company
Retrieve the Brex company associated with the connected user token.

/v2/company

GET
brex_list_users
List Brex users with optional email, remote display ID, and cursor filters.

/v2/users

5 parameters
ParamTypeRequiredDescription
cursorstringoptionalThe Brex cursor returned from a previous list response.
limitintegeroptionalMaximum number of records to return.
emailstringoptionalFilter users by a single email address.
remoteDisplayIdstringoptionalFilter users by one remote display ID.
expandarrayoptionalBrex expandable fields to include in the response.
GET
brex_list_card_accounts
List Brex card accounts for the connected company.

/v2/accounts/card

GET
brex_list_primary_card_transactions
List settled transactions across all Brex card accounts with optional user and date filters.

/v2/transactions/card/primary

5 parameters
ParamTypeRequiredDescription
cursorstringoptionalThe Brex cursor returned from a previous list response.
limitintegeroptionalMaximum number of records to return.
userIdsarrayoptionalBrex user IDs to filter transactions by.
postedAtStartstringoptionalReturn transactions posted on or after this RFC 3339 timestamp.
expandarrayoptionalBrex expandable fields to include in the response.
GET
brex_list_expenses
List Brex expenses with documented filters and cursor pagination.

/v1/expenses

17 parameters
ParamTypeRequiredDescription
cursorstringoptionalThe Brex cursor returned from a previous list response.
limitintegeroptionalMaximum number of expenses to return.
expandarrayoptionalBrex expandable fields to include in the response.
userIdsarrayoptionalBrex user IDs to filter expenses by.
parentExpenseIdsarrayoptionalParent expense IDs to filter itemized expenses by.
budgetIdsarrayoptionalBrex budget IDs to filter expenses by.
spendingEntityIdsarrayoptionalBrex spending entity IDs to filter expenses by.
expenseTypearrayoptionalBrex expense types to filter by.
statusarrayoptionalBrex expense statuses to filter by.
paymentStatusarrayoptionalBrex expense payment statuses to filter by.
purchasedAtStartstringoptionalReturn expenses purchased on or after this RFC 3339 timestamp.
purchasedAtEndstringoptionalReturn expenses purchased on or before this RFC 3339 timestamp.
updatedAtStartstringoptionalReturn expenses updated on or after this RFC 3339 timestamp.
updatedAtEndstringoptionalReturn expenses updated on or before this RFC 3339 timestamp.
paymentPostedAtStartstringoptionalReturn expenses with payment posted on or after this RFC 3339 timestamp.
paymentPostedAtEndstringoptionalReturn expenses with payment posted on or before this RFC 3339 timestamp.
loadCustomFieldsbooleanoptionalWhether Brex should load custom fields for expenses.
GET
brex_get_expense
Retrieve one Brex expense by ID.

/v1/expenses/{id}

3 parameters
ParamTypeRequiredDescription
idstringrequiredThe Brex resource identifier.
expandarrayoptionalBrex expandable fields to include in the response.
loadCustomFieldsbooleanoptionalWhether Brex should load custom fields for the expense.
GET
brex_list_budgets
List Brex budgets with cursor pagination.

/v2/budgets

2 parameters
ParamTypeRequiredDescription
cursorstringoptionalThe Brex cursor returned from a previous list response.
limitintegeroptionalMaximum number of records to return.
GET
brex_get_budget
Retrieve one Brex budget by ID.

/v2/budgets/{id}

1 parameter
ParamTypeRequiredDescription
idstringrequiredThe Brex resource identifier.