Lety Docs
  • 馃榾Introducci贸n Lety
  • 馃摎Empieza aqu铆
    • Glosario
    • C贸mo construir un Agente AI
  • Precios y creditos
    • 馃攤Cobros autom谩ticos
    • 馃挷Precios Planes
  • 馃槑Agente/Chatbot
    • Inicio
    • C贸mo escribir un buen Prompt
    • Crear un Agente/Chatbot
    • Knowledge base
    • Training
    • Scheduling
    • Leads
    • Appearance/Embed/Share
  • 馃敆Chatbot API
    • Conexi贸n lety agente -Lety Marketing
    • Chatbot API - Zapier
    • Chatbot API - Send/Receive Messages
    • Chatbot API - Key
    • Overview
  • 鉁旓笍Best practices
Powered by GitBook
On this page
  1. Chatbot API

Chatbot API - Zapier

PreviousConexi贸n lety agente -Lety MarketingNextChatbot API - Send/Receive Messages

Last updated 1 year ago

Using the API with Zapier

Using the API with Zapier is all about making sure you are copying and pasting the right info into the right places. At its core that's pretty much how every automation platform works - you just have to make sure the right data is going in the right place.

The Action step you are going to select is the POST event in the Webhooks Zap

URL: This is where you paste in the webhook URL:

https://YOUT_AGENCY_DOMAIN/en/chatbot/api/v1/message/

Payload Type: json

Data:

- chatbot_uuid | this is the value copy/pasted from the chatbot鈥檚 dashboard

- query | this is the message from the user that you want to send to the AI chatbot

- user_key | this is the unique contact ID to identify each person鈥檚 conversation

Wrap Request in Array: No

Unflatten: Yes

Basic Auth: Leave this field blank

Headers: Authorization | Token ba534d4274523452345da0e99345a67000

馃敆