Skip to main content
Triggers let you automate actions based on user behavior — like opening the chat when someone scrolls down, showing a form after time on page, or displaying a message on exit intent.

Endpoints

Widget Endpoints (Public)

List Triggers

Query Parameters

Response

Get Trigger

Returns a single trigger object.

Get Trigger Stats

Get performance statistics for all triggers.

Response

List Templates

Get pre-built trigger templates from the marketplace.

Response

Create Trigger

Request Body

Parameters

Trigger Types

Action Types

Response

Update Trigger

Request Body

Only include fields you want to update:

Response

Returns the updated trigger object.

Delete Trigger

Response

Toggle Trigger

Quickly enable or disable a trigger.

Response

Returns the updated trigger with isEnabled toggled.

Widget Endpoints

These public endpoints are used by the widget to fetch and record triggers.

Get Widget Triggers

Returns only enabled triggers with minimal fields for the widget:

Record Trigger Event

Record when a trigger fires or converts.

Request Body

Rate Limits

  • 100 events per minute per session/IP
  • Returns 429 when exceeded

Get Form for Trigger

Fetch form schema when a show_form trigger fires.

Examples

Time-Based Welcome

Show a message after 10 seconds:

Scroll-Triggered Form

Show lead form after 50% scroll:

Exit Intent Offer

Open chat when user tries to leave:

Page-Specific Trigger

Show help on pricing page:

Custom Event Trigger

React to custom events from your code:
Then fire from your code:

Condition Patterns

Page Matching

The page condition supports glob patterns: