Articles in this section
Category / Section

How to Use Webhooks to Create a Ticket

Published: Apr 22, 2025

This article will guide you through the process of creating a ticket and establishing a parent-child relationship using webhooks and APIs, following the update of ticket properties. Please refer to the GIF below, which provides a step-by-step guide on configuring the Webhook for this process.

ChildTicket creation using webhook.gif

To create a child ticket and link it to a parent ticket using webhooks, please follow the steps below:

In the Module section, select the Ticket and choose the Updated Event property. Then, generate the API key and add it in the following format, as shown in the GIF above:

x-api-key: API Key

For detailed guidance on generating a BoldDesk API Key, please refer to this Knowledge Base article.

Additionally, use the custom payload details provided below in the Advanced section.

{
"brandId": {{ticket.Brand.Id}},
"subject": "Child of: {{ticket.TicketId}} - {{ticket.Subject}}",
"categoryId": {{ticket.Category.Id}},
"isVisibleInCustomerPortal": true,
"description": {{ticket.Description}},
"requesterId": {{ticket.Requester.UserId}},
"priorityId": {{ticket.Priority.Id}},
"linkTypeId": 2,
"linkedTicketId": {{ticket.TicketId}},
"dontAppendOnBehalfOfRequesterMessage": true
} 

By following these steps, you can automate the process of creating and linking child tickets to parent tickets, improving efficiency and organization in your ticketing system.

Related articles

To learn about creating a ticket using the API, refer to this article.

To know more about Webhook, refer to this article

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied