Brex
Overview
SLUG: BREX
Description
Brex provides corporate credit cards, spend management, and financial tools tailored for startups and tech businesses to optimize cash flow, accounting, and growth
Authentication Details
OAuth2
API Key
Connecting to Brex
Create an auth config
Use the dashboard to create an auth config for the Brex toolkit. This allows you to connect multiple Brex accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Brex Auth Config”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using OAuth2
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Brex toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
BREX_CREATE_BUDGET
Tool Name: Create Budget
Description
Action Parameters
Action Response
BREX_CREATE_CARD
Tool Name: Create Card
Description
Action Parameters
Action Response
BREX_CREATE_DEPARTMENT
Tool Name: Create Department
Description
Action Parameters
Action Response
BREX_CREATE_EXPENSE
Tool Name: Create Expense
Description
Action Parameters
Action Response
BREX_CREATE_LOCATION
Tool Name: Create Location
Description
Action Parameters
Action Response
BREX_CREATE_TITLE
Tool Name: Create Job Title
Description
Action Parameters
Action Response
BREX_CREATE_USER
Tool Name: Create User
Description
Action Parameters
Action Response
BREX_CREATE_VENDOR_CARD
Tool Name: Create Vendor Card
Description
Action Parameters
Action Response
BREX_GET_ACCOUNT_DETAILS
Tool Name: Get Account Details
Description
Action Parameters
Action Response
BREX_GET_ACCOUNT_STATEMENTS
Tool Name: Get Account Statements
Description
Action Parameters
Action Response
BREX_GET_BUDGET_DETAILS
Tool Name: Get Budget Details
Description
Action Parameters
Action Response
BREX_GET_BUDGET_TRANSACTIONS
Tool Name: Get Budget Transactions
Description
Action Parameters
Action Response
BREX_GET_CARD_DETAILS
Tool Name: Get Card Details
Description
Action Parameters
Action Response
BREX_GET_CARD_TRANSACTIONS
Tool Name: Get Card Transactions
Description
Action Parameters
Action Response
BREX_GET_COMPANY_CASH_ACCOUNTS
Tool Name: Get Company Cash Accounts
Description
Action Parameters
Action Response
BREX_GET_EXPENSES
Tool Name: Get Expenses
Description
Action Parameters
Action Response
BREX_GET_EXPENSE_DETAILS
Tool Name: Get Expense Details
Description
Action Parameters
Action Response
BREX_GET_SPEND_LIMITS
Tool Name: Get Spend Limits
Description
Action Parameters
Action Response
BREX_GET_TRANSACTIONS
Tool Name: Get Transactions
Description
Action Parameters
Action Response
BREX_GET_TRANSACTIONS_BY_AMOUNT_RANGE
Tool Name: Get Transactions by Amount Range
Description
Action Parameters
Action Response
BREX_GET_TRANSACTIONS_BY_DESCRIPTION
Tool Name: Get Transactions by Description
Description
Action Parameters
Action Response
BREX_GET_TRANSACTION_BY_ID
Tool Name: Get Transaction by ID
Description
Action Parameters
Action Response
BREX_GET_USER_PROFILE
Tool Name: Get User Profile
Description
Action Parameters
Action Response
BREX_LIST_BUDGETS
Tool Name: List Budgets
Description
Action Parameters
Action Response
BREX_LIST_CARDS
Tool Name: List Cards
Description
Action Parameters
Action Response
BREX_LIST_DEPARTMENTS
Tool Name: List Departments
Description
Action Parameters
Action Response
BREX_LIST_LOCATIONS
Tool Name: List Locations
Description
Action Parameters
Action Response
BREX_LIST_TITLES
Tool Name: List Job Titles
Description
Action Parameters
Action Response
BREX_LIST_USERS
Tool Name: List Users
Description
Action Parameters
Action Response
BREX_LIST_VENDORS
Tool Name: List Vendors
Description
Action Parameters
Action Response
BREX_TRANSFER_CARD
Tool Name: Transfer Card
Description
Action Parameters
Action Response
BREX_UPDATE_BUDGET
Tool Name: Update Budget
Description
Action Parameters
Action Response
BREX_UPDATE_CARD_LIMITS
Tool Name: Update Card Limits
Description
Action Parameters
Action Response
BREX_UPDATE_CARD_STATUS
Tool Name: Update Card Status
Description
Action Parameters
Action Response
BREX_UPDATE_USER
Tool Name: Update User
Description
Action Parameters
Action Response