🎆Endpoint & Authorization

The Lamba API exposes the powerful capabilities provided by the Lamba UI

Endpoint Information

The table below shows the endpoint information for interfacing with the Lamba API:

Role
Capabilities

Endpoint

https://api.lambahq.com

Current Version

/v1

Authorization Header Information

Each interaction with the Lamba API must be authenticated. Therefore, you have to provide an authorization header when initiating any call to the Lamba API.

The authorization header is simply a base64 encoded value of your_public_key:your_secret_key .

An example implementation in Javascript would be:

let authorization = btoa("your_pk:your_sk");
// where `authorization` gives you the base64 encoded string

At the end of the day, your headers would look like:

headers: {
   Authorization: "Basic cGtfTE1CX1hQZ0JYTklyQ3VOR19HaWpNZHlUS3dHZUVNdWh4UlpHcHF4Q0g6c2tfTE1CX0RkSWtRdG5wRGRkdF9RdkN3dXB6SU1LUFhXcUh2bWNJbUFSblI="
   ...
}

Helpful Tip: run the following code on your browser terminal to see the the decoded pk and sk dummy data: atob("cGtfTE1CX1hQZ0JYTklyQ3VOR19HaWpNZHlUS3dHZUVNdWh4UlpHcHF4Q0g6c2tfTE1CX0RkSWtRdG5wRGRkdF9RdkN3dXB6SU1LUFhXcUh2bWNJbUFSblI=")

API Documentation

We have documented the API, with many examples, on our Postman documentation page on the link below. Please check it out to get started with our APIs:

https://documenter.getpostman.com/view/29296193/2s9YsT79M2

Last updated

Was this helpful?