Webhooks
ticket.created
The ticket.created
webhook is triggered when a new ticket is created on Periskope.
Refer Ticket object to find more details about ticket object
.
This will contain only ticket data and no details regarding the message or chat it has been raised for. To get more details about the chat and message, you can use Get ticket info API.
Refer Ticket Info Object to find more details about chat and message details related to the ticket.
Event structure 📦
You’ll be receiving the data in the following format:
{
"event": "<event-type>",
"data": "<event-data>", // complete data object as mentioned in Objects section
"org_id": "<your-organisation-id>",
"previous_attributes": "<previous-attributes>", // attributes changes in new object. In case of an update event.
"timestamp": "<timestamp>" // timestamp of the event creation
}
Was this page helpful?