The team API lets you manage users, departments, locations, and cards.
Locations
Team API (1.0)
Staging (Note: This is not a sandbox. It will not work with customer tokens.)
https://api-staging.brex.com
Endpoints for location management.
curl -i -X GET \
https://api.brex.com/v2/locations \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'curl -i -X POST \
https://api.brex.com/v2/locations \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"description": "string"
}'curl -i -X GET \
'https://api.brex.com/v2/locations/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'