Approve week
approve_weekSchedules every dated draft (draft_scheduled) in a week at the time it is already placed at, in one go: the same as the Approve week button on the Plan page. Scheduled posts are published to the real social accounts automatically at their times — show the user the week (list_posts) and ask before approving, then pass confirm: true. The week is the seven days from midnight of weekStart in timeZone (else the zone the week was filled in, else the user's). A draft that could not go out is left as a draft and listed in skipped with its reason: past (its time has gone; move it with schedule_post), off_hour, needs_picture (Instagram and TikTok need a picture: add one with update_post, then approve again), not_connected (a platform on the post has no connected account, or it needs reconnecting: the user connects it in the Simplo app under Brand → Channels, or update_post takes that platform off), needs_tiktok_choices (a TikTok account connected directly needs the user's choices for each post: ask them, set tiktokSettings with update_post, then approve again) or platform_unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true — confirms the user approved auto-publishing the week's posts at their times | |
| timeZone | No | The user's IANA time zone, e.g. America/Sao_Paulo; omit to use the one the week was filled in | |
| projectId | Yes | Simplo project id (from list_projects) | |
| weekStart | Yes | First day of the week, YYYY-MM-DD, as the user's calendar shows it |