Fire Custom Event

Fires a custom event from your own systems (for example a CRM or order management tool) for a customer on one of your channels, and see it in Funnel alongside your WhatsApp conversation data.

Before you call

  • Enterprise Analytics must be turned on for your organization. If it isn't, contact Support.
  • The custom event must already exist. eventName (3–100 characters) is matched without regard to case.
  • wabaNumber must be one of your channels. customerPhoneNumber is required.
  • botId is optional. If you send it, the bot must belong to your organization.

How it works

  • The event is queued and processed in the background. The call returns success: true.
  • Returns 404 if the event, bot or channel is not found.
  • Each organization has a daily cap on fired events (20,000 by default), counted in the organization's timezone. Past the cap, calls fail with 400.

Rate limit

  • 60 requests per minute.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length between 3 and 100

Name of the custom event to fire. Must match the name of an event already configured for the organization.

string

Optional. ID of the bot to associate with this event execution, if applicable — the event can be fired without one.

string
required

The WABA number of the WhatsApp integration the event is fired on.

string
required

The phone number of the customer the event is fired for.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json