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

# Postman Collection

Get up and running quickly with the Selfbook Travel API Postman collection. It includes every use case pre-configured — search, booking, modification, and cancellation — with workflow management and automatic token handling, so you can test end to end with minimal setup.

[Download the Postman Collection](https://travel.selfbook.com/Selfbook-travel-postman.zip)

## What's included

* **Collection** — all Selfbook Travel API requests, organized by use case.
* **Sandbox environment** — a ready-to-use environment file pointing at the sandbox server.
* **Automatic token handling** — payment and pagination tokens are captured and reused across requests.

## Setup

<Steps>
  <Step title="Import">
    Unzip the download and import both the collection and the environment file into Postman (File → Import).
  </Step>

  <Step title="Add your credentials">
    Open the environment and set your partner credentials — your Partner Account ID (user ID) and API key (password). These are provided during onboarding and are sent using Basic Authentication.
  </Step>

  <Step title="Select the environment">
    Choose the Selfbook environment in the top-right of Postman so requests target the sandbox server.
  </Step>

  <Step title="Run a flow">
    Start with a hotel search, then follow the booking flow. Tokens returned along the way are stored automatically for use in subsequent requests, including the payment token conveyance step.
  </Step>
</Steps>

<Note>The collection targets the sandbox server by default. Update the base URL in the environment to move to production.</Note>
