get_segments
Retrieve audience segments for a specific Beehiiv newsletter publication to analyze subscriber groups and target content effectively.
Instructions
Get segments for a publication
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": "get_segments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publication_id | Yes | The ID of the publication |