Additional platform features. API

Additional platform features. API

UA

image-20240611-123449.png

US

image-20240611-123805.png

RU

image-20240611-131051.png

UA

image-20240611-123449.png

US

image-20240611-123805.png

RU

image-20240611-131051.png

API (Application Programming Interface)

The API allows you to connect your Leeloo.Ai account with third-party services (CRM systems, email/SMS platforms, analytics tools, etc.). With API integration, you can automate routine tasks, transfer data about subscriptions, orders, and purchases, and trigger actions based on specific events.

In this guide, you will learn how to:

  • Obtain your API authorization token

  • Use the API to send and receive data

  • Connect Leeloo.Ai to other apps via Zapier or API WAY

  • Follow API usage limits

  • Apply real-life automation scenarios

Key Terms

Term

Explanation

Term

Explanation

API

Application Programming Interface that allows data exchange between systems

Authorization Token

A secure unique key to access your API account

Request Limit

Maximum of 300 requests per minute

Zapier

A no-code automation tool to connect apps

API WAY

A visual alternative to Zapier for integration without developers

Before You Begin

  • Make sure API access is available in your pricing plan

  • Define what tasks you want to automate (lead sync, order processing, message sending)

  • Prepare a list of third-party services you plan to integrate (e.g. your CRM)

How to Connect via API

  1. Go to “Settings → Integrations → API”

  2. Generate your authorization token

    • Copy and securely store the token

    • You will need it for every API request

  3. Set up data exchange via API

    • Use the token in the request header:
      Authorization: Bearer {your_token}

    • Refer to documentation: https://docs.leeloo.ai/api/

  4. Respect the request limits

    • You can make up to 300 requests per minute

    • Exceeding the limit may result in temporary access restrictions

  5. Use Zapier for no-code integration

    • Connect Leeloo.Ai to Gmail, Google Sheets, and more without writing code

    • Fast setup in just a few clicks

  6. Alternative: Use API WAY

    • Visual workflow builder

    • Great for users who don’t use Zapier or prefer a drag-and-drop interface

Example Use Case

Scenario: New Order via Website

  • A user places an order on your website

  • Data is automatically sent to Leeloo via API

  • The user receives a confirmation message with order details

  • The order is tracked in “Analytics”

  • You receive real-time statistics and reporting

Linked Resources

FAQ — Common Errors

Error

Cause

Solution

Error

Cause

Solution

Request fails

Missing or invalid authorization token

Check the Authorization header, re-generate token if needed

Rate limit exceeded

Too many requests per minute

Add delay/queue, ensure under 300 requests/min

Integration doesn’t respond

Incorrect request format

Validate your JSON structure against API docs

Can't set up integration

No technical skills

Use Zapier or API WAY to configure visually without coding