Skip to content

Add a Ticket

Add Ticket => swagger documentation

You need at least an email address and a valid channel Get Channels

The easy way is to go to the email channel you want to use as inbound channel for this ticket and copy the id from the URL

Example request

{
    "subject": "Subject of the ticket",
    "contactAddress": "[email protected]",
    "channelId": "Your-channelId",
    "noteAsMarkdown": "Internal note",
    "forceNew": true,
    "MetaData": {
        "ticket": {
            "my-variable": "my-value"
        }
    }
}

Store ticket and contact variables

When adding metadata you can directly store ticket and contact variables. These can be used in flows, data-adapters, etc. You can create and edit variables in the Tick app

"MetaData": {
        "ticket": {
            "my-ticket-variable": "my-value" // => stores in ticket.my-ticket-variable
        }
        "contact": {
            "my-contactId": "Contact_12345" // => stores in contact.my-contactid
        }
    }

Assignments, labels etc

For more direct control over the ticket you can: - add assignments to users and teams - add labels to the ticket - prevent flows from starting directly for this ticket

For all options see: Add Ticket => swagger documentation