Skip to main content
Every brex.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Accounts

getCash

accounts.getCash Get a cash account by ID Risk: read
Input
Output: empty object

getCashPrimary

accounts.getCashPrimary Get the primary cash account Risk: read
Input
Output: empty object

listCard

accounts.listCard List card accounts Risk: read
Input
Output: empty object

listCardStatements

accounts.listCardStatements List finalized primary card statements Risk: read
Input
Output: empty object

listCash

accounts.listCash List cash deposit accounts Risk: read
Input
Output: empty object

listCashStatements

accounts.listCashStatements List finalized cash account statements Risk: read
Input
Output: empty object

Budget Programs

list

budgetPrograms.list List budget programs Risk: read
Input
Output: empty object

Budgets

archive

budgets.archive Archive a budget Risk: destructive
Input
Output: empty object

create

budgets.create Create a budget Risk: write
Input
Output: empty object

get

budgets.get Get a budget by ID Risk: read
Input
Output: empty object

list

budgets.list List budgets Risk: read
Input
Output: empty object

update

budgets.update Update a budget Risk: write
Input
Output: empty object

Cards

create

cards.create Create a card and assign it to a user Risk: write
Input
Output: empty object

get

cards.get Get a card by ID Risk: read
Input
Output: empty object

getPan

cards.getPan Get card number, CVV, and expiration Risk: read
Input
Output: empty object

list

cards.list List cards, optionally by user_id Risk: read
Input
Output: empty object

update

cards.update Update card spend_controls for limit_type=CARD Risk: write
Input
Output: empty object

updateStatus

cards.updateStatus Lock, unlock, or terminate a card Risk: destructive
Input
Output: empty object

Company

get

company.get Get the company for the current token Risk: read
Input
Output: empty object

Departments

create

departments.create Create a department Risk: write
Input
Output: empty object

get

departments.get Get a department by ID Risk: read
Input
Output: empty object

list

departments.list List departments Risk: read
Input
Output: empty object

Expenses

get

expenses.get Get an expense by ID Risk: read
Input
Output: empty object

getCard

expenses.getCard Get a card expense (deprecated official path) Risk: read
Input
Output: empty object

list

expenses.list List expenses Risk: read
Input
Output: empty object

listByBudget

expenses.listByBudget List expenses for a budget_id Risk: read
Input
Output: empty object

update

expenses.update Update a card expense Risk: write
Input
Output: empty object

Fields

create

fields.create Create a custom field Risk: write
Input
Output: empty object

delete

fields.delete Delete a custom field Risk: destructive
Input
Output: empty object

get

fields.get Get a custom field by ID Risk: read
Input
Output: empty object

list

fields.list List custom fields Risk: read
Input
Output: empty object

update

fields.update Update a custom field Risk: write
Input
Output: empty object

Field Values

create

fieldValues.create Create custom field values (up to 1000) Risk: write
Input
Output: empty object

delete

fieldValues.delete Delete custom field values (up to 1000) Risk: destructive
Input
Output: empty object

get

fieldValues.get Get a field value by field ID and value ID Risk: read
Input
Output: empty object

list

fieldValues.list List values for a custom field Risk: read
Input
Output: empty object

update

fieldValues.update Update custom field values (up to 1000) Risk: write
Input
Output: empty object

get

legalEntities.get Get a legal entity by ID Risk: read
Input
Output: empty object

list

legalEntities.list List legal entities Risk: read
Input
Output: empty object

Locations

create

locations.create Create a location Risk: write
Input
Output: empty object

get

locations.get Get a location by ID Risk: read
Input
Output: empty object

list

locations.list List locations Risk: read
Input
Output: empty object

Receipts

match

receipts.match Create a receipt-match upload URI Risk: write
Input
Output: empty object

upload

receipts.upload Create a receipt upload URI for a card expense Risk: write
Input
Output: empty object

Referrals

create

referrals.create Create a referral and application link Risk: write
Input
Output: empty object

createDocument

referrals.createDocument Create a referral document upload URI Risk: write
Input
Output: empty object

get

referrals.get Get a referral by ID Risk: read
Input
Output: empty object

list

referrals.list List active referrals Risk: read
Input
Output: empty object

Spend Limits

archive

spendLimits.archive Archive a spend limit Risk: destructive
Input
Output: empty object

create

spendLimits.create Create a spend limit Risk: write
Input
Output: empty object

get

spendLimits.get Get a spend limit by ID Risk: read
Input
Output: empty object

list

spendLimits.list List spend limits Risk: read
Input
Output: empty object

update

spendLimits.update Update a spend limit Risk: write
Input
Output: empty object

Spend Limits V1

create

spendLimitsV1.create Create a v1 spend limit (legacy /v1/budgets) Risk: write
Input
Output: empty object

update

spendLimitsV1.update Update a v1 spend limit (legacy /v1/budgets) Risk: write
Input
Output: empty object

Titles

create

titles.create Create a job title Risk: write
Input
Output: empty object

get

titles.get Get a job title by ID Risk: read
Input
Output: empty object

list

titles.list List job titles Risk: read
Input
Output: empty object

Transactions

byAmountRange

transactions.byAmountRange Filter settled card transactions by USD amount after official paging Risk: read
Input
Output: empty object

byDescription

transactions.byDescription Filter settled card transactions by description after official paging Risk: read
Input
Output: empty object

getById

transactions.getById Find a settled card transaction by ID by paging official list results Risk: read
Input
Output: empty object

list

transactions.list List settled card transactions. Date filters are client-side after paging. Risk: read
Input
Output: empty object

Transfers

list

transfers.list List transfers Risk: read
Input
Output: empty object

Trips

list

trips.list List trips Risk: read
Input
Output: empty object

Users

create

users.create Invite a user as an employee Risk: write
Input
Output: empty object

get

users.get Get a user by ID, or /me when id is “me” Risk: read
Input
Output: empty object

getLimit

users.getLimit Get the monthly spend limit for a user Risk: read
Input
Output: empty object

getMe

users.getMe Get the user for the current access token Risk: read
Input
Output: empty object

list

users.list List users in the Brex account Risk: read
Input
Output: empty object

setLimit

users.setLimit Set monthly_limit in cents, or null to remove it Risk: write
Input
Output: empty object

update

users.update Update a user; omitted fields stay unchanged Risk: write
Input
Output: empty object

Vendors

create

vendors.create Create a vendor Risk: write
Input
Output: empty object

delete

vendors.delete Delete a vendor Risk: destructive
Input
Output: empty object

get

vendors.get Get a vendor by ID Risk: read
Input
Output: empty object

list

vendors.list List vendors Risk: read
Input
Output: empty object

update

vendors.update Update a vendor Risk: write
Input
Output: empty object

Webhook Groups

addMembers

webhookGroups.addMembers Add webhook subscriptions to a group Risk: write
Input
Output: empty object

create

webhookGroups.create Create a webhook group (partners) Risk: write
Input
Output: empty object

get

webhookGroups.get Get a webhook group (partners) Risk: read
Input
Output: empty object

list

webhookGroups.list List webhook groups (partners) Risk: read
Input
Output: empty object

listMembers

webhookGroups.listMembers List webhook group members Risk: read
Input
Output: empty object

Webhooks

create

webhooks.create Register a webhook subscription Risk: write
Input
Output: empty object

get

webhooks.get Get a webhook subscription Risk: read
Input
Output: empty object

list

webhooks.list List webhook subscriptions Risk: read
Input
Output: empty object

listSecrets

webhooks.listSecrets List webhook signing secrets Risk: read
Input
Output: empty object

update

webhooks.update Update a webhook subscription Risk: write
Input
Output: empty object