Create Token
Here you can find the steps you should do to Authenticate to access our API
âšī¸ Create Token (OAuth 2.0 - Client Credentials Grant)
To interact with our reservation system API, you'll need to authenticate using OAuth 2.0, specifically the Client Credentials Grant flow. This method is designed for server-to-server communication without involving a user. Below, you'll find detailed instructions on how to obtain an access token, which you will use in subsequent API calls.
âī¸ Use the base resource URL for the following examples, or see complete collection
âšī¸ Authentication Method Overview
Our API uses OAuth 2.0 to ensure secure access to protected resources. In this flow:
Client Identification: Your application authenticates using a unique Client ID and Client Secret provided during registration.
Requesting an Access Token: The client sends a POST request to our authorization server to obtain an access token. The type of the provided token is "Bearer".
API Access: The access token must be included in the header of each subsequent API request to authenticate and authorize access to the system's protected resources.
Step 1: Request an Access Token (or use your favorite programming language see more)
Create a new token
POST
/oauth2/token
Generate new access token
Headers
Content-Type
application/json
Accept
application/json
Body
grant_type
client_credentials
The credential type to exchange for an access token
client_id
<your_client_id>
The client id provided after registration
client_secret
<your_client_secret>
The client secret provided after registration
Response
Step 2: Include it in the Authorization header of all your subsequent API requests (see complete examples in collection Postman)
Last updated