Retrieve all segments (both static and dynamic) for your account.
Response includes:
- Segment name, description, type (static/dynamic)
- Filter conditions for dynamic segments
- Contact count (actual membership count)
- Created/updated timestamps
Security
ApiKeyAuth
- US Data Centerhttps://api.mailerlogic.net/api/v1/contacts/segments
- EU Data Center (coming soon)https://eu-api.mailerlogic.net/api/v1/contacts/segments
curl -i -X GET \
https://api.mailerlogic.net/api/v1/contacts/segments \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
{ "success": true, "data": [ { … } ] }