Mautic Community Forums

Make an API Call to get all contacts into a segment

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