REST API
Contacts
People records: email (unique per user), optional names, phone, custom_fields JSON.
GET /api/v1/contacts
All contacts. Query ?segment_id=uuid to list members of that segment (404 if segment missing).
POST /api/v1/contacts
Body
{
"email": "hello@example.com",
"first_name": "Hello",
"last_name": "World",
"custom_fields": { "company": "Acme" }
}GET /api/v1/contacts/{id}
PATCH /api/v1/contacts/{id}
status may be subscribed or unsubscribed.