SendWave API icon

SendWave API

Interactuar con SendWave API

Integration → Typebot

AI-generated

Summary

Performs CRUD and lifecycle operations on a Typebot via the Typebot API (create, find, update, delete, start, fetch sessions, or change session status).

Inputs

  • instanceName (required) — Name of the WhatsApp instance that will send messages.
  • resourceForTypebot (required) — Select the Typebot action: createTypebot, findTypebot, updateTypebot, deleteTypebot, startTypebot, fetchSessionsTypebot, changeStatusTypebot.
  • apiKey — Optional API key override from incoming webhook JSON data.

Output shape

object

Returns the raw response from the Typebot API for the selected action (e.g., created Typebot details, list of Typebots, update confirmation, deletion status, session start confirmation, session list, or status update). The exact fields depend on the chosen operation.

Examples

Example 1: Create a new Typebot

Set resourceForTypebot=createTypebot, provide url, typebot name, trigger settings, expiration, message texts, behavior flags, and optionally apiKey.

Example 2: Start a Typebot session for a user

Set resourceForTypebot=startTypebot, provide typebotId (or url+typebot name), remoteJid of recipient, and optionally startSession and variables.

Example 3: Change session status

Set resourceForTypebot=changeStatusTypebot, provide typebotId, remoteJid, and desired status (opened/paused/closed).

Discussion