For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to add a webhook

This guide shows you how to send Guestway events to your own system, and how to check that they arrive.

Before you start

  • Your role has access to webhooks.

  • An HTTPS endpoint that accepts requests with HTTP Basic Auth.

Add the endpoint

1

Open the webhooks

Go to Settings → Organization → API Access, tab Webhooks, and click Create.

If the organization already has 5 webhooks, you cannot create another. Delete one first.

2

Enter the address

Enter a Name and the URL of your endpoint. The URL must be a public HTTPS address.

Enter the final address of your endpoint. Guestway does not follow redirects, so a redirect makes the delivery fail.

3

Add the alert emails

In Notification emails, add up to 3 email addresses. They get an email when deliveries fail.

Choose the events

1

Select the events

Select the events in Event types, for example Reservation updated or New conversation message.

2

Create the webhook

Click Create.

Save the credentials

1

Copy the credentials

In Webhook created. Save your credentials, copy the Name, the Secret and the Header. Set them in your endpoint, so it accepts only requests from Guestway. Click Copy secret & close.

You can show the secret again later: open the webhook and expand Authentication credentials.

Check the deliveries

1

Open the logs

Open the tab Webhook Logs. Each delivery shows its Status: Delivered, Failed or Final failure.

If a delivery failed, check Response and Failure reason.

Troubleshooting

What do I do when the webhook shows Disabled?

Fix the problem in Webhook Logs first. Then open the webhook and click Re-enable webhook.

What do I do when the secret leaked?

Open the webhook and click Regenerate secret, then Regenerate. The old secret stops working at once, so update your endpoint right away.

How do I test the webhook?

Guestway has no button to send a test event. Make a change that triggers one of the events, for example update a reservation, and check Webhook Logs.

Why do the deliveries fail with a 3xx response?

Your endpoint answers with a redirect, and Guestway does not follow redirects. Open the webhook, and change the URL to the final address of your endpoint.