Weavz
Brex

Brex

Read-only Brex Team API 1.0, Transactions API 1.0, Expenses API 0.1, and Budgets API 1.0.

32 tools

Tools

Name
get_current_user

Team API 1.0: validate the token and get the current Brex user with GET /v2/users/me.

get_company

Team API 1.0: get the Brex company profile with GET /v2/company.

list_users

Team API 1.0: list Brex users with cursor pagination and official filters.

get_user

Team API 1.0: get a Brex user by ID with GET /v2/users/{id}.

list_departments

Team API 1.0: list Brex departments with GET /v2/departments.

get_department

Team API 1.0: get a Brex department by ID with GET /v2/departments/{id}.

list_locations

Team API 1.0: list Brex locations with GET /v2/locations.

get_location

Team API 1.0: get a Brex location by ID with GET /v2/locations/{id}.

list_titles

Team API 1.0: list Brex titles with GET /v2/titles.

get_title

Team API 1.0: get a Brex title by ID with GET /v2/titles/{id}.

list_legal_entities

Team API 1.0: list Brex legal entities with GET /v2/legal_entities.

get_legal_entity

Team API 1.0: get a Brex legal entity by ID with GET /v2/legal_entities/{id}.

list_card_accounts

Transactions API 1.0: list Brex card accounts with GET /v2/accounts/card.

list_cards

Team API 1.0: list Brex cards with GET /v2/cards. This action does not retrieve card PAN data.

get_card

Team API 1.0: get Brex card metadata with GET /v2/cards/{id}. This action does not retrieve card PAN data.

list_cash_accounts

Transactions API 1.0: list Brex cash accounts with GET /v2/accounts/cash.

get_primary_cash_account

Transactions API 1.0: get the primary Brex cash account with GET /v2/accounts/cash/primary.

get_cash_account

Transactions API 1.0: get a Brex cash account by ID with GET /v2/accounts/cash/{id}.

list_card_transactions

Transactions API 1.0: list transactions for all Brex card accounts with GET /v2/transactions/card/primary.

list_cash_transactions

Transactions API 1.0: list transactions for a Brex cash account with GET /v2/transactions/cash/{id}.

list_card_statements

Transactions API 1.0: list primary card account statements with GET /v2/accounts/card/primary/statements.

list_cash_statements

Transactions API 1.0: list statements for a Brex cash account with GET /v2/accounts/cash/{id}/statements.

list_expenses

Expenses API 0.1: list Brex expenses with GET /v1/expenses.

get_expense

Expenses API 0.1: get a Brex expense with GET /v1/expenses/{id}.

list_card_expenses

Expenses API 0.1: list Brex card expenses with GET /v1/expenses/card.

get_card_expense

Expenses API 0.1: get a Brex card expense with GET /v1/expenses/card/{expense_id}.

list_budget_programs

Budgets API 1.0: list Brex budget programs with GET /v1/budget_programs.

get_budget_program

Budgets API 1.0: get a Brex budget program with GET /v1/budget_programs/{id}.

list_budgets

Budgets API 1.0: list Brex budgets with GET /v2/budgets.

get_budget

Budgets API 1.0: get a Brex budget with GET /v2/budgets/{id}.

list_spend_limits

Budgets API 1.0: list Brex spend limits with GET /v2/spend_limits.

get_spend_limit

Budgets API 1.0: get a Brex spend limit with GET /v2/spend_limits/{id}.

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('brex', 'get_current_user', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'brex',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect Brex to my app?

Use Weavz Hosted Connect for Custom authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.

What tools does Brex support?

Brex supports 32 tools including Get Current User, Get Company, List Users, Get User, List Departments, and more.

Can I use Brex with AI agents?

Yes. Add Brex to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.

Can Brex be used in stateful agent workflows?

Yes. Agents can combine Brex tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.

What authentication does Brex use?

Brex uses Custom. Weavz stores credentials securely and uses them for authorized action execution.

How much does the Brex integration cost?

The Brex integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

Connect Brex in minutes

Get 20,000 free action executions every month. No credit card required.