Parselv1.0.0
Network

List my locations

Returns the sort centers the authenticated user can work in. Call it after login to pick the `location_id` sent on location-scoped requests.

GET
/api/locations

Authorization

authorization
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

curl -X GET "https://api.parsel.app/api/locations"
{
  "data": [
    {
      "city": "string",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "latitude": 0,
      "longitude": 0,
      "name": "string",
      "state": "string",
      "street1": "string",
      "street2": "string",
      "timezone": "string",
      "zip": "string"
    }
  ]
}
{
  "errors": {
    "message": "The request is unauthorized",
    "status": "Unauthorized"
  }
}