index

getMessages JSON


Instructions

Post JSON data here to get messages from a property.

See here for information about using the JSON API.

The parameter bookId is optional and can be used to limit the returned messages to the specified booking.

The parameter incNotes is optional and can be used to include internal notes added to the booking.

The 100 most recent messages are returned, to see the next 100 messages specify the parameter page.

Example Data

Most recent 100 messages for property

{
    "authentication": {
        "apiKey": "apiKeyAsSetInAccountSettings",
        "propKey": "propKeyAsSetForTheProperty"
    }
}

Second most recent 100 messages for property

{
    "authentication": {
        "apiKey": "apiKeyAsSetInAccountSettings",
        "propKey": "propKeyAsSetForTheProperty"
    },
    "page": "2"
}

Messages for a specific booking

{
    "authentication": {
        "apiKey": "apiKeyAsSetInAccountSettings",
        "propKey": "propKeyAsSetForTheProperty"
    },
    "bookId": "12345678",
    "incNotes": true
}