---
title: "Add new visit"
method: POST
path: "/api/v2/organizations/{orgSlug}/visits"
tags: ["Visits"]
---

# Add new visit

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

Add new visit 

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

## Path parameters

- `orgSlug` string, required

## Request body

- AddVisitDto
  - `visitor` string, required — The _id of the visitor for which the visit is being recorded.
  - `location` string, required — The _id of the location for which the visit is being recorded.
  - `start` string, date-time, required — The start date and time of the visit.
  - `end` string, date-time, required — The end date and time of the visit.
  - `flowId` string — The _id of the reception flow for which the visit is being recorded.
  - `member` string — The _id of the member for which the visit is being recorded.

## Response `201`

- 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)
