UtilitayDevelopers
Ravenraven
Get an API key
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.

GETList memberships

Requires subjects:read. Returns a bare JSON array, newest first. No envelope, no total; stop when a page comes back shorter than limit.

Query parameters
limitinteger · default 50 · max 200
offsetinteger · default 0
qstring · optional · max 100
Matches display_name, part of a reference and attribute values. It is a search, not a lookup, so it cannot be combined with external_ref.
statusactive | inactive · optional
external_refstring · optional · max 200
Your own id for the membership, looked up exactly: an array of one, or an empty one. It is how a system finds the record it created, without keeping a copy of Raven's id. Refused with 400 alongside q: search, or look up.
Returns

200 with an array of memberships. An empty array when nothing matches.

Response body

A bare JSON array. Each item is 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.