Create tickets

The following API can be used to create tickets.

Path

POST - https://<subdomain>.neetodesk.com/api/v1/public/tickets

Headers

X-Api-Key (required): Contains a NeetoDesk API Key.

Parameters

Name

Description

email (required)

Email address of the customer

subject (required)

Subject for the ticket

description (required)

Description/Content for the ticket

name

Name of the customer

channel

The source of the ticket
Options - email, ui, twitter, chat, form, api
Default - api

Example

Request

curl --request POST \
  --url 'https://<subdomain>.neetodesk.com/api/v1/public/tickets' \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <API_KEY>' \
  --data '{
    "email": "[email protected]",
    "subject": "How to resolve the pending payments",
    "description": "I need your help in resolving the pending payments."
  }'

Response

{
	"notice_code": "thumbs_up",
	"ticket": {
		"id": "56e11f80-ff33-4d5c-9855-539c39246570",
		"number": 40,
		"url": "https://<subdomain>.neetodesk.com/desk/tickets/40"
	}
}