Skip to content
ajar.Get started

Trip list

airbnb.trip.list

View connector

List upcoming or past guest trips

POST /v1/operations/airbnb.trip.list

Headers

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

Inputs

ParameterExample typeExample value
periodstring"past"

Example input

{
  "period": "past"
}
Open JSON schema

Input schema

{
  "$id": "https://useajar.com/schemas/airbnb/trip-list.input.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "cursor": {
      "maxLength": 2048,
      "minLength": 1,
      "type": "string"
    },
    "period": {
      "enum": [
        "upcoming",
        "past"
      ],
      "type": "string"
    }
  },
  "required": [
    "period"
  ],
  "type": "object"
}