time-clock-circle multiple-users-1 bin-paper-1 smiley-indifferent view-off alert-diamond envelope-letter rating-star network-browser pencil-write ticket-1 button-record headphones-customer-support close synchronize-arrows-1 common-file-stack close-quote arrow-down-2 multiple-circle attachment-1 folder-file-1 disable smiley-indifferent shield-warning love-it smiley-smile-1_1 check-circle-1 time-clock-midnight floppy-disk view smiley-unhappy book-star lock-unlock-1 arrow-right-1 archive smiley-unhappy send-email-1 hierarchy-9 open-quote add-circle-bold search remove-circle cog-1 filter-1 hyperlink-2 analytics-pie-2 flying-insect-honey navigation-menu-horizontal pencil-1 smiley-thrilled check-1 arrow-up-1 lock-2 navigation-menu add layout-module-1 archive arrow-left-1 wench arrow-down-1 multiple-neutral-1 expand-6 close drawer-send alarm-bell-1 social-media-twitter keyboard-arrow-up ticket-1 copy-paste rating-star download-thick-bottom information-circle smiley-sad-1 single-neutral-actions remove-square-1 file-code pencil-1 keyboard-arrow-down smiley-sad-1 cog single-neutral add-circle move-to-top list-bullets expand-6 undo tags-double smiley-happy view-1 messages-bubble-square print-text add-square smiley-happy credit-card-1 envelope-letter diagram-fall-down

Using Web Hooks

What are Web Hooks?

Web Hooks let you push notifications for certain events (like a new ticket creation) that happen in your SupportBee account to other programs. Coupled with our API, webhooks can help you automate certain tasks that involve talking to other services. This push notification is simply an HTTP POSTtriggered by that event. This call contains data about the event and is made to the URL provided by you.

This feature is intended for businesses that want to integrate SupportBee deeply with their support workflow.

How do I create a Web Hook?

Web Hooks are offered as an integration in SupportBee. The permission to create and delete integrations is restricted to system admins. While logged in as an admin from your ticketing page:

Click on the Admin link in the top left corner of the main page

Choose the 'Web Hooks' tab from the left-side menu

Specify the URL to which the HTTP POST call has to be made.

For multiple URLs separate them with a comma (http://example1.com, http://example2.com)

Click on 'Update App'

Your web hook will be created and triggered every time the event that you created it for happens in your help desk.

How do I test/develop Web Hooks?

Once a Webhook is added to the system via the Webhook Integration, they can be tested by triggering the corresponding event in the system. For example, create a new comment on a ticket, to test the 'New Comment Created' webhook. We recommend using a service like Hookbin to test the webhooks.

An HTTP POST request will be made to the URL you have specified along with the data corresponding to the event you selected. The response for the POST call should be a success (HTTP Status Code 200). If the response is a failure, the call will be retried 3 times at an interval of an hour.

What events are currently supported?

An HTTP POST call will be made to all the web hook URLs registered by you for the following events

New Ticket Created

New Customer Reply Created

New Agent Reply Created

New Comment Created

Ticket Assigned to User

Ticket Unassigned from User

Ticket Assigned to Team

Ticket Unassigned from Team

Ticket Answered

Ticket Unanswered

Ticket Spammed

Ticket Unspammed

Ticket Trashed

Ticket Untrashed

Ticket Archived

Ticket Unarchived

How do I delete a Web Hook?

The permission to delete webhooks is restricted to the admins in the system. While logged in as an admin from your ticketing page:

Click on the Admin link in the top left corner of the main page

Choose the Web Hooks tab from the left-side menu

In the URLs text area, find the web hook that you want to delete, and remove it from the text area.

Click on 'Update App'