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

# Get visits

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

## Request

- Base URL: `https://app.officernd.com`
- URL: `https://app.officernd.com/api/v2/organizations/{orgSlug}/visits`
- Auth: OAuth 2
  - Authorization code: `https://identity.officernd.com/auth/authorize`
  - Client credentials
  - Token URL: `https://identity.officernd.com/auth/token` scopes: `flex.community.visits.read`

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/community-api.md) - [All operations](https://skmtc.dev/officernd/apis/community-api/llms.txt) - [OpenAPI document](https://skmtc.dev/officernd/apis/community-api/revisions/dad1b7912165?raw)
