> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pageonetravel.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PageOne Travel B2B API

> Integrate Content Accommodations, Search, Quote, Book, Cancel and partner management APIs.

`PageOne Travel B2B API` is a To-B OTA API solution for partners.

* Core booking flow: `content accommodations`, `search`, `quote`, `book`, `cancel`
* Partner management: user login, user management, API key management, connection management
* Headers, request/response fields, and validation rules are aligned with current backend code

## Core Flow

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Run through the full integration flow from authentication to booking cancellation.
  </Card>

  <Card title="Authentication" icon="key" href="/api-reference/authentication">
    Understand API key auth and partner JWT auth.
  </Card>

  <Card title="Workflow" icon="arrows-rotate" href="/api-reference/workflow">
    See the required call sequence and token/reference lifecycles.
  </Card>

  <Card title="Error Handling" icon="triangle-exclamation" href="/api-reference/errors">
    Review common status codes and backend error messages.
  </Card>
</CardGroup>

## API Modules

<CardGroup cols={2}>
  <Card title="Content Accommodations API" icon="database" href="/api-reference/content/accommodations">
    Retrieve paginated accommodation content codes for downstream search input.
  </Card>

  <Card title="Search API" icon="magnifying-glass" href="/api-reference/core/search">
    Retrieve priced accommodation options by connection.
  </Card>

  <Card title="Quote API" icon="receipt" href="/api-reference/core/quote">
    Re-validate a selected search option before booking.
  </Card>

  <Card title="Book API" icon="calendar-check" href="/api-reference/core/book">
    Create a confirmed booking with quote reference.
  </Card>

  <Card title="Cancel API" icon="ban" href="/api-reference/core/cancel">
    Cancel a booking by booking reference.
  </Card>
</CardGroup>

## Partner Management

<CardGroup cols={2}>
  <Card title="User Login" icon="right-to-bracket" href="/api-reference/management/auth-login">
    Get JWT token for partner user operations.
  </Card>

  <Card title="Users" icon="users" href="/api-reference/management/users">
    Create, list, and manage partner users.
  </Card>

  <Card title="API Keys" icon="key-skeleton" href="/api-reference/management/api-keys">
    Create and rotate API keys for programmatic access.
  </Card>

  <Card title="Connections" icon="plug" href="/api-reference/management/partner-connections">
    View and update partner-owned connections.
  </Card>
</CardGroup>

<Note>
  All endpoints below are prefixed with `/api` in production because the backend uses `app.setGlobalPrefix("api")`.
</Note>
