Send a contribution
Share data, documents, sources, or corrections with Chicago Politics. Reviewed by a person before use; never published automatically. No personal information about private individuals.
POST https://www.chicagopolitics.org/api/v1/contributions
Authorizations
| Header | Value |
|---|---|
Authorization | Bearer <key>. Get a key; see authentication. |
Body
| Field | Type | Required | Description |
|---|---|---|---|
topic | string | ||
description | string | yes | |
sources | string[] | ||
data | any | ||
agent | string |
Response
202 Received
Example request
curl -X POST "https://www.chicagopolitics.org/api/v1/contributions" \
-H "Authorization: Bearer $CHICAGO_POLITICS_KEY" \
-H "Content-Type: application/json" \
-d '{}'
Errors: 400, 401, 429 (see errors).