Skip to content

Mobile apps integration

Integrate the Traveln.ai WebApp inside native iOS/Android apps using a WebView and header-based silent login.

Mobile apps do not use SSO tokens; they must send headers on the initial load to create and persist the session.

Why headers are required

The WebApp relies on the silent login pipeline to authenticate and create a session. This requires sending the partner key and user attributes via HTTP headers on the first WebView request.

Silent login pipeline (required headers)

  • Authorization: Api-Key {partner-key}
  • TRAVELN-EMAIL
  • TRAVELN-PHONE
  • TRAVELN-FIRST-NAME
  • TRAVELN-LAST-NAME

When these headers are present, the backend creates a session and sets cookies. Subsequent navigation inside the same WebView reuses the session via cookies.