---
updatedAt: 2026-06-12T23:00:16.000Z
agentTools:
  projectIndex: https://developers.7shifts.com/llms.txt
---

# List Locations

**[Minimum Plan Required](https://developers.7shifts.com/docs/plan-requirements):** Comp

#### Sample Response

```json
{
    "data": [
        {
            "id": 4569,
            "company_id": 1234,
            "name": "Pub",
            "country": "CA",
            "state": "SK",
            "city": "Saskatoon",
            "formatted_address": "1234 Street, Saskatoon, SK, Canada",
            "lat": 50,
            "lng": -104,
            "place_id": "ChIJXXXXXXXXXXXXXXXXXXZghg",
            "timezone": "America/Regina",
            "timezone_updated": false,
            "hash": "bc8bxxxxxxxxxxxxxxxxxxxxxxxxx1ca8",
            "mapping_id": "",
            "department_based_budget": true,
            "holiday_pay": true,
            "auto_send_log_book_time": null,
            "mon_hours_close": "00:00:00",
            "tue_hours_close": "00:00:00",
            "wed_hours_close": "00:00:00",
            "thu_hours_close": "00:00:00",
            "fri_hours_close": "00:00:00",
            "sat_hours_close": "00:00:00",
            "sun_hours_close": "00:00:00",
            "mon_hours_open": "07:00:00",
            "tue_hours_open": "08:00:00",
            "wed_hours_open": "08:00:00",
            "thu_hours_open": "08:00:00",
            "fri_hours_open": "08:00:00",
            "sat_hours_open": "08:00:00",
            "sun_hours_open": "07:00:00",
            "mon_is_closed": true,
            "tue_is_closed": false,
            "wed_is_closed": false,
            "thu_is_closed": false,
            "fri_is_closed": false,
            "sat_is_closed": false,
            "sun_is_closed": false,
            "shift_feedback": true,
            "message": "Click here to create a footnote... This is a message that is visible to all employees.",
            "created": "2021-10-19T22:56:48+00:00",
            "modified": "2022-11-25T20:19:23+00:00"
        },
        {
            "id": 4560,
            "company_id": 1234,
            "name": "Cafe",
            "country": "CA",
            "state": "SK",
            "city": "Saskatoon",
            "formatted_address": "1234 Ave, Saskatoon, SK, Canada",
            "lat": 50,
            "lng": -104,
            "place_id": "ChIJXXXXXXXXXXXXXXXXXXZghg",
            "timezone": "America/Regina",
            "timezone_updated": false,
            "hash": "bc8bxxxxxxxxxxxxxxxxxxxxxxxxx1ca8",
            "mapping_id": "",
            "department_based_budget": false,
            "holiday_pay": true,
            "auto_send_log_book_time": null,
            "mon_hours_close": "00:00:00",
            "tue_hours_close": "00:00:00",
            "wed_hours_close": "00:00:00",
            "thu_hours_close": "00:00:00",
            "fri_hours_close": "00:00:00",
            "sat_hours_close": "00:00:00",
            "sun_hours_close": "00:00:00",
            "mon_hours_open": "07:00:00",
            "tue_hours_open": "07:00:00",
            "wed_hours_open": "07:00:00",
            "thu_hours_open": "07:00:00",
            "fri_hours_open": "07:00:00",
            "sat_hours_open": "07:00:00",
            "sun_hours_open": "07:00:00",
            "mon_is_closed": true,
            "tue_is_closed": false,
            "wed_is_closed": false,
            "thu_is_closed": false,
            "fri_is_closed": false,
            "sat_is_closed": false,
            "sun_is_closed": false,
            "shift_feedback": true,
            "message": "Click here to create a footnote... This is a message that is visible to all employees.",
            "created": "2021-10-27T15:25:06+00:00",
            "modified": "2021-10-28T16:39:33+00:00"
        }
    ],
    "meta": {
        "cursor": {
            "current": "eyJsaW1pdCI6Miwib2Zmc2V0IjowfQ==",
            "prev": null,
            "next": "eyJsaW1pdCI6Miwib2Zmc2V0IjoyfQ==",
            "count": 2
        }
    },
    "object": "locations"
}
```

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "7shifts API",
    "contact": {
      "email": "api-support@7shifts.com"
    },
    "version": "2026-06-01"
  },
  "servers": [
    {
      "url": "https://api.7shifts.com",
      "description": "Production server"
    }
  ],
  "paths": {
    "/v2/company/{company_id}/locations": {
      "get": {
        "tags": [
          "Locations"
        ],
        "summary": "List Locations",
        "operationId": "getLocationListByCompany",
        "x-public-api": true,
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "description": "7shifts API version",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "An API version",
              "example": "2022-05-01"
            }
          },
          {
            "name": "x-company-guid",
            "in": "header",
            "description": "Company GUID",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "example": "1310bfe1-cb3f-4f24-98a2-fde2bc504108"
          },
          {
            "name": "company_id",
            "in": "path",
            "description": "Company ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "example": 1234
          },
          {
            "name": "modified_since",
            "in": "query",
            "description": "Return locations that have been modified since the specified date. Format YYYY-MM-DD",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
            },
            "example": "2020-01-01"
          },
          {
            "name": "deleted",
            "in": "query",
            "description": "When TRUE the search will return deleted locations",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "required": false
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "Cursor for the next or previous page of results.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The number of results desired per page.",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 100,
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "type": "string",
                      "enum": [
                        "locations"
                      ]
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 1234,
                            "description": "Location ID"
                          },
                          "company_id": {
                            "type": "integer",
                            "example": 1234,
                            "description": "Company ID"
                          },
                          "name": {
                            "type": "string",
                            "example": "Quackers",
                            "description": "Location name"
                          },
                          "country": {
                            "type": "string",
                            "example": "CA",
                            "description": "Country"
                          },
                          "state": {
                            "type": "string",
                            "nullable": true,
                            "example": "ON",
                            "description": "State or province"
                          },
                          "city": {
                            "type": "string",
                            "nullable": true,
                            "example": "Toronto",
                            "description": "City"
                          },
                          "formatted_address": {
                            "type": "string",
                            "nullable": true,
                            "example": "200 Bathurst Street, Toronto, ON, Canada",
                            "description": "Full formatted address"
                          },
                          "lat": {
                            "type": "number",
                            "example": 43.6478436,
                            "nullable": true,
                            "description": "Latitude"
                          },
                          "lng": {
                            "type": "number",
                            "example": -79.4043708,
                            "nullable": true,
                            "description": "Longitude"
                          },
                          "place_id": {
                            "type": "string",
                            "nullable": true,
                            "example": "ChIJUyrhFOc0K4gRyuFq6AUlfmE",
                            "description": "Internal use"
                          },
                          "timezone": {
                            "type": "string",
                            "example": "America/Chicago",
                            "description": "Timezone. Valid zone info name"
                          },
                          "timezone_updated": {
                            "type": "boolean",
                            "nullable": true,
                            "example": true,
                            "description": "Internal use"
                          },
                          "hash": {
                            "type": "string",
                            "description": "Internal use"
                          },
                          "mapping_id": {
                            "nullable": true,
                            "type": "string",
                            "description": "Internal use"
                          },
                          "department_based_budget": {
                            "type": "boolean",
                            "nullable": true,
                            "example": false,
                            "description": "When true, department based budgeting is enabled"
                          },
                          "holiday_pay": {
                            "type": "boolean",
                            "example": false,
                            "description": "When true, holiday pay is enabled"
                          },
                          "auto_send_log_book_time": {
                            "type": "string",
                            "nullable": true,
                            "example": "03:00",
                            "description": "Time the log book is automatically send"
                          },
                          "sun_hours_close": {
                            "default": "00:00:00",
                            "description": "Sunday closing time",
                            "type": "string",
                            "pattern": "^(?:(?:([01]?\\d|2[0-3]):)?([0-5]?\\d):)?([0-5]?\\d)$",
                            "example": 57030
                          },
                          "mon_hours_close": {
                            "default": "00:00:00",
                            "description": "Monday closing time",
                            "type": "string",
                            "pattern": "^(?:(?:([01]?\\d|2[0-3]):)?([0-5]?\\d):)?([0-5]?\\d)$",
                            "example": 57030
                          },
                          "tue_hours_close": {
                            "default": "00:00:00",
                            "description": "Tuesday closing time",
                            "type": "string",
                            "pattern": "^(?:(?:([01]?\\d|2[0-3]):)?([0-5]?\\d):)?([0-5]?\\d)$",
                            "example": 57030
                          },
                          "wed_hours_close": {
                            "default": "00:00:00",
                            "description": "Wednesday closing time",
                            "type": "string",
                            "pattern": "^(?:(?:([01]?\\d|2[0-3]):)?([0-5]?\\d):)?([0-5]?\\d)$",
                            "example": 57030
                          },
                          "thu_hours_close": {
                            "default": "00:00:00",
                            "description": "Thursday closing time",
                            "type": "string",
                            "pattern": "^(?:(?:([01]?\\d|2[0-3]):)?([0-5]?\\d):)?([0-5]?\\d)$",
                            "example": 57030
                          },
                          "fri_hours_close": {
                            "default": "00:00:00",
                            "description": "Friday closing time",
                            "type": "string",
                            "pattern": "^(?:(?:([01]?\\d|2[0-3]):)?([0-5]?\\d):)?([0-5]?\\d)$",
                            "example": 57030
                          },
                          "sat_hours_close": {
                            "default": "00:00:00",
                            "description": "Saturday closing time",
                            "type": "string",
                            "pattern": "^(?:(?:([01]?\\d|2[0-3]):)?([0-5]?\\d):)?([0-5]?\\d)$",
                            "example": 57030
                          },
                          "sun_hours_open": {
                            "default": "07:00:00",
                            "nullable": true,
                            "description": "Sunday opening time",
                            "type": "string",
                            "pattern": "^(?:(?:([01]?\\d|2[0-3]):)?([0-5]?\\d):)?([0-5]?\\d)$",
                            "example": 57030
                          },
                          "mon_hours_open": {
                            "default": "07:00:00",
                            "nullable": true,
                            "description": "Monday opening time",
                            "type": "string",
                            "pattern": "^(?:(?:([01]?\\d|2[0-3]):)?([0-5]?\\d):)?([0-5]?\\d)$",
                            "example": 57030
                          },
                          "tue_hours_open": {
                            "default": "07:00:00",
                            "nullable": true,
                            "description": "Tuesday opening time",
                            "type": "string",
                            "pattern": "^(?:(?:([01]?\\d|2[0-3]):)?([0-5]?\\d):)?([0-5]?\\d)$",
                            "example": 57030
                          },
                          "wed_hours_open": {
                            "default": "07:00:00",
                            "nullable": true,
                            "description": "Wednesday opening time",
                            "type": "string",
                            "pattern": "^(?:(?:([01]?\\d|2[0-3]):)?([0-5]?\\d):)?([0-5]?\\d)$",
                            "example": 57030
                          },
                          "thu_hours_open": {
                            "default": "07:00:00",
                            "nullable": true,
                            "description": "Thursday opening time",
                            "type": "string",
                            "pattern": "^(?:(?:([01]?\\d|2[0-3]):)?([0-5]?\\d):)?([0-5]?\\d)$",
                            "example": 57030
                          },
                          "fri_hours_open": {
                            "default": "07:00:00",
                            "nullable": true,
                            "description": "Friday opening time",
                            "type": "string",
                            "pattern": "^(?:(?:([01]?\\d|2[0-3]):)?([0-5]?\\d):)?([0-5]?\\d)$",
                            "example": 57030
                          },
                          "sat_hours_open": {
                            "default": "07:00:00",
                            "nullable": true,
                            "description": "Saturday opening time",
                            "type": "string",
                            "pattern": "^(?:(?:([01]?\\d|2[0-3]):)?([0-5]?\\d):)?([0-5]?\\d)$",
                            "example": 57030
                          },
                          "sun_is_closed": {
                            "type": "boolean",
                            "nullable": true,
                            "example": true,
                            "description": "If true, location is closed on Sunday"
                          },
                          "mon_is_closed": {
                            "type": "boolean",
                            "nullable": true,
                            "example": true,
                            "description": "If true, location is closed on Monday"
                          },
                          "tue_is_closed": {
                            "type": "boolean",
                            "nullable": true,
                            "example": true,
                            "description": "If true, location is closed on Tuesday"
                          },
                          "wed_is_closed": {
                            "type": "boolean",
                            "nullable": true,
                            "example": true,
                            "description": "If true, location is closed on Wednesday"
                          },
                          "thu_is_closed": {
                            "type": "boolean",
                            "nullable": true,
                            "example": true,
                            "description": "If true, location is closed on Thursday"
                          },
                          "fri_is_closed": {
                            "type": "boolean",
                            "nullable": true,
                            "example": true,
                            "description": "If true, location is closed on Friday"
                          },
                          "sat_is_closed": {
                            "type": "boolean",
                            "nullable": true,
                            "example": true,
                            "description": "If true, location is closed on Saturday"
                          },
                          "shift_feedback": {
                            "type": "boolean",
                            "example": true,
                            "description": "If true end of shift feedback requests are enabled"
                          },
                          "message": {
                            "type": "string",
                            "nullable": true,
                            "example": "msg",
                            "description": "Message visible to all employees"
                          },
                          "deleted": {
                            "type": "boolean",
                            "description": "If true the location is deleted"
                          },
                          "created": {
                            "type": "string",
                            "format": "date-time",
                            "example": "2020-01-01T12:00:00+00:00"
                          },
                          "modified": {
                            "type": "string",
                            "format": "date-time",
                            "example": "2020-01-02T12:00:00+00:00"
                          }
                        },
                        "required": [
                          "id",
                          "company_id",
                          "name",
                          "country",
                          "timezone",
                          "hash",
                          "sun_hours_close",
                          "mon_hours_close",
                          "tue_hours_close",
                          "wed_hours_close",
                          "thu_hours_close",
                          "fri_hours_close",
                          "sat_hours_close",
                          "sun_hours_open",
                          "mon_hours_open",
                          "tue_hours_open",
                          "wed_hours_open",
                          "thu_hours_open",
                          "fri_hours_open",
                          "sat_hours_open",
                          "sun_is_closed",
                          "mon_is_closed",
                          "tue_is_closed",
                          "wed_is_closed",
                          "thu_is_closed",
                          "fri_is_closed",
                          "sat_is_closed",
                          "shift_feedback",
                          "department_based_budget",
                          "state",
                          "city",
                          "formatted_address",
                          "place_id",
                          "message",
                          "created",
                          "modified"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "properties": {
                        "cursor": {
                          "type": "object",
                          "properties": {
                            "current": {
                              "type": "string",
                              "description": "The current cursor.",
                              "nullable": true
                            },
                            "prev": {
                              "type": "string",
                              "description": "A cursor for navigating to the previous page.",
                              "nullable": true
                            },
                            "next": {
                              "type": "string",
                              "description": "A cursor for navigating to the next page.",
                              "nullable": true
                            },
                            "count": {
                              "type": "integer",
                              "description": "The total items in the current cursor.",
                              "nullable": true
                            }
                          },
                          "required": [
                            "current",
                            "prev",
                            "next",
                            "count"
                          ]
                        }
                      },
                      "required": [
                        "cursor"
                      ]
                    }
                  },
                  "required": [
                    "object",
                    "data",
                    "meta"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "The primary identifier for the problem type (URI reference)."
                    },
                    "title": {
                      "type": "string",
                      "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization."
                    },
                    "status": {
                      "type": "integer",
                      "description": "The HTTP status code."
                    },
                    "detail": {
                      "type": "string",
                      "description": "A human-readable explanation specific to this occurrence of the problem."
                    },
                    "code": {
                      "type": "integer",
                      "description": "The error code can be used to look up the reason why the request failed."
                    },
                    "param": {
                      "type": "string",
                      "description": "The request parameter that this error is related to."
                    }
                  },
                  "required": [
                    "type",
                    "title",
                    "status",
                    "detail"
                  ]
                },
                "examples": {
                  "400": {
                    "summary": "An example of a 400 response",
                    "value": {
                      "type": "basic",
                      "title": "This is a Bad Request error message",
                      "status": 400,
                      "detail": "A human-readable explanation specific to this occurrence of the problem.",
                      "code": 400,
                      "param": "param"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "The primary identifier for the problem type (URI reference)."
                    },
                    "title": {
                      "type": "string",
                      "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization."
                    },
                    "status": {
                      "type": "integer",
                      "description": "The HTTP status code."
                    },
                    "detail": {
                      "type": "string",
                      "description": "A human-readable explanation specific to this occurrence of the problem."
                    },
                    "code": {
                      "type": "integer",
                      "description": "The error code can be used to look up the reason why the request failed."
                    },
                    "param": {
                      "type": "string",
                      "description": "The request parameter that this error is related to."
                    }
                  },
                  "required": [
                    "type",
                    "title",
                    "status",
                    "detail"
                  ]
                },
                "examples": {
                  "403": {
                    "summary": "An example of a 403 response",
                    "value": {
                      "type": "basic",
                      "title": "This is a Forbidden error message",
                      "status": 403,
                      "detail": "A human-readable explanation specific to this occurrence of the problem.",
                      "code": 403,
                      "param": "param"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "The primary identifier for the problem type (URI reference)."
                    },
                    "title": {
                      "type": "string",
                      "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization."
                    },
                    "status": {
                      "type": "integer",
                      "description": "The HTTP status code."
                    },
                    "detail": {
                      "type": "string",
                      "description": "A human-readable explanation specific to this occurrence of the problem."
                    },
                    "code": {
                      "type": "integer",
                      "description": "The error code can be used to look up the reason why the request failed."
                    },
                    "param": {
                      "type": "string",
                      "description": "The request parameter that this error is related to."
                    }
                  },
                  "required": [
                    "type",
                    "title",
                    "status",
                    "detail"
                  ]
                },
                "examples": {
                  "500": {
                    "summary": "An example of a 500 response",
                    "value": {
                      "type": "basic",
                      "title": "This is a Server error message",
                      "status": 500,
                      "detail": "A human-readable explanation specific to this occurrence of the problem.",
                      "code": 500,
                      "param": "param"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://app.7shifts.com/oauth2/token",
            "refreshUrl": "https://app.7shifts.com/oauth2/token",
            "scopes": {
              "v1_access": "Required to access APIv1 endpoints."
            }
          },
          "password": {
            "tokenUrl": "https://app.7shifts.com/oauth2/token",
            "refreshUrl": "https://app.7shifts.com/oauth2/token",
            "scopes": {
              "v1_access": "Required to access APIv1 endpoints."
            }
          },
          "authorizationCode": {
            "authorizationUrl": "https://app.7shifts.com/oauth2/authorize",
            "tokenUrl": "https://app.7shifts.com/oauth2/token",
            "refreshUrl": "https://app.7shifts.com/oauth2/token",
            "scopes": {
              "v1_access": "Required to access APIv1 endpoints."
            }
          }
        }
      },
      "cookieAuth": {
        "type": "apiKey",
        "in": "cookie",
        "name": "7session"
      }
    }
  },
  "security": [
    {
      "OAuth2": []
    },
    {
      "cookieAuth": []
    }
  ],
  "tags": [
    {
      "name": "Locations"
    }
  ]
}
```