Skip to content

Create ticket

POST
/tickets
curl --request POST \
--url https://api.muninx.com/tickets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "priority": "low", "title": "example", "body": "example", "participants": [ "example" ] }'

Creates a ticket and immediately adds the initial message. Participants must be valid email addresses. Values are trimmed, lowercased, and deduplicated case-insensitively.

Media type application/json
object
priority
required
string
Allowed values: low medium high urgent
title
required
string
>= 1 characters /.*\S.*/
body
required
string
>= 1 characters /.*\S.*/
participants

Valid email addresses that should be subscribed to the ticket. Values are trimmed, lowercased, and deduplicated case-insensitively.

Array<string>

Created ticket reference

Media type application/json
object
id
required
string
Example generated
{
"id": "example"
}