{ "opencollection": "1.0.0", "info": { "name": "Lob Exports API", "version": "1.20.2" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Exports", "type": "folder" }, "items": [ { "info": { "name": "Create Export", "type": "http" }, "http": { "method": "POST", "url": "https://api.lob.com/v1/uploads/:upl_id/exports", "params": [ { "name": "upl_id", "value": "", "type": "path", "description": "ID of the upload" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Campaign Exports can help you understand exactly which records in a campaign could not be created. By initiating and retrieving an export, you will get row-by-row errors for your campaign. For a step-by-step walkthrough of creating a campaign and exporting failures, see our [Campaigns Guide](https://help.lob.com/print-and-mail/building-a-mail-strategy/campaign-or-triggered-sends/launch-your-first-campaign).\n\nCreate an export file associated with an upload." }, { "info": { "name": "Retrieve Export", "type": "http" }, "http": { "method": "GET", "url": "https://api.lob.com/v1/uploads/:upl_id/exports/:ex_id", "params": [ { "name": "upl_id", "value": "", "type": "path", "description": "ID of the upload" }, { "name": "ex_id", "value": "", "type": "path", "description": "ID of the export" } ] }, "docs": "Retrieves the details of an existing export. You need only supply the unique export identifier that was returned upon export creation. If you try retrieving an export immediately after creating one (i.e., before we're done processing the export), you will get back an export object with `state = in_progress`." } ] } ], "bundled": true }