Share drafts with a client for approval
share_drafts_for_approvalMake a client approval link for one or more drafts (from create_draft or list_posts with status draft) and return its url. Every draft must be postable: one whose problems list is not empty is refused, since the client could approve it but it couldn't be posted. The client opens it without an account and, for each draft, presses Approve or Request changes with a note. Approving a draft that has an account, media and a planned time in the future schedules it at that time with the same rules as schedule_post. It keeps the settings chosen when the draft was saved in the composer (TikTok: who can see it, comments, duet, stitch, disclosure; YouTube: made for kids). Settings never chosen, as on drafts from create_draft, take the defaults of schedule_post (TikTok: public, comments on). A draft missing any of these is marked approved for the user to schedule. Anyone with the link can approve, so give it only to the user to send to their client. The link expires after expires_in_days (default 14) and can be revoked with revoke_approval_link. See each draft's answer in the approval field of get_post or list_posts.
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": {
"post_ids": "<post_ids>"
},
"name": "share_drafts_for_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_ids | Yes | Draft ids, up to 50, all from this workspace | |
| client_name | No | Optional name shown on the page and on approved drafts, like "Acme". Up to 80 characters. | |
| expires_in_days | No | How long the link works. Default 14. |