Authentication:

Authenticate your account when using the API by including your secret API key in the request. To obtain an API key, please contact the Vermont Legislature at IT@leg.state.vt.us. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such GitHub, client-side code, and so forth.

Authentication to the API is performed via HTTP Basic Auth. Provide your API key via bearer auth with -H "Authorization: Bearer your_api_key". You do not need to provide a password.

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.


Example CURL Request:

curl -H "Authorization: Bearer your_api_key" https://legislature.vermont.gov/api/v1/bill/list

Set Your API Key to Test: