---
title: "Get visits"
method: GET
path: "/api/v2/organizations/{orgSlug}/visits"
tags: ["Visits"]
---

# Get visits

`GET /api/v2/organizations/{orgSlug}/visits`

Retrieve all visits in the organization 

 Required scopes: `flex.community.visits.read`

## Path parameters

- `orgSlug` string, required

## Query parameters

- `_id` string
- `visitor` string
- `member` string
- `location` string
- `start` string
- `end` string
- `createdAt` string
- `$select` string
- `$cursorNext` string
- `$cursorPrev` string
- `$limit` number

## Response `200`

- object
  - `rangeStart` number
  - `rangeEnd` number
  - `cursorNext` string
  - `cursorPrev` string
  - `results` VisitResultDto[]
    - `properties` object — An object that contains all custom properties that can be applied to the item.
    - `_id` string — The _id of the visit.
    - `member` string — The _id of the member for which the visit is being recorded.
    - `visitor` string — The _id of the visitor for which the visit is being recorded.
    - `location` string — The _id of the location for which the visit is being recorded.
    - `start` string, date-time — The start date and time of the visit.
    - `end` string, date-time — The end date and time of the visit.
    - `receptionFlow` string — The _id of the reception flow for which the visit is being recorded.

---

[API](https://skmtc.dev/officernd/apis/authentication-api.md) · [All operations](https://skmtc.dev/officernd/apis/authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/officernd/authentication-api/revisions/6bcd33dc648e/schema)
