Skip to main content
Brex logo

Brex

Lets an agent read your Brex corporate-card data - accounts, card transactions, expenses, budgets, and team members - and create budgets via the Brex API v2.

What it can do

MethodWhat it does
brex_meGet the authenticated API token owner and account id; call first.
brex_accounts_listList all Brex accounts (subsidiaries) with name, status, currency.
brex_account_getGet one account's details by account id.
brex_transactions_listList card transactions for an account, filtered by posted-at date range.
brex_transaction_getGet one card transaction by id - amount, merchant, date, status.
brex_expenses_listList expenses for an account, filtered by date range and status.
brex_expense_getGet one expense by id - amount, status, receipts, approval history.
brex_budgets_listList budgets for an account with limit, dates, and current spend.
brex_budget_getGet one budget by id - definition, remaining balance, spend vs limit.
brex_budget_createCreate a budget (name, limit, start/end dates); write action - confirm first.
brex_users_listList team members for an account with names, emails, roles, ids.
brex_user_getGet one team member by id - name, email, role, status.

How to get credentials

You need admin access to your Brex account to create a developer token.

  1. Open dashboard.brex.com/settings/developer.
  2. Create a new API key / developer token.
  3. Grant the scopes the agent needs (e.g. read on accounts, transactions, expenses, budgets, users; write on budgets if you want brex_budget_create).
  4. Copy the generated token.

Fields to fill in FlyMyAI

FlyMyAI fieldWhere it comes from
BREX_API_KEYBrex dashboard -> Settings -> Developer -> create API key
We love our partners - FlyMy.AI builds with the best. Thanks, Brex!