Create a new ticket in the workspace
Endpoint: /action/tickets/create
Method: POST
Request Body (example):
โ
{
"userEmail": "user@email.com",
"ticketType": "Fancy Support Request",
"subject": "Please do some work for me!",
"comment": "This is going to be a rad comment here.",
"dueDate": "2024-06-01",
"formData": {
"answers": [
{
"fieldKey": "ProjectType",
"question": "What type of project do you need?",
"answer": "Website design"
},
{
"fieldKey": "Platform",
"question": "What platform are we developing assets for?",
"answer": "Instagram"
}
]
}
}
Properties that require further clarification:
userEmail - Required - The email of a known contact in your workspace. NOTE: The ticket will be rejected if the email is not found in the database
ticketType - Required - The string value of the ticket type which can be found in Workspace settings --> Communicator --> Tickets
comment -Required - The initial details/comment of the ticket
dueDate - Optional - Due date in ISO format
formData -Optional - additional structured questions/answers that can be mapped to the ticket data.