Skip to main content
This guide walks you through your first call to the Booking Engine API. You will set up OAuth 1.0 signing, open a session with the Create a new session endpoint, and use the returned identifier for the rest of the funnel.
No credentials yet? Import the API collections and run any request against the mock environment straight away, with no credentials. Add your OAuth 1.0 credentials when you are ready to call the live API.

Prerequisites

Get the following from D-EDGE before starting:
  • OAuth 1.0 credentials: consumer key, consumer secret, token key, and token secret.
  • API base URL: the base URL for your environment.
  • Booking Engine ID: the booking engine you integrate against.
All are delivered during the build step of your integration journey, after the partnership agreement.
1

Install an OAuth 1.0 library

Use a battle-tested library to handle the signing. Skip this step if you only use cURL.
2

Create a session

Send a POST to the Create a new session endpoint with the search context. The full field requirements are documented in the Reference.
3

Use the session

A successful response returns the session, including the sessionId. Carry that identifier in the path of every following call, for example to search available rooms:
From here, follow the funnel: search, describe, build the basket, quote, and confirm. Each stage is documented in the Reference.

Common issues

Next steps

Reference

Every endpoint, grouped by stage of the funnel.

Use cases

Six patterns, from conversational agents to branded confirmation pages.

Best practices

Patterns to build the funnel responsibly and run reliably at scale.