subscriptions

Get notification settings for a tracked bill

Returns 404 if the bill isn't tracked.

get/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

Notification settings

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.