subscriptions

Update notification channels or events on a tracked bill

Setting events explicitly marks the bill as custom (is_custom=true).

patch/bills/{bill_id}/subscription

Request

  • Base URL: https://api.fed10.ai/api
  • URL: https://api.fed10.ai/api/bills/{bill_id}/subscription
  • Auth: API key in header Authorization

Response

Updated

bill_idinteger

LegiScan bill ID

channelsstring[]

Channels: ["email"], ["slack"], ["email","slack"]

channels_customboolean

Whether channels override the global bill-alert default

uses_default_channelsboolean

Whether channels follow the global bill-alert default

eventsstring[]

Event types (null = notify on all events)

is_customboolean

Whether events were overridden for this bill

Changes

No recorded changes to this operation across all 1 revision of this API.