Send an event
Sends an occurrence of a previously defined custom event. For contact events, identify the contact using one of a contact ID, phone number, or Meta username.
Authorizations
Body
- Option 1
- Option 2
- Option 3
Contains the properties of the custom event data to be sent.
For events defined with objectType as CONTACT, provide one of objectId, contactPhoneNumber, or contactUsername to identify the contact.
Only one identifier is used per event. If multiple identifiers are provided, a numeric objectId takes precedence, followed by a non-blank contactPhoneNumber, then contactUsername.
Name of the event. One of the custom event names you previously defined.
"unique_event_name"
ID of the object that the event is associated with.
For events defined with objectType as CONTACT, provide the numeric ID of an existing contact in your account.
A numeric objectId takes precedence over contactPhoneNumber and contactUsername. If that contact is not found, the request fails without trying another identifier.
The contact's phone number in E.164 format for events defined with objectType as CONTACT.
Used when no numeric objectId is provided. Looks up a contact in your account by phone number and creates one if no match exists.
Takes precedence over contactUsername.
"+16315551111"
The Meta username of an existing contact in your account for events defined with objectType as CONTACT. Provide the username saved on the contact, without the leading @.
Used when neither a numeric objectId nor a non-blank contactPhoneNumber is provided.
If no matching contact exists, the request fails. A username does not automatically create a contact.
"customer_demo"
The properties of the custom event.
Show child attributes
Show child attributes
{ "property1": "value1", "property2": "value2" }
Response
Successfully accepted the event. Returns an empty JSON object.

