cURL
curl --request POST \ --url https://www.ruddr.io/api/workspace/locations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "isActive": true } '
{ "id": "7a2f3c91-d4e8-4b16-a053-9f1e6c840d72", "name": "Austin, Texas", "isActive": true, "createdAt": "2025-06-12T09:23:44.118Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The name of the location.
Whether the location is active.
200
The unique identifier for the object.
The timestamp when the object was created.