Lamba Product Documentation
Learn More
  • πŸ‘‹Welcome to Lamba
  • Overview
    • πŸ’‘Why Lamba?
    • 🍒Our Strategies for Solving Problems
    • β˜‘οΈReasons Why Lamba is Almost Costless!
    • πŸ”’Methods of Security Enforcement
  • Use Cases
    • πŸ‘ For E-commerce (collecting & splitting payments)
    • 🏹For CRMs
    • πŸ‘©β€πŸ’»For CMS
    • πŸ“§Building Email Apps
    • πŸ“©Building SMS Apps
    • πŸ§‘β€πŸ€β€πŸ§‘Building Social Media Publishing Apps
  • Getting Started
    • 🀝Creating Your First App
    • πŸ”Generating API keys & Enabling Services
    • πŸ”‘Recommended Security Considerations
  • Documentation
    • 🐦Understanding Lamba Model
    • ⛱️Lamba UI (JS Client)
      • πŸ‹Live Demo
      • πŸ§‘Installation & Initialization
      • πŸ“Structure of the Initialization Object
      • πŸ§‘How to use a service
        • Using LowMail
        • Using LowSMS
        • Using LowFi
      • 〽️Listening for Events
      • πŸ•ΈοΈHandling Webhooks
    • ♐Lamba API
      • πŸŽ†Endpoint & Authorization
  • Development Roadmap
    • πŸ—ΎRDMP 2023
    • πŸ—ΎRDMP 2024
  • Join The Team
    • πŸ«‚Bring On Your Skillset
Powered by GitBook
On this page
  • Endpoint Information
  • Authorization Header Information
  • API Documentation

Was this helpful?

  1. Documentation
  2. Lamba API

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:

PreviousLamba APINextRDMP 2023

Last updated 11 months ago

Was this helpful?

♐
πŸŽ†
https://documenter.getpostman.com/view/29296193/2s9YsT79M2