List Campaign Posts
postly_list_campaign_postsLists posts linked to a Postly campaign, newest first, with their status and targets. Use status published or failed to review outcomes. Requires campaigns.read and 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": {
"workspace_id": "<workspace_id>",
"campaign_id": "<campaign_id>"
},
"name": "postly_list_campaign_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional page size. Defaults to 20. | |
| before | No | Optional post ID cursor. Pass the last post ID to load older posts. | |
| status | No | Optional filter: all, published, failed, calendar, or a Postly post status. Defaults to all. | |
| campaign_id | Yes | Postly campaign ID from postly_list_campaigns. | |
| workspace_id | Yes | Postly workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| data | No | ||
| message | No |