Breadcrumbs

Connect to Bilberry API

It is possible to connect to the Bilberry API since our API is open to integrate in to.


Tokens

In Bilberry we have two different tokens: The Standard API token and the Agent API token.

  • Standard API token is issued by the Bilberry client, and can be used on the booking API.

  • Agent token is a token that is unique to an agent within Bilberry. This token will only let you see products that the agent can book, and automatically give set provisions. When using the token, the products will be automatically fetched for that agent, and reservations will be placed on the tokens agent.

You can authenticate your request by sending a token in the Authorization header of your request. In the following example, replace YOUR-TOKEN with a reference to your token:

curl --request GET \
--url "https://bilberry.no/api" \
--header "Authorization: Bearer YOUR-TOKEN" \