Set up a recurring post
create_recurring_postSets up a post that repeats on a schedule: daily, weekly on some weekdays, or monthly on some days of the month (31 falls on the last day of shorter months; -1 = the last day), every N days, weeks or months, at 1-4 times a day in a timezone (daylight saving handled), from a start date until an end date or for a number of times. variants (a list of texts) are used in turn, so the same text does not repeat every time. The duplicate guard (guard_days, default 3, 0 = off) skips a network where the same text went out in the last guard_days when an occurrence is published: networks flag repeated posts. Occurrences are put in the queue up to 7 days ahead as ordinary scheduled posts (each can be edited or canceled alone), and go through the brand's approval rules and the plan's limits like any post. On every paid plan (Starter 25, Pro 100, Agency 500, Scale 2,000 at a time); not on Free. Returns the recurring post with its next occurrences and any warnings (for example: one text every day with a 3-day guard would be skipped).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | When it repeats. | |
| text | No | The post, when there is one text. | |
| label | No | Name shown in the queue, e.g. "Monday tip". | |
| brand_id | No | Brand whose accounts to use; omit for the default brand. | |
| variants | No | Texts used in turn: the 1st occurrence uses the 1st, the 2nd the 2nd, and so on, starting again after the last. | |
| photo_url | No | Optional image (public https link). | |
| platforms | Yes | Connected platforms to post to. | |
| video_url | No | Optional video (public https link). | |
| guard_days | No | Skip a network where the same text went out in the last N days. Default 3; 0 = off. |