The API V1 JSON methods take JSON data POSTed to the method's endpoint URL and return JSON. Every request needs your account API key and the property key, and operations on a specific room also need the room id.
Note: API V1 is deprecated and won't be developed further. For new projects, use API V2.
Authentication
| Field | Where you set it | When you need it |
|---|---|---|
apiKey |
The account API key, set in Settings > Account | All JSON methods |
propKey |
The property key, set in Settings > Properties > Access | All JSON methods |
roomId |
The room id number | Operations involving a specific room |
Send and receive data
- Send the data in JSON format and POST it to the endpoint URL. The returned data is also in JSON format.
- Booking data can be imported up to five years back.
Test with sample data
Open the endpoint of a method in your browser to see sample JSON data for that method. To test, paste your JSON data into the text area at the endpoint URL and click Submit.