# Brex integration

> Corporate cards, spend management, and business banking — manage users, cards, transactions, expenses, budgets, vendors, and payments.

- Authentication: oauth2

## Tools (100)

- **Add webhook group members**: Add webhook subscriptions to a group (partner accounts only).
- **Archive budget**: Archive a budget, disabling its child spend limits.
- **Archive spend limit**: Archive (disable) a spend limit.
- **Create accounting integration**: Create a new accounting integration for the account.
- **Create a referral**: Create a new referral and receive a personalized Brex application link. This is the partner Onboarding API requiring the client-credentials grant with the `https://onboarding.brexapis.com/referrals` scope.
- **Create a referral document upload**: Create a presigned S3 upload URL for a referral document. This is the partner Onboarding API requiring the client-credentials grant with the `https://onboarding.brexapis.com/referrals` scope.
- **Create budget**: Create a new budget.
- **Create card**: Issue a new virtual or physical card with spend controls.
- **Create custom field**: Create a custom field.
- **Create department**: Create a new department.
- **Create field values**: Create up to 1000 values under a custom field at once.
- **Create incoming transfer**: Create an incoming ACH-debit transfer from an eligible bank account.
- **Create location**: Create a new location.
- **Create spend limit**: Create a new spend limit.
- **Create title**: Create a new title.
- **Create transfer**: Create a new outgoing transfer (ACH, wire, or check).
- **Create vendor**: Create a new vendor with payment details.
- **Create webhook**: Register a new webhook endpoint for event notifications.
- **Create webhook group**: Create a new webhook group (partner accounts only).
- **Delete custom field**: Delete a custom field by its Brex ID.
- **Delete field values**: Delete up to 1000 values under a custom field at once.
- **Delete vendor**: Remove a vendor from the account.
- **Delete webhook**: Unregister a webhook subscription.
- **Delete webhook group**: Remove a webhook group and its members (partner accounts only).
- **Disconnect accounting integration**: Disconnect an active accounting integration.
- **Get accounting record**: Retrieve a single accounting record by its ID.
- **Get a referral**: Retrieve a referral by ID. This is the partner Onboarding API requiring the client-credentials grant with the `https://onboarding.brexapis.com/referrals` scope.
- **Get booking**: Retrieve a booking by trip and booking ID.
- **Get budget**: Retrieve a budget by ID.
- **Get budget program**: Retrieve a budget program by ID.
- **Get card**: Retrieve a single card by ID.
- **Get card number (PAN)**: Retrieve a card's full number, CVV, and expiration date.
- **Get cash account**: Retrieve a specific cash account's details by ID.
- **Get company**: Return the company associated with the OAuth2 access token.
- **Get current user**: Return the user associated with the OAuth2 access token.
- **Get custom field**: Get a custom field by its Brex ID.
- **Get department**: Get a department by ID.
- **Get expense**: Get a single expense by its ID.
- **Get field value**: Get a single field value by field ID and value ID.
- **Get legal entity**: Get a legal entity by its ID.
- **Get location**: Get a location by ID.
- **Get primary cash account**: Retrieve the primary cash account with its status and balance.
- **Get spend limit**: Retrieve a spend limit by ID.
- **Get title**: Get a title by ID.
- **Get transfer**: Retrieve a specific transfer by ID.
- **Get trip**: Retrieve a trip by ID.
- **Get user**: Get a single user by ID.
- **Get user card limit**: Get the monthly card limit for a user, including the available limit.
- **Get vendor**: Retrieve a specific vendor by ID.
- **Get webhook**: Fetch a specific webhook subscription by ID.
- **Get webhook group**: Fetch a specific webhook group by ID (partner accounts only).
- **Invite user**: Invite a new user as an employee on the Brex account.
- **List budget programs**: List budget programs belonging to the account.
- **List budgets**: Retrieve all budgets on the account.
- **List card accounts**: List all card-type accounts and their balances.
- **List cards**: List cards, optionally filtered by the owning user.
- **List cash accounts**: List all existing cash (deposit) accounts with their status and balances.
- **List cash account statements**: List all finalized statements for a cash account by ID.
- **List cash transactions**: List all transactions for a cash (deposit) account by ID.
- **List custom fields**: List custom fields under the account.
- **List departments**: List all departments on the account.
- **List expenses**: List expenses under the account (admins/bookkeepers see all; users see their own).
- **List field values**: List the values under a custom field.
- **List legal entities**: List the legal entities for the account.
- **List locations**: List all locations on the account.
- **List primary card statements**: List all finalized statements for the primary card account.
- **List primary card transactions**: List settled transactions across all card accounts (primary card account).
- **List referrals**: List referrals you have created. This is the partner Onboarding API requiring the client-credentials grant with the `https://onboarding.brexapis.com/referrals` scope.
- **List spend limits**: Retrieve all spend limits on the account.
- **List titles**: List all titles on the account.
- **List transfers**: List existing transfers across supported payment rails.
- **List trip bookings**: List the bookings within a trip.
- **List trips**: List trips matching the query filters.
- **List users**: List all users on the Brex account, optionally filtered by email.
- **List vendors**: List all existing vendors for the account.
- **List webhook group members**: List the members of a webhook group (partner accounts only).
- **List webhook groups**: List webhook groups (partner accounts only).
- **List webhooks**: List registered webhook subscriptions.
- **List webhook secrets**: Retrieve webhook signing secrets used to validate payloads.
- **Lock card**: Lock an existing, unlocked card.
- **Match receipt**: Upload a receipt to be auto-matched to an existing expense.
- **Process delayed EIN document**: Process a delayed EIN document after upload. This is the partner Onboarding API requiring the client-credentials grant with the `https://onboarding.brexapis.com/referrals` scope.
- **Query accounting records**: Query accounting records by IDs or with filters for polling.
- **Reactivate accounting integration**: Reactivate a disconnected accounting integration.
- **Remove webhook group members**: Remove webhook subscriptions from a group (partner accounts only).
- **Report accounting export results**: Report export success or failure for accounting records.
- **Send card details via secure email**: Send a card's sensitive details to a recipient via secure email.
- **Set user card limit**: Set the monthly card limit for a user.
- **Terminate card**: Permanently terminate an existing card.
- **Unlock card**: Unlock a previously locked card.
- **Update budget**: Update a budget's name, limit, or period.
- **Update card**: Update an existing card's name and spend controls.
- **Update card expense**: Update memo, category, and other fields on a card expense.
- **Update custom field**: Update a custom field by ID.
- **Update field values**: Update up to 1000 values under a custom field at once.
- **Update spend limit**: Update a spend limit's name, amount, or members.
- **Update user**: Update a user; any parameters not provided are left unchanged.
- **Update vendor**: Update an existing vendor by ID.
- **Update webhook**: Modify a webhook's URL, event types, or status.
- **Upload receipt to expense**: Upload and attach a receipt to a specific card expense.

Connect Brex in General Input: https://www.generalinput.com/apps/brex