post
https://api.getwax.io/v1/contacts_lists
Creates a contacts list, empty, or a segment, whose contacts are the ones matching its conditions.
Use Case: Create a list, then add contacts to it with POST /v1/contacts_lists/{contacts_list_id}/contacts,
to use it as the audience of a campaign or the trigger of an automation.
Technical Details:
- The name must be one no other list or segment of your organization has
- A segment takes
conditions: groups of criteria, a contact must match every group (AND) and one criterium
of a group is enough (OR). A criterium names a tag, contact attribute or metric:
{ "reference_type": "Tag", "reference": "VIP", "condition": "include" },
{ "reference_type": "OrganizationAttribute", "reference": "whatsapp_opt_in_status", "type": "text", "condition": "not_equals", "value": "opted_out" } - The contacts of a segment are computed in the background: its
audienceis 0 while
synchronization_in_progressis true, then follows its conditions as contacts change
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…