Data dictionaries

Subscription

A saved filter for the Endorsement Stream: which endorsements’ changes to send you.

Returned by
GET /v1/subscriptions, POST /v1/subscriptions
Shapes
The full record is in GET /v1/subscriptions. The shorter forms in the body of POST and PUT leave some fields out; a field that isn’t in every form says where it is.

Good to know

  • In a filter, fields combine with AND and the values within one field with OR; a missing field matches everything.

Fields

FieldTypeMeaningExample
idintegerSubscription id.Only in GET /v1/subscriptions.7
namestringName, unique in your account.CA labor
filterobjectWhich endorsements: fields combine with AND, values within a field with OR, and a missing field matches everything. Each field takes at most 500 values.—
filter.categoriesarray of stringoptionalEndorser category slugs (GET /v1/endorser-categories).editorial, labor, environment, business, party, club, community, officials, … meanings["labor"]
filter.endorsersarray of stringoptionalEndorser slugs (GET /v1/endorsers).—
filter.endorser_statesarray of stringoptionalEndorsers’ home states (USPS codes), or "national".—
filter.statesarray of stringoptionalTwo capital letters (USPS code)States the contests are voted in.["CA"]
filter.electionsarray of stringoptionalElection slugs (GET /v1/elections).—
filter.contest_kindsarray of stringoptionalContest kinds: candidate, measure or retention.candidate, measure, retention meanings—
filter.levelsarray of stringoptionalLevels of government of the contests’ districts.federal, state, county, city, school, special meanings—
filter.typesarray of stringoptionalStream only: kinds of change.created, updated, deleted meanings—
created_atstringISO 8601 date and time with time zoneWhen the subscription was created.Only in GET /v1/subscriptions.2026-10-15T17:20:04.112Z
updated_atstringISO 8601 date and time with time zoneWhen it last changed.Only in GET /v1/subscriptions.2026-10-15T17:20:04.112Z

Download every dictionary as CSV or JSON.

Subscription data dictionary · BallotData API