Configuring Webhooks can be done through the Help Ninja user interface.
Simply login, click on Apps in the top header bar, then select the Webhooks app.
Headers
Each webhook includes this headers:
- X-HelpNinja-Event: Lists the event name for which this webhook event is being generated.
Available Events for conversation
Conversation Object
{
id: "...."
teamId: "...."
type: "...."
isDraft: "....",
number: "....",
owner: "....",
mailbox: "....",
messageId: "....",
customer: "....",
status: "....",
subject: "....",
threads: ["....","...."]
}
Rating Object
{
teamId: "....",
mailboxId: "....",
ticketId: "....",
threadId: "....",
customer: "..."
rating: "...",
comments: "..."
}