Meta tags:
description= Generate a URL to preview a post as a given audience.;
Headings (most frequently used words):
post, oauth, scope, posts, read, parameters, generate, preview, url, authentication, path, query, response, errors, get, templates,
Text of the page (most frequently used words):
badge (176), oauth (92), scope (91), info (89), intent (88), minimal (88), outlined (88), read (52), list (38), subscription (37), write (37), get (36), posts (29), subscriptions (25), post (24), update (18), newsletter (17), create (14), preview (11), the (11), tier (10), publications (10), newsletter_lists (10), 0000 (9), webhooks (9), token (8), segments (8), error (7), delete (7), tiers (7), custom (7), automations (7), data (6), email (6), url (6), beehiiv (6), api (6), segment (6), custom_fields (6), automation (6), string (5), generate (5), polls (5), field (5), page (4), present (4), optional (4), premium (4), publication (4), bearer (4), access (4), identify (4), webhook (4), deletion (4), templates (3), request (3), object (3), tier_ids (3), subscriber_type (3), format (3), subscriber_id (3), postid (3), publicationid (3), https (3), com (3), 000000000000 (3), data_deletion (3), condition (3), complimentary (3), bulk (3), resumed (3), paused (3), for (3), with (2), requests (2), not (2), response (2), subscriber (2), when (2), ids (2), ignored (2), default (2), requires (2), parameters (2), prefixed (2), required (2), authentication (2), authorization (2), app (2), preview_url (2), post_00000000 (2), curl (2), reference (2), demo (2), start (2), trial (2), login (2), add (2), referral (2), program (2), send (2), test (2), aggregate (2), stats (2), poll (2), lists (2), engagements (2), fields (2), condition_sets (2), sets (2), complimentary_access (2), status (2), updates (2), journeys (2), authors (2), advertisement (2), opportunities (2), oauth2 (2), survey (2), deleted (2), code (2), integrations (2), rate (2), limiting (2), pagination (2), key (2), getting (2), started (2), search (2), documentation (2), index (2), level (2), llms (2), txt (2), any (2), built, next, previous, yes, was, this, helpful, internal, server, 500, too, many, 429, unprocessable, entity, 422, found, 404, forbidden, 403, unauthorized, 401, bad, 400, errors, using, specific, real, memberships, takes, precedence, over, sub_, one, more, only, used, strings, free, web, platform, query, post_, pub_, path, form, where, your, auth, given, audience, returned, renders, and, session, itself, html, returning, endpoint, retrieved, 200, try, pub_00000000, copy, light, workspace, tag, subscribers, recalculate, referral_program, responses, user, set, emails, journey, author, introspect, revoke, authorize, submitted, added, downgraded, upgraded, confirmed, created, scheduled, updated, sent, unsubscribed, subscribed, workspaces, tags, del, patch, users, tokens, authorizations, welcome, ask, agents, available, root, append, markdown, version, developer,
Text of the page (random words):
generate post preview url oauth scope posts read beehiiv developer documentation for ai agents a documentation index is available at the root level at llms txt append llms txt to any url for a page level index or md for the markdown version of any page search ask ai login start trial get a demo search welcome getting started create an api key pagination rate limiting no code integrations webhooks newsletter list subscription post subscription survey oauth2 authorizations tokens api reference advertisement opportunities authors automation journeys automations bulk subscriptions bulk subscription updates complimentary access condition sets custom fields data deletion engagements newsletter lists newsletter list subscriptions oauth users polls posts post create post badge intent info minimal outlined oauth scope posts write badge patch update post badge intent info minimal outlined oauth scope posts write badge get list posts badge intent info minimal outlined oauth scope posts read badge get get aggregate stats badge intent info minimal outlined oauth scope posts read badge get get post badge intent info minimal outlined oauth scope posts read badge del delete post badge intent info minimal outlined oauth scope posts write badge post send test email badge intent info minimal outlined oauth scope posts badge get generate post preview url badge intent info minimal outlined oauth scope posts read badge post templates publications referral program segments subscriptions subscription tags tiers webhooks workspaces getting started create an api key pagination rate limiting no code integrations webhooks newsletter list subscription subscribed newsletter list subscription unsubscribed newsletter list subscription paused newsletter list subscription resumed post sent post updated post scheduled subscription created subscription confirmed subscription deleted subscription upgraded subscription downgraded subscription paused subscription resumed subscription tier paused subscription tier resumed subscription tier added subscription tier deleted survey response submitted oauth2 authorize create token revoke token introspect token get token info get advertisement opportunities badge intent info minimal outlined oauth scope posts read badge list authors get author add subscription to an automation badge intent info minimal outlined oauth scope automations write badge list automation journeys badge intent info minimal outlined oauth scope automations read badge get automation journey badge intent info minimal outlined oauth scope automations read badge list automations badge intent info minimal outlined oauth scope automations read badge get automation badge intent info minimal outlined oauth scope automations read badge list automation emails bulk create subscription badge intent info minimal outlined oauth scope subscriptions write badge list subscription updates badge intent info minimal outlined oauth scope subscriptions read badge get subscription update badge intent info minimal outlined oauth scope subscriptions read badge update subscriptions badge intent info minimal outlined oauth scope subscriptions write badge update subscriptions badge intent info minimal outlined oauth scope subscriptions write badge update subscriptions status badge intent info minimal outlined oauth scope subscriptions write badge update subscriptions status badge intent info minimal outlined oauth scope subscriptions write badge list complimentary access badge intent info minimal outlined oauth scope complimentary_access read badge get complimentary access badge intent info minimal outlined oauth scope complimentary_access read badge list condition sets badge intent info minimal outlined oauth scope condition_sets read badge get condition set badge intent info minimal outlined oauth scope condition_sets read badge create custom field badge intent info minimal outlined oauth scope custom_fields write badge get custom field badge intent info minimal outlined oauth scope custom_fields read badge list custom fields badge intent info minimal outlined oauth scope custom_fields read badge update custom field badge intent info minimal outlined oauth scope custom_fields write badge update custom field badge intent info minimal outlined oauth scope custom_fields write badge delete custom field badge intent info minimal outlined oauth scope custom_fields write badge create data deletion request badge intent info minimal outlined oauth scope data_deletion write badge get data deletion request badge intent info minimal outlined oauth scope data_deletion read badge list data deletion requests badge intent info minimal outlined oauth scope data_deletion read badge get publication engagements badge intent info minimal outlined oauth scope publications read badge list newsletter lists badge intent info minimal outlined oauth scope newsletter_lists read badge get newsletter list badge intent info minimal outlined oauth scope newsletter_lists read badge create newsletter list badge intent info minimal outlined oauth scope newsletter_lists write badge update newsletter list badge intent info minimal outlined oauth scope newsletter_lists write badge delete newsletter list badge intent info minimal outlined oauth scope newsletter_lists write badge create newsletter list subscription badge intent info minimal outlined oauth scope newsletter_lists write badge list newsletter list subscriptions badge intent info minimal outlined oauth scope newsletter_lists read badge get newsletter list subscription badge intent info minimal outlined oauth scope newsletter_lists read badge update newsletter list subscription badge intent info minimal outlined oauth scope newsletter_lists write badge update newsletter list subscription by subscription id badge intent info minimal outlined oauth scope newsletter_lists write badge identify user badge intent info minimal outlined oauth scope identify read badge list polls badge intent info minimal outlined oauth scope polls read badge get poll badge intent info minimal outlined oauth scope polls read badge list poll responses badge intent info minimal outlined oauth scope polls read badge create post badge intent info minimal outlined oauth scope posts write badge update post badge intent info minimal outlined oauth scope posts write badge list posts badge intent info minimal outlined oauth scope posts read badge get aggregate stats badge intent info minimal outlined oauth scope posts read badge get post badge intent info minimal outlined oauth scope posts read badge delete post badge intent info minimal outlined oauth scope posts write badge send test email badge intent info minimal outlined oauth scope posts badge generate post preview url badge intent info minimal outlined oauth scope posts read badge get post templates badge intent info minimal outlined oauth scope posts read badge list publications badge intent info minimal outlined oauth scope publications read badge get publication badge intent info minimal outlined oauth scope publications read badge get referral program badge intent info minimal outlined oauth scope referral_program read badge create segment list segments badge intent info minimal outlined oauth scope segments read badge get segment badge intent info minimal outlined oauth scope segments read badge recalculate segment badge intent info minimal outlined oauth scope segments write badge list segment subscribers badge intent info minimal outlined oauth scope segments read badge list segment subscriber ids badge intent info minimal outlined oauth scope segments read badge delete segment badge intent info minimal outlined oauth scope segments write badge create subscription badge intent info minimal outlined oauth scope subscriptions write badge list subscriptions badge intent info minimal outlined oauth scope subscriptions read badge get subscription by email badge intent info minimal outlined oauth scope subscriptions read badge get subscription by id badge intent info minimal outlined oauth scope subscriptions read badge update subscription by id badge intent info minimal outlined oauth scope subscriptions write badge update subscription by id badge intent info minimal outlined oauth scope subscriptions write badge update subscription by email badge intent info minimal outlined oauth scope subscriptions write badge delete subscription badge intent info minimal outlined oauth scope subscriptions write badge add subscription tag badge intent info minimal outlined oauth scope subscriptions write badge create a tier badge intent info minimal outlined oauth scope tiers write badge list tiers badge intent info minimal outlined oauth scope tiers read badge get tier badge intent info minimal outlined oauth scope tiers read badge update a tier badge intent info minimal outlined oauth scope tiers write badge update a tier badge intent info minimal outlined oauth scope tiers write badge create a webhook badge intent info minimal outlined oauth scope webhooks write badge list webhooks badge intent info minimal outlined oauth scope webhooks read badge get webhook badge intent info minimal outlined oauth scope webhooks read badge update webhook badge intent info minimal outlined oauth scope webhooks write badge delete a webhook badge intent info minimal outlined oauth scope webhooks write badge identify workspace badge intent info minimal outlined oauth scope identify read badge get publications by subscription email badge intent info minimal outlined oauth scope publications read badge login start trial get a demo light api reference posts generate post preview url oauth scope posts read copy page get https api beehiiv com v2 publications publicationid posts postid preview get v2 publications publicationid posts postid preview curl curl https api beehiiv com v2 publications pub_00000000 0000 0000 0000 000000000000 posts post_00000000 0000 0000 0000 000000000000 preview h authorization bearer token try it 200 retrieved 1 2 data 3 preview_url https app beehiiv com posts post_00000000 0000 0000 0000 000000000000 preview 4 5 generate a url to preview a post as a given audience the returned preview_url renders the post in the beehiiv app and requires a beehiiv session with access to the publication it is not itself an html returning endpoint authentication authorization bearer bearer authentication of the form bearer token where token is your auth token path parameters publicationid string required format pub_ 0 9a fa f the prefixed id of the publication object postid string required format post_ 0 9a fa f the prefixed id of the post object query parameters platform string optional email default or web subscriber_type string optional free default or premium premium requires tier_ids to be present ignored if subscriber_id is present tier_ids list of strings optional one or more premium tier ids to preview as only used when subscriber_type is premium ignored if subscriber_id is present subscriber_id string optional format sub_ 0 9a fa f preview using a specific subscriber s real tier memberships takes precedence over subscriber_type tier_ids when present response ok data object errors 400 bad request error 401 unauthorized error 403 forbidden error 404 not found error 422 unprocessable entity error 429 too many requests error 500 internal server error was this page helpful yes no previous get post templates oauth scope posts read next built with
|