REST API
Segments
Contact segments (audiences). Used by campaigns as the recipient set.
GET /api/v1/segments
List segments, ordered by name.
GET https://your-deployment.example/api/v1/segments
Authorization: Bearer mf_live_…POST /api/v1/segments
Body
{
"name": "Newsletter"
}201 — created row in data.
GET /api/v1/segments/{id}
PATCH /api/v1/segments/{id}
Body: { "name": "…" } (non-empty name).
DELETE /api/v1/segments/{id}
200 — { "ok": true }