Brex

Learn how to use Brex with Composio

Overview

Enum

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

client_id
stringRequired
client_secret
stringRequired
base_url
stringRequired
oauth_redirect_uri
string
scopes
string
access_token
string
base_url
stringRequired
apiKey
stringRequired

Actions

Create a new budget for departments or projects.

Action Parameters

budget_amount
objectRequired
budget_type
stringDefaults to EXPENSE
description
string
display_name
stringRequired
member_user_ids
array
owner_user_ids
array
parent_budget_id
string
period_type
stringDefaults to MONTHLY

Action Response

data
object
error
string
successful
boolean
Create a new card and assign it to a user.

Action Parameters

card_type
stringDefaults to VIRTUAL
display_name
stringRequired
limit_type
stringDefaults to CARD
owner_user_id
stringRequired
spend_controls
object

Action Response

data
object
error
string
successful
boolean
Create a new department.

Action Parameters

description
string
name
stringRequired

Action Response

data
object
error
string
successful
boolean
Create a new expense.

Action Parameters

amount
objectRequired
memo
stringRequired
owner_user_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Create a new location.

Action Parameters

description
string
name
stringRequired

Action Response

data
object
error
string
successful
boolean
Create a new job title.

Action Parameters

name
stringRequired

Action Response

data
object
error
string
successful
boolean
Create a new user in the brex account.

Action Parameters

department_id
string
email
stringRequired
first_name
stringRequired
last_name
stringRequired
manager_user_id
string

Action Response

data
object
error
string
successful
boolean
Create a new vendor card.

Action Parameters

card_type
stringDefaults to VIRTUAL
display_name
stringRequired
owner_user_id
stringRequired
spend_controls
object
vendor_name
stringRequired

Action Response

data
object
error
string
successful
boolean
Get details about the current brex account.

Action Parameters

Action Response

data
object
error
string
successful
boolean
Get account statements.

Action Parameters

cursor
string
limit
integerDefaults to 100

Action Response

data
object
error
string
successful
boolean
Get detailed information about a specific budget.

Action Parameters

budget_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Get transactions for a specific budget.

Action Parameters

budget_id
stringRequired
limit
integerDefaults to 100
posted_at_end
stringRequired
posted_at_start
stringRequired

Action Response

data
object
error
string
successful
boolean
Get detailed information about a specific card.

Action Parameters

card_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Get card transactions for a date range.

Action Parameters

limit
integerDefaults to 100
posted_at_end
string
posted_at_start
string

Action Response

data
object
error
string
successful
boolean
Get company cash accounts.

Action Parameters

cursor
string
limit
integerDefaults to 100

Action Response

data
object
error
string
successful
boolean
Get details of a specific expense.

Action Parameters

expense_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Get expenses for a date range.

Action Parameters

cursor
string
limit
integerDefaults to 100
posted_at_end
stringRequired
posted_at_start
stringRequired

Action Response

data
object
error
string
successful
boolean
Get spend limits configuration.

Action Parameters

limit
integerDefaults to 100

Action Response

data
object
error
string
successful
boolean
Get details of a specific transaction by id.

Action Parameters

transaction_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Get transactions for a date range.

Action Parameters

cursor
string
limit
integerDefaults to 100
posted_at_end
stringRequired
posted_at_start
stringRequired

Action Response

data
object
error
string
successful
boolean
Get transactions filtered by amount range.

Action Parameters

cursor
string
limit
integerDefaults to 100
max_amount
numberRequired
min_amount
numberRequired
posted_at_end
stringRequired
posted_at_start
stringRequired

Action Response

data
object
error
string
successful
boolean
Get transactions filtered by description text.

Action Parameters

cursor
string
description
stringRequired
limit
integerDefaults to 100
posted_at_end
stringRequired
posted_at_start
stringRequired

Action Response

data
object
error
string
successful
boolean
Get user profile information for current or specified user.

Action Parameters

user_id
stringDefaults to me

Action Response

data
object
error
string
successful
boolean
List all budgets and show available amounts across all cards.

Action Parameters

limit
integerDefaults to 100

Action Response

data
object
error
string
successful
boolean
List all cards associated with the account.

Action Parameters

limit
integerDefaults to 100

Action Response

data
object
error
string
successful
boolean
List all departments in the organization.

Action Parameters

cursor
string
limit
integerDefaults to 100

Action Response

data
object
error
string
successful
boolean
List all locations in the organization.

Action Parameters

cursor
string
limit
integerDefaults to 100

Action Response

data
object
error
string
successful
boolean
List all job titles in the organization.

Action Parameters

cursor
string
limit
integerDefaults to 100

Action Response

data
object
error
string
successful
boolean
List all users in the brex account.

Action Parameters

limit
integerDefaults to 100

Action Response

data
object
error
string
successful
boolean
List all vendors.

Action Parameters

cursor
string
limit
integerDefaults to 100

Action Response

data
object
error
string
successful
boolean
Transfer a card to a different user.

Action Parameters

card_id
stringRequired
new_owner_user_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Update budget details.

Action Parameters

budget_amount
object
budget_id
stringRequired
description
string
display_name
string

Action Response

data
object
error
string
successful
boolean
Update spending limits and controls for a card.

Action Parameters

card_id
stringRequired
spend_controls
objectRequired

Action Response

data
object
error
string
successful
boolean
Update the status of a card (activate/deactivate/terminate).

Action Parameters

card_id
stringRequired
status
stringRequired

Action Response

data
object
error
string
successful
boolean
Update user details.

Action Parameters

department_id
string
first_name
string
last_name
string
location_id
string
manager_user_id
string
title_id
string
user_id
stringRequired

Action Response

data
object
error
string
successful
boolean