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
1
Import
Unzip the download and import both the collection and the environment file into Postman (File → Import).
2
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.
3
Select the environment
Choose the Selfbook environment in the top-right of Postman so requests target the sandbox server.
4
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.
The collection targets the sandbox server by default. Update the base URL in the environment to move to production.