{ "opencollection": "1.0.0", "info": { "name": "API Reference subpackage_advertisement_opportunities subpackage_newsletterLists API", "version": "1.0.0" }, "items": [ { "info": { "name": "subpackage_newsletterLists", "type": "folder" }, "items": [ { "info": { "name": "List newsletter lists Beta OAuth Scope: newsletter_lists:read", "type": "http" }, "http": { "method": "GET", "url": "https://api.beehiiv.com/v2/publications/:publicationId/newsletter_lists", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "publicationId", "value": "", "type": "path", "description": "The prefixed ID of the publication object" }, { "name": "limit", "value": "", "type": "query", "description": "A limit on the number of objects to be returned. The limit can range between 1 and 100, and the default is 10." }, { "name": "page", "value": "", "type": "query", "description": "Pagination returns the results in pages. Each page contains the number of results specified by the `limit` (default: 10).
If not specified, results 1-10 from page 1 will be returned." }, { "name": "direction", "value": "", "type": "query", "description": "The direction that the results are sorted in. Defaults to asc
`asc` - Ascending, sorts from smallest to largest.
`desc` - Descending, sorts from largest to smallest." } ] }, "docs": "\n Newsletter Lists is currently in beta, the API is subject to change.\n\nList all newsletter lists for a publication." }, { "info": { "name": "Get newsletter list Beta OAuth Scope: newsletter_lists:read", "type": "http" }, "http": { "method": "GET", "url": "https://api.beehiiv.com/v2/publications/:publicationId/newsletter_lists/:newsletterListId", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "publicationId", "value": "", "type": "path", "description": "The prefixed ID of the publication object" }, { "name": "newsletterListId", "value": "", "type": "path", "description": "The prefixed ID of the newsletter list object" } ] }, "docs": "\n Newsletter Lists is currently in beta, the API is subject to change.\n\nRetrieve a single newsletter list belonging to a specific publication." } ] } ], "bundled": true }