Skip to content
ajar.Get started

Message list

booking.message.list

View connector

Load messages in a property conversation

POST /v1/operations/booking.message.list

Headers

Authorization: Bearer YOUR_CONNECTOR_TOKEN
x-booking-token: YOUR_BOOKING_TOKEN
Content-Type: application/json

Use your connector bearer token and caller-held guest token in x-booking-token.

Inputs

ParameterExample typeExample value
thread_refstring"fictional-thread-ref"

Example input

{
  "thread_ref": "fictional-thread-ref"
}
Open JSON schema

Input schema

{
  "$id": "https://useajar.com/schemas/booking/message-list.input.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "cursor": {
      "maxLength": 128,
      "minLength": 1,
      "type": "string"
    },
    "thread_ref": {
      "maxLength": 128,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "thread_ref"
  ],
  "type": "object"
}