Skip to content
ajar.Get started

Begin phone sign-in

airbnb.auth.sign_in

View connector

Begin phone sign-in. Existing UK accounts only; SMS and caller-completed CAPTCHA continuations are supported by the configured account runtime; fresh live validation remains unverified. Native credentials remain caller-held.

POST /v1/connections/airbnb/sign-in

Headers

Authorization: Bearer YOUR_AJAR_API_KEY
Content-Type: application/json

Inputs

ParameterExample typeExample value
phone_country_codestring"44"
phone_numberstring"7700900123"

Example input

{
  "phone_country_code": "44",
  "phone_number": "7700900123"
}

Illustrative response. Store your returned tokens on your device and send the access token in x-airbnb-token on provider requests.

Example response

{
  "expires_in": 599,
  "interaction_ref": "01234567-89ab-4def-8123-456789abcdef",
  "kind": "sms_otp",
  "phone_hint": "••••0123",
  "status": "interaction_required"
}
Open JSON schema

Input schema

{
  "$id": "https://useajar.com/schemas/airbnb/airbnb.auth.sign_in.input.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "phone_country_code": {
      "const": "44"
    },
    "phone_number": {
      "maxLength": 10,
      "minLength": 1,
      "pattern": "^[1-9][0-9]{9}$",
      "type": "string",
      "x-sensitive": true
    }
  },
  "required": [
    "phone_country_code",
    "phone_number"
  ],
  "type": "object"
}