Create a location
Locations
Create a location
Create a new storage location in the authenticated workspace. Requires locations.write scope. Workspace owners only when the token user has restricted location access.
POST
Create a location
Authorizations
Bearer API key from Settings → API Keys. Use restricted keys (prefix retrac_) with the minimum scopes required.
Query Parameters
The ID of the workspace.
Example:
"ws_cluuwcv0r..."
The slug of the project. This field is deprecated – use workspaceId instead.
Body
application/json
Required string length:
1 - 64Available options:
warehouse, van, truck, site, other Maximum string length:
500The access level of the location within the workspace.
Available options:
read, write, null