{ "opencollection": "1.0.0", "info": { "name": "Freedom of Information Act (FOIA) Agency Components Agency Submission API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Agency Submission", "type": "folder" }, "items": [ { "info": { "name": "Submit a FOIA request to an agency component", "type": "http" }, "http": { "method": "POST", "url": "https://api.foia.gov/components/:id/requests/", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique identifier for the agency component." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "FOIA-API-SECRET", "value": "{{FOIA-API-SECRET}}", "placement": "header" } }, "docs": "Submit a FOIA request from the National FOIA Portal to an agency component. Agencies implement this endpoint at their own host (recommended: `foia-api.agency.gov`)." } ] } ], "bundled": true }