Logezy
1.0

Base URL
https://api-console.logezy.co/v1

Base URL: https://api-console.logezy.co

Step 1: Create a application under our developer page. You will get an application_id, client_id and client_secret.

Step 2: Make a POST request to /auth API using the application_id, client_id and client_secret obtained from Step 1 along with your Logezy credentials(email and password). You will get a code in response and the code is used to exchange access token and refresh token in next step.

Step 3: Make a POST request to /token API using the application_id, client_id, client_secret and code which is obtained from Step 2 also include grant_type as authorization_code. In the response you will get access_token, refresh_token, token_type and ttl. The access token is valid only for an hour, once the access token get expired use the refresh_token to get new access_token. Please note you have to maintain the refresh_token in your end safely.

Step 4: To get new access token from refresh token make a POST request to /token API using application_id, client_id, client_secret, refresh_token and grant_type: refresh_token.

This is version 1.0 of this API documentation. Last update on May 28, 2024.