How to get all contacts into a segment?
I am using this:
/contacts
But return all contacts into and out of the specific segment.
I need make this using API by GET like above, not using php.
thank
@alexalxs To do this, it is a GET request to the following:
https://[your_mauitc_domain]/api/contacts?search=segement:segment-alias
replacing segment-alias with your alias. Essentially, the search parameter can be anything you can use in the search in the Mautic UI, as described here: