Get post templates
list_post_templatesRetrieve post templates for a specified Beehiiv publication, with optional pagination and sorting, to browse available templates before creating posts.
Instructions
Get post templates. Reads account data. OAuth integrations require posts:read.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"publication_id": "<publication_id>"
},
"name": "list_post_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 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. | |
| limit | No | A limit on the number of objects to be returned. The limit can range between 1 and 100, and the default is 10. | |
| order | No | The direction of the request. Defaults to `asc`. | asc |
| account | No | Named private account from BEEHIIV_ACCOUNTS. Defaults to BEEHIIV_DEFAULT_ACCOUNT or the first configured account. | |
| order_by | No | The field to order by. Defaults to `created`. | |
| publication_id | Yes | The prefixed ID of the publication object |