{
"eventId": "evt_01234567890abcdef",
"eventType": "ticket.created",
"payload": {
"id": "ticket_1234567890abcdef",
"workspaceId": "ws_1234567890abcdef",
"ticketNumber": 1042,
"ticketTypeId": "type_1234567890abcdef",
"title": "Billing refund request",
"description": "Customer wants a refund for last month",
"summary": null,
"source": "api",
"statusId": "status_1234567890abcdef",
"priority": "medium",
"customerId": "customer_1234567890abcdef",
"createdByUserId": "user_1234567890abcdef",
"assigneeUserId": null,
"assignedTeamId": null,
"ownerUserId": null,
"ownerTeamId": null,
"conversationId": null,
"parentTicketId": null,
"mergedIntoTicketId": null,
"splitFromTicketId": null,
"flowId": null,
"agentId": null,
"firstResponseAt": null,
"resolvedAt": null,
"closedAt": null,
"snoozedUntil": null,
"lastCustomerActivityAt": null,
"lastAgentActivityAt": null,
"isShared": false,
"createdAt": "2023-01-01T12:00:00.000Z",
"updatedAt": "2023-01-01T12:00:00.000Z"
}
}API Reference
Ticketcreated
Triggered when a new ticket is created in the workspace
WEBHOOK
ticket.created
{
"eventId": "evt_01234567890abcdef",
"eventType": "ticket.created",
"payload": {
"id": "ticket_1234567890abcdef",
"workspaceId": "ws_1234567890abcdef",
"ticketNumber": 1042,
"ticketTypeId": "type_1234567890abcdef",
"title": "Billing refund request",
"description": "Customer wants a refund for last month",
"summary": null,
"source": "api",
"statusId": "status_1234567890abcdef",
"priority": "medium",
"customerId": "customer_1234567890abcdef",
"createdByUserId": "user_1234567890abcdef",
"assigneeUserId": null,
"assignedTeamId": null,
"ownerUserId": null,
"ownerTeamId": null,
"conversationId": null,
"parentTicketId": null,
"mergedIntoTicketId": null,
"splitFromTicketId": null,
"flowId": null,
"agentId": null,
"firstResponseAt": null,
"resolvedAt": null,
"closedAt": null,
"snoozedUntil": null,
"lastCustomerActivityAt": null,
"lastAgentActivityAt": null,
"isShared": false,
"createdAt": "2023-01-01T12:00:00.000Z",
"updatedAt": "2023-01-01T12:00:00.000Z"
}
}Body
application/json
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Allowed value:
"ticket.created"Show child attributes
Show child attributes
Response
200
Webhook received successfully
⌘I