---
title: "Add new visitor"
method: POST
path: "/api/v2/organizations/{orgSlug}/visitors"
tags: ["Visitors"]
---

# Add new visitor

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

## Request

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

Add new visitor 

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

## Path parameters

- `orgSlug` string, required

## Request body

- AddVisitorDto
  - `name` string, required: The full name of the visitor.
  - `type` 'preregistration' | 'reception', required: The type of the visitor. Can be one of the following - reception, preregistration.
  - `email` string: The email address of the visitor.
  - `member` string: Reference to the member that the visitor is visiting.
  - `phone` string: The phone number of the visitor.
  - `company` string: The company of the visitor.

## Response `201`

- VisitorResultDto
  - `_id` string: The _id of the visitor.
  - `name` string: The full name of the visitor.
  - `email` string: The email address of the visitor.
  - `phone` string: The phone number of the visitor.
  - `description` string: Description of the visitor.
  - `member` string: Reference to the member that the visitor is visiting.
  - `company` string: Reference to the company that the visitor is visiting.
  - `type` 'preregistration' | 'reception': The type of the visitor. Can be one of the following - reception, preregistration.

---

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