# Brex Team API API

> Brex Team API API on Apizie: 26 endpoints (List cards, Create card, Get card, Update card, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/places:brex-team/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `places:brex-team`
- Category: Places
- Status: byok
- Source: https://brex.com
- Page: https://zieapi.vercel.app/api/places/brex-team
- OpenAPI: https://zieapi.vercel.app/api/places/brex-team/openapi.json

The team API lets you manage users, departments, locations, and cards.

## Endpoints

### List cards
`GET https://zieapi.vercel.app/v1/places:brex-team/cards-list-by-user-id` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | string | no |  |
| cursor | string | no |  |
| limit | integer | no |  |

### Create card
`POST https://zieapi.vercel.app/v1/places:brex-team/cards-create-new-card` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Idempotency-Key | string | yes |  |
| body | object | yes | JSON request body |

### Get card
`GET https://zieapi.vercel.app/v1/places:brex-team/cards-get-by-id` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |

### Update card
`POST https://zieapi.vercel.app/v1/places:brex-team/cards-update-card` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |
| Idempotency-Key | string | no |  |
| body | object | yes | JSON request body |

### Lock card
`POST https://zieapi.vercel.app/v1/places:brex-team/cards-lock-card` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |
| Idempotency-Key | string | no |  |
| body | object | yes | JSON request body |

### Get card number
`GET https://zieapi.vercel.app/v1/places:brex-team/cards-get-card-details` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |

### Create secure email to send card number
`POST https://zieapi.vercel.app/v1/places:brex-team/cards-create-secure-email` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |
| Idempotency-Key | string | yes |  |
| body | object | yes | JSON request body |

### Terminate card
`POST https://zieapi.vercel.app/v1/places:brex-team/cards-terminate-existing-card` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |
| Idempotency-Key | string | no |  |
| body | object | yes | JSON request body |

### Unlock card
`POST https://zieapi.vercel.app/v1/places:brex-team/cards-unlock-existing-card` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Idempotency-Key | string | no |  |
| id | string | yes |  |

### Get company
`GET https://zieapi.vercel.app/v1/places:brex-team/companies-get-info` (byok)

### List departments
`GET https://zieapi.vercel.app/v1/places:brex-team/departments-list-all` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| cursor | string | no |  |
| limit | integer | no |  |
| name | string | no |  |

### Create department
`POST https://zieapi.vercel.app/v1/places:brex-team/departments-add-new-department` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Idempotency-Key | string | no |  |
| body | object | yes | JSON request body |

### Get department
`GET https://zieapi.vercel.app/v1/places:brex-team/departments-get-by-id` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |

### List locations
`GET https://zieapi.vercel.app/v1/places:brex-team/locations-get-all-locations` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| cursor | string | no |  |
| limit | integer | no |  |
| name | string | no |  |

### Create location
`POST https://zieapi.vercel.app/v1/places:brex-team/locations-add-new-location` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Idempotency-Key | string | no |  |
| body | object | yes | JSON request body |

### Get location
`GET https://zieapi.vercel.app/v1/places:brex-team/locations-get-location-by-id` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |

### List titles
`GET https://zieapi.vercel.app/v1/places:brex-team/titles-get-all` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| cursor | string | no |  |
| limit | integer | no |  |
| name | string | no |  |

### Create title
`POST https://zieapi.vercel.app/v1/places:brex-team/titles-create-new-title` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Idempotency-Key | string | no |  |
| body | object | yes | JSON request body |

### Get title
`GET https://zieapi.vercel.app/v1/places:brex-team/titles-get-title-by-id` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |

### List users
`GET https://zieapi.vercel.app/v1/places:brex-team/users-list-users` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| cursor | string | no |  |
| limit | integer | no |  |
| email | string | no | Currently only support filtering by a single email or a single remote_display_id. |
| remote_display_id | string | no | Currently only support filtering by a single email or a single remote_display_id. |
| expand[] | array | no | Expandable fields that can be included in the response by passing in a query parameter e.g. ?expand[]=limit |

### Invite user
`POST https://zieapi.vercel.app/v1/places:brex-team/users-invite-new-employee` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Idempotency-Key | string | no |  |
| body | object | yes | JSON request body |

### Get current user
`GET https://zieapi.vercel.app/v1/places:brex-team/users-get-current-user` (byok)

### Get user
`GET https://zieapi.vercel.app/v1/places:brex-team/users-get-user-by-id` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |

### Update user
`POST https://zieapi.vercel.app/v1/places:brex-team/users-update-user` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |
| Idempotency-Key | string | no |  |
| body | object | yes | JSON request body |

### Get limit for the user
`GET https://zieapi.vercel.app/v1/places:brex-team/users-get-monthly-limit` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |

### Set limit for the user
`POST https://zieapi.vercel.app/v1/places:brex-team/users-set-monthly-limit` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |
| Idempotency-Key | string | no |  |
| body | object | yes | JSON request body |

## Example
```
curl "https://zieapi.vercel.app/v1/places:brex-team/cards-list-by-user-id" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Brex Team API API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/places:brex-team/cards-list-by-user-id with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Brex Team API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Brex Team API itself also needs your own key from platform.brexapis.com.

### Can AI agents use the Brex Team API API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key places:brex-team.

### What is the status of the Brex Team API API?
Needs your own provider key (bring your own key)
