Get webhook delivery logs
Webhooks
The delivery history of one webhook, newest first: for each attempt, the event, the payload sent (keys that were missing when it was sent are stored as null), the outcome, how long it took and the error if there was one. Any 2xx is recorded as 200; a delivery that never got a response — a network error, or a URL refused because it resolves to a private network — is recorded as 500 with the reason in its message. This is the place to look when an event you expected never arrived — and, since failures are not retried, the only record that it was attempted. **Entries are kept for 30 days** and then deleted automatically, so pull anything you need to keep before then.
Console
Runs against the API from your browser, with the same request your server will send.
Environment
Production
https://uni-api.hotelgest.com
Calls hit live data with your own API key. A POST, PUT, PATCH or DELETE here changes a real property.
Credentials
The API key, sent on every request. A property admin creates it in the PMS under Settings → API keys; a partner receives one per property when the property activates its integration. It works only for the property it was issued for, and only on the endpoints granted to it.
This endpoint needs a credential. Without it you will get a 401.
Stored in this browser only. Never sent anywhere but the API host above.
Path parameters
Send the request to see the real response here.
Nothing is mocked. What comes back is what the API returned.
Requests go straight from your browser to the API host above — nothing is proxied through this site.
Path parameters
Property code. Identifies the property (hotel, apartment building, hostel) the request applies to. It must match the property your API key was issued for.
Webhook ID, as returned by GET /api/webhooks/{pcode}.
Responses
Ok. If your API key answers encrypted — every key issued now does, and every partner credential — this body arrives as the encryption envelope ({ crypto, protected, wrappedKey, iv, payload, tag }, a compact JWE), and the schema below is what its payload decrypts to. See https://public-api.hotelgest.com/public/guides/encryption
Unique identifier of the log entry (a 24-character hex id)
Property code
ID of the webhook this delivery belongs to
URL the delivery was sent to, as the webhook had it at that moment
Event type that triggered the delivery
One of:bookings-added
The JSON body POSTed to your URL: { "eventType": "bookings-added", "data": { "bookings": [ … ] } }. Each item of data.bookings has the shape GET /api/bookings/{pcode}/detail/{bookingId} answers. Keys whose value was missing when it was sent can hold null here.
Outcome of the delivery as Hotelgest records it: 200 for any 2xx answer from your endpoint (the exact 2xx is not kept), the status your endpoint answered for any other response (redirects are not followed, so a 3xx is recorded as is), and 500 when there was no response at all — a network error, a TLS failure, or a URL refused because it resolves to a private network. In that last case the 500 is Hotelgest's, not your endpoint's.
Why the delivery failed: the HTTP client's message (e.g. Request failed with status code 404, connect ECONNREFUSED 203.0.113.10:443) or the reason the URL was refused. null or absent when the delivery succeeded.
Duration of the delivery in milliseconds
When the delivery was made (ISO 8601). Entries are deleted 30 days after it
What is a pcode?
Rate limits