Update webhook
Webhooks
Change an existing webhook's URL, subscribed events, name or authentication. The ID goes in the request body, not in the path — unlike delete, enable and disable, which take it in the path. The change applies to the next delivery; deliveries already sent are not affected. The Basic password is never returned: send it empty to keep the stored one, which is only kept while the URL origin and the username stay the same.
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
Body
Arm production
Writing methods are locked until you arm them. This is live hotel data.
PUT is locked on production. Arm it above if you mean it.
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.
Request body
Name
Url
List of event types
One of:bookings-added
Authentication details
Webhook ID
1{2 "name": "My Webhook",3 "url": "https://mywebhook.com",4 "eventTypes": [5 "bookings-added"6 ],7 "authentication": {8 "status": true,9 "username": "myUser",10 "password": "myPassword"11 },12 "id": "60d21b4667d0d8992e610c85"13}
Responses
No Content.
—
What is a pcode?
Rate limits