{ "opencollection": "1.0.0", "info": { "name": "SparkPost Events DKIM Keys Subaccounts API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Subaccounts", "type": "folder" }, "items": [ { "info": { "name": "List Subaccounts", "type": "http" }, "http": { "method": "GET", "url": "https://api.sparkpost.com/api/v1/subaccounts", "params": [ { "name": "option", "value": "", "type": "query", "description": "Filter by feature option (e.g., deliverability)" }, { "name": "cursor", "value": "", "type": "query", "description": "Pagination cursor" }, { "name": "per_page", "value": "", "type": "query", "description": "Results per page (max 100, default 25)" }, { "name": "sort_by", "value": "", "type": "query", "description": "Field to sort by" }, { "name": "order", "value": "", "type": "query", "description": "Sort order" }, { "name": "ip_pool", "value": "", "type": "query", "description": "Filter by IP pool ID" }, { "name": "status", "value": "", "type": "query", "description": "Filter by account status" }, { "name": "name", "value": "", "type": "query", "description": "Filter by partial name match" }, { "name": "ids", "value": "", "type": "query", "description": "Comma-separated list of subaccount IDs to retrieve" } ] }, "docs": "Retrieve a paginated list of all subaccounts with optional filtering." }, { "info": { "name": "Create a Subaccount", "type": "http" }, "http": { "method": "POST", "url": "https://api.sparkpost.com/api/v1/subaccounts", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new subaccount with optional API key setup for multi-tenant email deployments." }, { "info": { "name": "Retrieve Subaccounts Summary", "type": "http" }, "http": { "method": "GET", "url": "https://api.sparkpost.com/api/v1/subaccounts/summary" }, "docs": "Retrieve the total count of subaccounts." }, { "info": { "name": "Retrieve a Subaccount", "type": "http" }, "http": { "method": "GET", "url": "https://api.sparkpost.com/api/v1/subaccounts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Subaccount ID" } ] }, "docs": "Retrieve details about a specific subaccount by its ID." }, { "info": { "name": "Update a Subaccount", "type": "http" }, "http": { "method": "PUT", "url": "https://api.sparkpost.com/api/v1/subaccounts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Subaccount ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update configuration for an existing subaccount including status and IP pool." } ] } ], "bundled": true }