List segments

GET/segments

GET /segments: the workspace's contact groups and their ids.

List the workspace's active segments with their contact counts. Use a segment id in the segments array when you upsert a contact. subscribed_count is the deliverable subset (contacts still subscribed).

Request
curl https://sendy.co.il/api/v1/segments -H "Authorization: Bearer sk_live_8Jc…"
Response · 200 OK
{
  "segments": [
    { "id": "cmc0seg0001", "name": "Newsletter", "contact_count": 1280, "subscribed_count": 1195 }
  ]
}

אתר זה עושה שימוש בעוגיות (Cookies) ובכלים טכנולוגיים נוספים כדי לשפר את חוויית המשתמש, לנתח תנועה ולהתאים פרסומות. המשך הגלישה באתר מהווה את הסכמתך לכך ולמדיניות הפרטיות שלנו.