Skip to main content
Every botbaba.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Actions

execute

actions.execute Execute a bot action for a conversation Risk: write
Input Output: object

executeByUser

actions.executeByUser Execute a bot action for users Risk: write
Input Output: object

getWidgetSettings

actions.getWidgetSettings Get bot widget settings Risk: read
Input Output: object

Broadcasts

delete

broadcasts.delete Delete a broadcast Risk: destructive
Input Output: object

get

broadcasts.get Get a broadcast Risk: read
Input Output: object

list

broadcasts.list List broadcasts Risk: read
Input Output: object

Contacts

delete

contacts.delete Delete a Botbaba contact Risk: destructive
Input Output: object

get

contacts.get Fetch a Botbaba contact by ID Risk: read
Input Output: object

getAnalytics

contacts.getAnalytics Retrieve contact analytics over a date range Risk: read
Input Output: object

update

contacts.update Update an existing Botbaba contact Risk: write
Input
Output: object

Flows

delete

flows.delete Delete a conversation flow Risk: destructive
Input Output: object

get

flows.get Get a conversation flow Risk: read
Input Output: object

list

flows.list List conversation flows Risk: read
Input: empty object Output: object

Gupshup

forwardMessage

gupshup.forwardMessage Forward a Gupshup WhatsApp webhook to Botbaba Risk: write
Input
Output: object

Messages

get

messages.get Get a message Risk: read
Input Output: object

getAnalytics

messages.getAnalytics Get message analytics Risk: read
Input Output: object

list

messages.list List messages Risk: read
Input Output: object

sendWhatsappTemplate

messages.sendWhatsappTemplate Send a WhatsApp template via Botbaba Risk: write
Input
Output: object

Shopify

cartCreation

shopify.cartCreation Forward Shopify cart creation to Botbaba Risk: write
Input
Output: object

cartUpdate

shopify.cartUpdate Forward Shopify cart update to Botbaba Risk: write
Input
Output: object

checkoutCreation

shopify.checkoutCreation Forward Shopify checkout creation to Botbaba Risk: write
Input
Output: object

checkoutUpdate

shopify.checkoutUpdate Forward Shopify checkout update to Botbaba Risk: write
Input
Output: object

orderCancellation

shopify.orderCancellation Forward Shopify order cancellation to Botbaba Risk: write
Input
Output: object

orderFulfillment

shopify.orderFulfillment Forward Shopify order fulfillment to Botbaba Risk: write
Input
Output: object

orderPayment

shopify.orderPayment Forward Shopify order payment to Botbaba Risk: write
Input
Output: object

Simulators

cartCreation

simulators.cartCreation Simulate a Shopify cart creation payload Risk: read
Input: empty object Output

checkoutCreation

simulators.checkoutCreation Simulate a Shopify checkout creation payload Risk: read
Input: empty object Output

checkoutUpdate

simulators.checkoutUpdate Simulate a Shopify checkout update payload Risk: read
Input: empty object Output

gupshup

simulators.gupshup Simulate a Gupshup WhatsApp webhook payload Risk: read
Input
Output

orderFulfillment

simulators.orderFulfillment Simulate a Shopify order fulfillment payload Risk: read
Input Output

Tags

delete

tags.delete Delete a tag Risk: destructive
Input Output: object

list

tags.list List all tags Risk: read
Input: empty object Output: object

update

tags.update Rename a tag Risk: write
Input Output: object

Templates

delete

templates.delete Delete a message template Risk: destructive
Input Output: object

get

templates.get Get a message template Risk: read
Input Output: object

list

templates.list List message templates Risk: read
Input Output: object

update

templates.update Update a message template Risk: write
Input Output: object

Utils

getFilename

utils.getFilename Extract a filename from a path Risk: read
Input Output

Webhooks

delete

webhooks.delete Delete a webhook Risk: destructive
Input Output: object

get

webhooks.get Get a webhook Risk: read
Input Output: object

list

webhooks.list List webhooks Risk: read
Input Output: object

listEventTypes

webhooks.listEventTypes List webhook event types Risk: read
Input: empty object Output: object

update

webhooks.update Update a webhook Risk: write
Input Output: object