|
API Method | HTTP method | Endpoint | Description |
---|
segment.all | GET | /segment.all.json | Returns a hash array with all available segments for a list |
segment.search | GET | /segment.search.json | Returns a hash array with all available segments for a list found for the search regex |
segment.count | GET | /segment.count.json | Returns the number of active subscribers from a segment |
segment.updateName | POST | /segment.updateName.json | Updates a segment name |
segment.delete | POST | /segment.delete.json | Removes a segment from the database |
segment.addSubscriber | POST | /segment.addSubscriber.json | Adds a subscriber to the segment |
segment.removeSubscriber | POST | /segment.removeSubscriber.json | Removes a subscriber from the segment |
segment.create | POST | /segment.create.json | Creates a new segment for a list |
segment.clear | POST | /segment.clear.json | Removes all subscribers from this segment |
segment.refresh | POST | /segment.refresh.json | Triggers a refresh of the segment |
segment.getSubscribers | GET | /segment.getSubscribers.json | Returns the subscribers for a segment |
segment.massUnsubscribe | POST | /segment.massUnsubscribe.json | Unsubscribes all subscribers in a segment |
segment.massDeactivate | POST | /segment.massDeactivate.json | Deactivates all subscribers in a segment |
segment.massAnonymise | POST | /segment.massAnonymise.json | Anonymises all subscribers in a segment |