{ "opencollection": "1.0.0", "info": { "name": "API Reference subpackage_advertisement_opportunities subpackage_authors API", "version": "1.0.0" }, "items": [ { "info": { "name": "subpackage_authors", "type": "folder" }, "items": [ { "info": { "name": "List authors", "type": "http" }, "http": { "method": "GET", "url": "https://api.beehiiv.com/v2/publications/:publicationId/authors", "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": "name", "value": "", "type": "query", "description": "Optionally filter authors by full name or first name (case-insensitive)." } ] }, "docs": "Retrieve a list of authors available for the publication." }, { "info": { "name": "Get author", "type": "http" }, "http": { "method": "GET", "url": "https://api.beehiiv.com/v2/publications/:publicationId/authors/:authorId", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "publicationId", "value": "", "type": "path", "description": "The prefixed ID of the publication object" }, { "name": "authorId", "value": "", "type": "path", "description": "The author identifier. This accepts author UUID, full name, or first name." } ] }, "docs": "Retrieve a single author from a publication." } ] } ], "bundled": true }