Authentication

Bookinglayer supports API Key access. API Keys can be created in the Backoffice / Settings / API / Tokens section. (https://app.bookinglayer.io/api/tokens)

Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, not secured client-side code, and so forth (we know you know it).

You can add multiple keys with a name for each one. The name associated with the key will be visible in the logs.

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.

Sample request:

Authentication method, where previously generated API Key is used to sign requests:

GET https://api.bookinglayer.io/private/bookings/8ba55037-2893-4172-b370-4df9aa79c12f HTTP/1.1
Host: api.bookinglayer.io
Content-Type: application/json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIzIiwia

Last updated