Share content for human approval
approvals_preview_create[writes flayr data · write scope] Create a revocable preview for posts, a sample, campaign, section or calendar. kind post or sample takes 1–300 contentIds (several posts may share one preview, each decided separately); campaign needs campaignId, section needs campaignId+sectionId, calendar needs from/to (at most 92 days; posts booked without a saved render are included as post items). A preview holds at most 300 items; the human view pages 50 at a time and offers "Approve all in this preview" (an OK on every open item, under the brand approval policy; refused items are skipped and listed). Full description and schema: describe_tool {"name":"approvals_preview_create"}.
(Wraps POST /api/v2/approval-previews.)
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": {
"brandId": "<brandId>",
"title": "<title>",
"kind": "<kind>"
},
"name": "approvals_preview_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | e.g. 1. Exclusive calendar end; at most 92 days after from. | |
| from | No | e.g. 1. Calendar start, Unix milliseconds. | |
| kind | Yes | e.g. "post". Item category. | |
| slots | No | e.g. [{"contentId":"contentId_123","at":"2026-11-20T12:00:0… Each item: contentId, at. | |
| title | Yes | e.g. "Summer collection". Display title. | |
| brandId | Yes | e.g. "brandId_123". | |
| sectionId | No | e.g. "sectionId_123". Required for section. | |
| campaignId | No | e.g. "campaignId_123". Required for campaign and section. | |
| contentIds | No | e.g. ["Example"]. | |
| expiresInHours | No | e.g. 24. Hours until the approval preview expires. |