ticket_deleted
Sent when a ticket is deleted. No event is sent if the deletion did not happen (the ticket was not found).
Use it to close or archive the ticket record in your own system.
Sample body
scenario: ticket_deleted
{
"organization_id": 345,
"project_id": 12,
"ticket_id": 1542
}
Send this body to your own address
The sample body above is sent to the address below as a POST request. The request goes from your browser, so the response cannot be read if the receiving endpoint sends no CORS header; the request itself still arrives. Use the cURL equivalent to try it from the server side.
cURL equivalent:
curl -X POST 'https://your-address.example/webhook' \
-H 'Content-Type: application/json' \
-d '{"organization_id":345,"project_id":12,"ticket_id":1542}'
Fields
| Field | Type | Description |
|---|---|---|
organization_id | number | Identifier of your organization. |
project_id | number | Identifier of the project the ticket belonged to. |
ticket_id | number | Identifier of the deleted ticket. |
The details of the deleted ticket are not sent
The body carries identifiers only. If you need the details of the deleted ticket,
keep them on your side from the ticket_created and
ticket_updated events.