Your AI team, working in Brex

Brex provides corporate credit cards, spend management, and financial tools tailored for startups and tech businesses to optimize cash flow, accounting, and growth

Start your company

What your team can do in Brex

84 tools to work with, connected with an API key.

Add Webhook Group Members

Add webhook subscription members to a webhook group. This action associates one or more webhook subscriptions with an existing webhook group, allowing those subscriptions to receive events targeted at the group. Note: Webhook groups are only available for Brex partner accounts. Requires an existing webhook group ID and valid webhook subscription IDs. Use this when you need to organize webhook subscriptions into groups for easier management of webhook events across multiple subscriptions.

Archive Budget

Archive a budget to mark it as inactive and prevent future expenses. Archives the specified budget, making it unusable for new transactions and removing it from active budget lists in the UI. This action is permanent and cannot be undone.

Archive Spend Limit

Archive a spend limit in Brex. Archives an existing spend limit to remove it from active use, making it unusable for future expenses and hiding it from the UI. Once archived, the spend limit cannot be used to authorize new transactions.

Create Budget

Create a new budget for a department or project under an existing parent budget.

Create Card

Create a new card and assign it to a user.

Create Custom Field

Create a new custom field in Brex. Use when you need to add custom metadata fields for accounting or ERP integrations. Fields can be associated with specific integrations and can be enabled or disabled as needed.

Create Department

Create a new department.

Create Document Upload for Referral

Create a document upload URL for a referral and return a pre-signed S3 upload URL. Use this tool when you need to upload supporting documents for a business referral application. The tool returns a pre-signed S3 URL that can be used to upload document files (PDF, JPG, PNG, etc.) up to 50 MB. The pre-signed URL expires 30 minutes after creation and can only be used for a PUT operation. Supported document types: - ARTICLES_OF_INCORPORATION: Company incorporation documents - IRS_EIN_CONFIRMATION: IRS CP 575 or 147C form (EIN confirmation letter) - IRS_EIN_APPLICATION: IRS SS4 form (Application for Employer Identification Number) - CERTIFICATE_GOOD_STANDING: Certificate of good standing from the state

Create Expense

Create a new expense.

Create Field Values

Create custom field values for a specific Brex field. Use when you need to add new dropdown options or values to a custom field (up to 1000 values per request). This action allows you to bulk-create field values for custom fields in Brex. Custom fields are used throughout Brex for categorizing expenses, cards, budgets, and other entities. Each value can have a custom ID, be marked as disabled, and include an external system reference for integrations.

Create Job Title

Create a new job title.

Create Location

Create a new location.

Create Receipt Match

Creates a receipt match request and returns a pre-signed S3 upload URI. Use this when you need to upload a receipt that will be automatically matched to existing Brex card expenses. The returned URI allows secure file upload (max 50 MB) and expires 30 minutes after creation. After upload completes, Brex will automatically attempt to match the receipt with card transactions based on date, amount, and merchant information.

Create Receipt Upload for Expense

Creates a receipt upload request for a specific card expense and returns a pre-signed S3 upload URL. Use this tool when you need to attach a receipt to an existing Brex card expense. The tool returns a pre-signed S3 URL that can be used to upload receipt files (PDF, JPG, PNG, etc.) up to 50 MB. The pre-signed URL expires 30 minutes after creation and can only be used for a PUT operation. Requirements: - The expense_id must belong to an existing card expense in the Brex system - The expense must be accessible by the authenticated user - Receipt file names should include the file extension (e.g., 'receipt.pdf', 'invoice.jpg') Note: For uploading receipts that should be automatically matched to expenses (without specifying an expense_id), use the BREX_RECEIPT_MATCH action instead.

Create Referral Request

Tool to create a new referral to Brex for onboarding. Use when you want to refer a prospect to Brex and get a personalized application link. The response contains a unique referral ID and a personalized signup URL. Many fields are optional; when provided, they prefill the application form for the prospect. The referral link expires after a certain time period.

Create Spend Limit

Tool to create a spend limit in Brex. Use when you need to establish spending controls with authorization settings, visibility rules, and policy associations. Requires expense policy ID and authorization settings. Optionally link to parent budget.

Create Spend Limit (Budget V1)

Tool to create a new Spend Limit (Budget) in Brex. Use when you need to set up spending controls with specific limits, visibility settings, and period types.

Create User

Create a new user in the Brex account.

Create Vendor

Create a new vendor in Brex for payment operations. The vendor company name must be unique within your Brex account - attempting to create a vendor with a duplicate name will result in an error. You can optionally include contact information (email, phone) and payment account details (ACH, wire transfer, or check) at creation time. Returns a vendor ID that can be used in transfer operations and other vendor-related actions.

Create Webhook Group

Tool to create a webhook group for targeting webhook subscriptions. Use when you need to create a webhook group to organize webhook subscriptions for specific members. Webhook groups are only available for partners.

Create Webhook Subscription

Register a new webhook subscription to receive real-time notifications for Brex events. This allows you to be notified via HTTPS POST requests when events occur, such as USER_UPDATED, EXPENSE_PAYMENT_UPDATED, TRANSFER_PROCESSED, TRANSFER_FAILED, and others. Note: Currently only one webhook endpoint can be registered per customer/client_id, though each endpoint can handle multiple event types. Requires 'openid' and 'offline_access' OAuth scopes, plus event-specific scopes (e.g., 'expenses.card.readonly' for EXPENSE_PAYMENT_UPDATED).

Delete Field

Tool to delete a custom field by Brex ID. Use when you need to permanently remove a custom field from the system.

Delete Field Values

Delete custom field values for a specific field. You can delete up to 1000 values at once. Each value must be identified by exactly one of: brex_id (Brex-generated ID), value_id (value identifier), or remote_id (external system ID). Use this when you need to bulk delete field values from a custom field.

Delete Vendor

Delete a vendor by ID. Use this when you need to remove a vendor from the system. The vendor must exist and not have any pending transactions or dependencies.

Get Account StatementsReads only

Get finalized statements for the primary cash account. Returns statement history including start and end balances for each statement period.

Get Budget DetailsReads only

Get detailed information about a specific budget. This action retrieves comprehensive budget details including balance, limits, ownership, and period information from the Brex v2 Budgets API.

Get Card DetailsReads only

Get detailed information about a specific card.

Get Card ExpenseReads only

Tool to retrieve detailed information about a specific card expense by its ID. Use when you need to get comprehensive details about a card transaction, including merchant information, amounts, status, and other expense metadata. Supports expanding additional fields like merchant MCC code, location, department, user, budget, and payment details.

Get Card NumberReads only

Get card number, CVV, and expiration date for a specific card.

Get Card TransactionsReads only

Get settled card transactions for the primary card account. Returns purchases, refunds, and chargebacks that have been posted/settled. Use the next_cursor field in the response for pagination to retrieve additional results. No server-side date filtering is supported; filter by posted_at_date client-side after fetching. For large accounts, process pages incrementally rather than accumulating all results in memory.

Get Card TransactionsReads only

Get settled card transactions from the primary Brex account, with optional client-side posted-date filtering. Results are paginated, but filtering out items clears the next cursor, so filtered results may omit later pages.

Get Company Cash AccountsReads only

Retrieve company cash (deposit) accounts one page at a time, including balances, account numbers, routing numbers, and status. Use the next cursor to retrieve additional pages; requires the 'accounts.cash.readonly' scope.

Get Company DetailsReads only

Get company information associated with the OAuth2 access token. Returns details including company ID, legal name, account type, and mailing address.

Get Department By IDReads only

Get detailed information about a specific department by ID. Use when you need to retrieve department details for a given department identifier.

Get ExpenseReads only

Tool to get details of a specific expense by ID. Use when you need to retrieve complete information about an expense including merchant details, receipts, budget allocation, and payment status.

Get Field By IDReads only

Tool to retrieve a custom field by its Brex ID. Use when you need detailed information about a specific custom field.

Get Field Value By IDReads only

Retrieve a custom field value by its parent field ID and the value's Brex ID.

Get Legal EntityReads only

Tool to retrieve a legal entity by its ID from Brex. Use when you need detailed information about a specific legal entity.

Get Location By IDReads only

Get detailed information about a specific location by ID. Use when you need to retrieve location details for a given location identifier.

Get Referral By IDReads only

Tool to retrieve a specific referral by its ID from Brex. Use when you need to check the status of a referral or get the signup URL.

Get Spend Limit By IDReads only

Tool to get detailed information about a specific spend limit by its ID. Use when you need to retrieve the configuration, status, balance, or settings of a particular spend limit.

Get Spend LimitsReads only

Get spend limits configuration for the account. The request retrieves one page, with a configurable limit; it cannot request subsequent pages.

Get Title by IDReads only

Get detailed information about a specific job title by ID. Use when you need to retrieve title details for a given title identifier.

Get Transaction by IDReads only

Get a card transaction by ID by searching up to 10 pages of transactions from the primary account. A transaction beyond the searched pages may not be found.

Get Transactions by Amount RangeReads only

Find primary-account card transactions within an inclusive USD amount range and posted-date range. The search covers one page and may not include all matching transactions; the requested result limit is 1–1,000.

Get User LimitReads only

Retrieves the monthly spending limit and available balance for a specific Brex user. Use this action when you need to check how much a user is allowed to spend per month and how much of that limit remains available. Returns empty if no spending limit has been configured for the user.

Get User ProfileReads only

Get user profile information from Brex Team API. Returns the user profile associated with the OAuth2 access token when using 'me', or retrieves a specific user's profile when providing a user ID. Requires 'users.readonly' or 'users' OAuth scope.

Get Vendor By IDReads only

Tool to get vendor details by ID. Use when you need to retrieve information about a specific vendor including payment accounts.

Get Webhook GroupReads only

Tool to retrieve details of a specific webhook group by ID. Use when you need to get information about a webhook group including its name and identifier. Webhook groups allow webhook subscriptions to target specific members, providing granular control over webhook delivery. This feature is only available for Brex partners. Returns the webhook group's ID and name.

Get Webhook SubscriptionReads only

Tool to retrieve details of a specific webhook subscription by ID. Use this when you need to: - Get information about an existing webhook subscription - Verify webhook configuration (URL, event types, status) - Check if a webhook subscription is active or inactive - Retrieve the webhook group ID for partner integrations Returns the webhook subscription's ID, URL, event types, status (ACTIVE/INACTIVE), and optionally the webhook group ID.

List Budget ProgramsReads only

Tool to list all budget programs in the organization. Use when you need to retrieve budget programs that define spend limits for eligible users.

List BudgetsReads only

List a page of budgets and calculate an available-budget summary from the returned budgets.

List Card AccountsReads only

Tool to list all card accounts for the company. Use when you need to retrieve information about card accounts, including balances and statement periods.

List Card StatementsReads only

Tool to list finalized statements for primary card accounts. Use when you need to retrieve statement history for primary card accounts including balances and statement periods.

List CardsReads only

List cards associated with the account, returning one page at a time. Use the next cursor to retrieve additional pages.

List DepartmentsReads only

List departments in the organization one page at a time. Use the next cursor to retrieve additional pages.

List ExpensesReads only

Tool to list expenses from the Brex platform. Use when you need to retrieve expenses with various filters such as user, budget, date ranges, or status. Supports pagination and expandable fields for additional details.

List Field ValuesReads only

List a page of values under a custom field, optionally filtering by Brex ID, value ID, remote ID, or value string. Use the returned cursor to retrieve subsequent pages.

List Job TitlesReads only

List job titles in the organization, one page at a time, using a cursor to retrieve subsequent pages.

List Legal EntitiesReads only

Tool to list all legal entities in the Brex account with pagination support. Use when you need to retrieve all legal entities or browse through them page by page.

List LocationsReads only

List locations in the organization, one page at a time. Use the returned cursor to retrieve subsequent pages.

List ReferralsReads only

Tool to list all referrals created in the Brex account. Use when you need to view or manage customer referrals. Note: This endpoint only returns active referrals and does not include expired ones.

List TransfersReads only

Lists transfers for the account. Use when you need to retrieve transfer history or monitor transfer status.

List TripsReads only

Lists trips according to the filters passed in the query string. Use when you need to retrieve trip history or monitor trip status.

List UsersReads only

List users in the Brex account, one page at a time using a limit and pagination cursor.

List VendorsReads only

List vendors in Brex, one page at a time using a limit and pagination cursor.

List Webhook Group MembersReads only

Tool to list all members of a webhook group. Use when you need to retrieve the webhook subscriptions that are members of a specific webhook group. Supports pagination using cursor and limit parameters.

List Webhook GroupsReads only

Tool to list all webhook groups. Use when you need to retrieve all webhook groups in the system. Webhook groups allow subscriptions to target specific members and are only available for Brex partners. Supports pagination using cursor and limit parameters.

List Webhook SecretsReads only

Tool to retrieve webhook signing secrets for validating incoming webhook messages from Brex. Use when you need to verify webhook authenticity. During key rotation, this may return two secrets.

List Webhook SubscriptionsReads only

Tool to list all registered webhook subscriptions. Use when you need to retrieve all webhook subscriptions configured in the Brex account, including their URLs, event types, and status. Supports pagination using cursor and limit parameters.

Search Transactions by DescriptionReads only

Search and filter card transactions by description text. This action retrieves transactions from the primary card account and filters them by description (case-insensitive partial match) and date range. Useful for finding all transactions from a specific merchant or category.

Set User Limit

Set or update a Brex user's monthly spending limit, with amounts in the smallest currency unit. A null or omitted monthly limit requests removal of the existing limit.

Transfer Card

Transfer a card to a different user.

Update Budget

Update an existing budget's configuration in Brex. This action allows you to modify budget properties such as name, description, amount limits, ownership, parent budget relationships, and recurrence settings. Only the fields you provide will be updated; all other fields remain unchanged. Common use cases: - Adjust budget amounts (increase or decrease limits) - Change budget ownership or reassign to different users - Update budget names and descriptions for clarity - Modify recurrence periods (e.g., change from MONTHLY to QUARTERLY) - Reorganize budget hierarchy by changing parent budgets

Update Card Limits

Update spending limits and controls for a Brex card. This action allows you to modify the spending limits, duration, and lock date for cards that have limit_type=CARD. You can update one or more spend control settings while leaving others unchanged. Cards with limit_type=USER inherit limits from the user and cannot be updated with this action.

Update Card Status

Update the status of a Brex card by locking, unlocking, or terminating it. This action provides a unified interface for card status management: - Lock a card to temporarily block transactions (requires lock_reason) - Unlock a locked card to resume normal operation - Terminate a card permanently (cannot be undone) The action uses the appropriate Brex API endpoint based on the target status.

Update Expense

Update a card expense by ID, modifying one or more of its memo, location, department, or category fields in a single request.

Update Field

Tool to update a custom field in Brex. Use when you need to modify a field's name or disable/enable it.

Update Field Values

Tool to update custom field values in Brex for a specific field. Use when you need to modify existing field values, supporting batch updates of up to 1000 values at once. Each value can be identified by brex_id (entity identifier), value_id (field value ID), or remote_id (external system ID). The API will update the field values and return the complete updated state including metadata like updated_at timestamps.

Update Spend Limit

Updates an existing Brex spend limit by its ID. Allows modifying spend limit properties including name, description, status (ACTIVE/INACTIVE), period settings, authorization controls, spending limits, merchant restrictions, member/owner assignments, and policy associations. At least one optional field must be provided to update. Requires the spend limit ID from BREX_GET_SPEND_LIMITS or creation actions.

Update Spend Limit (V1)

Tool to update a Spend Limit (budget) using the v1 API. Use when you need to modify budget details such as name, description, owners, members, limits, or date ranges.

Update User

Update a Brex user's manager, department, location, or title by user ID.

Update Vendor

Tool to update vendor information in Brex. Use when you need to modify vendor details such as company name, email, phone, payment accounts, or beneficiary information.

Update Webhook Subscription

Updates an existing Brex webhook subscription's configuration by ID. The URL, event types, and status must all be supplied; an optional webhook group ID can be supplied for partner integrations.

More in Accounting

See them all β†’

Your company, run by an AI team

Start your company

BRAINER

Continue to B.R.A.I.N.E.R.

Continue with Google or your email.

or