API reference
Memberships
/subjects
A membership is what events are about. People are linked to memberships through /links. In the Political party pack a membership is, for example, “Musu's Membership” with reference MEM-2026-001.
GET/subjectsList · ?q ?external_refPOST/subjectsCreateGET/subjects/{subject_id}Readshown →PATCH/subjects/{subject_id}Update · attributes replaced wholePOST/subjects/{subject_id}/deactivateDeactivate · no delete
GETRead a membership
Requires subjects:read. Returns the membership as stored, inactive ones included.
Path parameters
subject_iduuid · required
The membership id.
Returns
200 with the membership. 404 not_found if the id is not in this instance.
Response body
One membership: the same fields in every pack. Press Response on the sample to see one whole.
FieldTypeDescription
iduuid
tenant_iduuidThe instance.
external_refstring | nullYour own id, as you sent it.
display_namestring
attributesobjectShaped by the Political party pack's subject_schema.Varies by pack
statusactive | inactive
created_atdatetime
updated_atdatetime
On failure the body is { error, code } instead.