Skip to content
ajar.Get started

Message get

airbnb.message.get

View connector

Load a message thread and the returned message segment

POST /v1/operations/airbnb.message.get

Headers

Authorization: Bearer YOUR_AJAR_API_KEY
x-skyscanner-token: YOUR_SKYSCANNER_TOKEN
Content-Type: application/json

Inputs

ParameterExample typeExample value
thread_idstring"synthetic-thread"
limitnumber20

Example input

{
  "thread_id": "synthetic-thread",
  "limit": 20
}
Open JSON schema

Input schema

{
  "$id": "https://useajar.com/schemas/airbnb/message-get.input.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "limit": {
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "type": "integer"
    },
    "thread_id": {
      "maxLength": 1024,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "thread_id"
  ],
  "type": "object"
}