Logo
Brex Developer API Documentation

Create location

POST {{baseUrl}}/v2/locations

This endpoint creates a new location.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Idempotency-Key
string
Content-Type
string




RESPONSES

status OK

{ "id": "consequat eu", "name": "ex ullamco aliqua", "description": "exercitation mollit sed anim" }



Curl
curl -X POST 'https://platform.staging.brexapps.com/v2/locations' -H 'Idempotency-Key: $guid' -H 'Content-Type: application/json'

ENDPOINTS