API reference
ZenHost Public API 1.0.0, rendered from openapi.json. Every endpoint but the spec itself needs Authorization: Bearer zh_at_... and the Permission shown.
Authentication
Send the access token of the App Connection in the Authorization header of every call. The base URL is https://app.zenhost.com/api/v1.
GET /api/v1/properties
Authorization: Bearer zh_at_...Endpoints
Properties
Restrictions
Bookings
Messages
- GET
/message-threadsList the Message Threads of the Connection Scope - POST
/bookings/{booking_id}/message-thread/closeClose the conversation of a booking - POST
/bookings/{booking_id}/message-thread/reopenReopen the conversation of a booking - GET
/bookings/{booking_id}/messagesList the messages of a booking - POST
/bookings/{booking_id}/messagesSend a message to the guest of a booking - GET
/bookings/{booking_id}/messages/{message_id}/attachments/{index}Download an attachment of a message