---
title: "Add a new ticket"
method: POST
path: "/api/v2/organizations/{orgSlug}/tickets"
tags: ["Tickets"]
---

# Add a new ticket

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

## Request

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

Add a new ticket 

 Required scopes: `flex.collaboration.tickets.create`

## Path parameters

- `orgSlug` string, required

## Request body

- AddTicketDto
  - `type` string, required: The _id of the ticket options.
  - `severity` string, required: The _id of the ticket severity.
  - `priority` string, required: The _id of the ticket priority
  - `member` string, required: The _id of the member who has created the ticket.
  - `subject` string, required: The ticket description.
  - `attachments` string[]: An array of strings containing the URLs of all images attachments
  - `message` string: The ticket message.

## Response `201`

- TicketResultDto
  - `_id` string: The _id of the item.
  - `type` string: The _id of the ticket options.
  - `severity` string: The _id of the ticket severity.
  - `priority` string: The _id of the ticket priority
  - `company` string: The _id of the company with which the ticket will be associated.
  - `member` string: The _id of the member who has created the ticket.
  - `location` string: The _id of the location with which the ticket is associated.
  - `status` 'open' | 'new' | 'pending' | 'resolved': The status of the ticket.
  - `assignedTo` string: The _id of the location to whom the ticket is assigned.
  - `resolvedDate` string: The date of the resolution date of the ticket.
  - `attachments` string[]: An array of strings containing the URLs of all images attachments
  - `subject` string: The ticket description.
  - `message` string: The ticket message.
  - `createdAt` string, date-time: The date when the ticket has been created at.
  - `modifiedAt` string, date-time: The date when the ticket has been modified for the last time.

---

[API](https://skmtc.dev/officernd/apis/collaboration-api.md) - [All operations](https://skmtc.dev/officernd/apis/collaboration-api/llms.txt) - [OpenAPI document](https://skmtc.dev/officernd/apis/collaboration-api/revisions/f868beae3384?raw)
