Skip to main content

Accessing the API from your Application

For security reasons, all your requests must contain a specific QUERY parameter with the API Key as value.
If not, the request will be refused by the Lineberty server.

Specify the Query parameter as follows:

static generateRequest ( url, apiKey ) {
return url + '?key=' + apiKey
}
tip

We recommend using API Key caching to optimize the number of requests per day and resend the request once a day.

Interaction Diagram

Below is a diagram of the interactions between your booking application and the Lineberty API.

Interactions with the Lineberty API

User Authentication

In order to be able to perform authenticated requests from your booking application, you need to previously authenticate a user: