The Webhooks feature in Trafft enables users to connect with other web applications seamlessly. With this feature, users can set up automated messages and updates to custom URLs. Webhooks enable the sending of data from Trafft to any other application, allowing for efficient data sharing and integration across various platforms.
To use Webhooks, go to the Integrations page and click "Set Up" next to Webhooks. This will take you to the page where you can create your webhooks. At this stage, you will see that no webhooks exist, so let's create some!
In the top right corner, you will find the 'Create Webhook' button. Click on this button to create various types of Webhooks:
- Appointment Booked
- Appointment Canceled
- Appointment Rescheduled
- Appointment Status Changed
- Appointment Schedule
- Customer Created
These types of webhooks correspond to the events in Trafft that would trigger them to be sent.

When configuring your Webhooks in Trafft, you will have access to various settings:
- Name: This allows you to title your webhook for easy identification.
- Webhook URL: Enter the URL of your application where you want the webhook information from Trafft to be sent. This enables you to integrate Trafft data into other applications as needed.
Additionally, Trafft offers a handy feature to test your Webhooks:
Send Test Webhook: This option sends the details of the most recent appointment in your account to the specified URL. To avoid sending real customer data, book a test appointment with a test employee first. It provides a preview of the information that will be sent for each appointment triggered by the webhook. The following appointment details are included:
- Appointment Status
- Appointment Start Date
- Appointment Start Time
- Appointment Start Date and Time
- Appointment End Date
- Appointment End Time
- Appointment End Date and Time
- Appointment Price
- Customer Full Name
- Customer First Name
- Customer Last Name
- Customer Email
- Customer Phone
- Employee Full Name
- Employee First Name
- Employee Last Name
- Employee Email
- Employee Phone
- Service Category
- Service Name
- Service Duration
- Service Price
- Extras
- Location Name
- Location Address
- Location Phone
- Custom Fields
This allows you to ensure that the webhook is correctly configured to send the necessary information for your integration needs.
When setting up your Webhooks in Trafft, you have the option to utilize a 'Verification Token'. Clicking on this button (next to the "Create Webhook" button) will prompt a pop-up window where you can view and copy your verification token.

By utilizing the Verification Token, each webhook request sent from Trafft to your application can be authenticated, ensuring that the data received is indeed originating from Trafft. This token is included in the Authorization Header of the webhook request for added security.
As a testament to the versatility of webhooks, Pabbly team has successfully created integration with Trafft, showcasing the possibilities for seamless integration with external applications.
How do I send a webhook before or after an appointment?
You can send a webhook at a set time before or after an appointment with the Appointment Schedule webhook. It works like the appointment reminder and follow-up notifications, so the app connected to Trafft can send reminders, review requests or any other follow-up at the right moment. To create it, click Create Webhook and select Appointment Schedule, which is marked with a clock icon. Along with Name and Webhook URL, it has a Schedule setting that controls when it is sent:
- Before: sends the webhook the selected amount of time before the appointment start time.
- After: sends the webhook the selected amount of time after the appointment end time.
- On-time: sends the webhook at the appointment start time.
For Before and After, choose a number from 1 to 30 and a unit (Minutes, Hours, Days, Weeks or Months). The default is Before, 1, Hours. The webhook sends the same appointment details as the other appointment webhooks, listed above under Send Test Webhook.
Can I add more than one Appointment Schedule webhook?
Yes, you can add the Appointment Schedule webhook as many times as you need, each with its own schedule. For example, one can be set to 1 day before the appointment as a reminder and another to 2 hours after it as a follow-up, each sending data to its own URL.
What happens when a scheduled appointment is rescheduled or has several customers?
If an appointment is rescheduled, the Appointment Schedule webhook is scheduled again based on the new date and time, the same way scheduled notifications work. For group bookings, Trafft sends one POST request for each approved booking on the appointment. Each request has the same appointment ID and that customer's details. Customers added to the group after it was booked are included when the webhook is sent.
Have more questions
If you face an issue, and cannot find an answer in the documentation, feel free to submit a support ticket!
Contact us