get_post_content
Extract a post's content, including title, subtitle, and HTML template, as JSON for easy reuse. Specify the post and publication IDs to retrieve structured data via the Beehiiv API.
Instructions
Retrieve a post's content as JSON to use as a template.
Args:
publication_id: ID of the publication
post_id: ID of the post
Returns:
dict: JSON object containing post title, subtitle, and HTML content template
Input Schema
Name | Required | Description | Default |
---|---|---|---|
post_id | Yes | ||
publication_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"post_id": {
"title": "Post Id",
"type": "string"
},
"publication_id": {
"title": "Publication Id",
"type": "string"
}
},
"required": [
"publication_id",
"post_id"
],
"title": "get_post_contentArguments",
"type": "object"
}