Start repeating a post
Starts a rule that repeats a post that is scheduled, publishing or went out (deleted from a platform since or not): every 1 to 365 days, 1 to 52 weeks or 1 to 12 months, until count posts in all (2 to 100, the source counted) or until the day until, and never more than 100; with up to 10 text variants, each checked as the source saying it would be, and optionally on a queue. Each post a rule makes is a new post, copied from the source with what the workspace still has (its channels still connected, its media, the options on them, its tags; never a signature or a default added since), and sent as any post is: the same checks, the approval policy, the month’s room in the plan, its own job, outcome and notices. It says the source’s text, then each variant in turn, then the source’s again. The next post is made once the latest one’s time has passed, one interval after the one before at the same wall-clock time in the source’s zone (a month shorter than the day takes its last day), or on the queue’s first free slot from then; a time missed while nothing ran is skipped, never made up for. Each acts as whoever started the rule, with what they may do when it is made: a member removed, a key revoked or an application whose grant no longer publishes ends it. A post has one rule going on at a time, and a workspace 100 active or paused. It publishes again, in public, without anyone being asked each time, unless the approval policy holds the starter’s posts: then each waits for an approval. Needs post:schedule, or post:create where posts wait for an approval; never staff acting as a member.
/api/v1/automations/recyclingAuthorizationJeton Bearer · headerrequisAn API key of a workspace, starting with peal_, or a partner key, starting with peal_partner_.
__Secure-peal.session_tokenClé d'API · cookierequisThe session cookie the web app's sign-in sets. Requests that change something must come from the web app's origin.
peal-workspacestringThe id of the workspace the request acts in. An API key and an application's token bound to a workspace act in their own workspace without it; a session, the command line's sign-in and a partner key send it.
application/jsoncountintegereveryRecyclingIntervalrequisAfficher les propriétésMasquer les propriétés
countintegerrequisunitRecyclingUnitrequisdaysweeksmonthspostIdstringrequisqueueIdstringuntilCalendarDayvariantsRecyclingVariant[]Afficher les propriétésMasquer les propriétés
RecyclingVariantoverridesTextOverride[]Afficher les propriétésMasquer les propriétés
TextOverridechannelIdstringrequismediaMediaAttachment[]Afficher les propriétésMasquer les propriétés
MediaAttachmentaltTextstringrequismediaIdstringrequistextstringrequistextstringrequisRecyclingRule
anchorAtstringrequiscomingRecyclingComing[]requisAfficher les propriétésMasquer les propriétés
RecyclingComingatstringrequisoccurrenceintegerrequisvariantinteger | nullrequisAfficher les propriétésMasquer les propriétés
integernullcountinteger | nullrequisAfficher les propriétésMasquer les propriétés
integernullcreatedAtstringrequisendedReasonRecyclingEndReason | nullrequisAfficher les propriétésMasquer les propriétés
stringnulleveryRecyclingIntervalrequisAfficher les propriétésMasquer les propriétés
countintegerrequisunitRecyclingUnitrequisdaysweeksmonthsidstringrequislastDueAtstringrequismadeintegerrequisnextDueAtstring | nullrequisAfficher les propriétésMasquer les propriétés
stringnullqueueIdstring | nullrequisAfficher les propriétésMasquer les propriétés
stringnullsourcePostIdstringrequisstartedBystring | nullrequisAfficher les propriétésMasquer les propriétés
stringnullstartedViaPostOriginrequisAfficher les propriétésMasquer les propriétés
idstring | nullrequisAfficher les propriétésMasquer les propriétés
stringnullnamestring | nullrequisAfficher les propriétésMasquer les propriétés
stringnullviaPostOriginViarequiswebapiKeyapplicationstatusRecyclingStatusrequisactivepausedendedtimeZonestringrequisuntilCalendarDay | nullrequisAfficher les propriétésMasquer les propriétés
stringnullvariantsobject[]requisAfficher les propriétésMasquer les propriétés
objectoverridesTextOverride[]requisAfficher les propriétésMasquer les propriétés
TextOverridechannelIdstringrequismediaMediaAttachment[]Afficher les propriétésMasquer les propriétés
MediaAttachmentaltTextstringrequismediaIdstringrequistextstringrequistextstringrequisThe request names no workspace, and its credential belongs to none: send the workspace's id in the Peal-Workspace header. Nothing was done.
_tagstringrequisWorkspaceRequiredcodestringmessagestringrequestIdstringSign in, or send an API key as a bearer token: the request has no valid credentials.
_tagstringrequisUnauthenticatedcodestringmessagestringrequestIdstringThe credentials are valid but do not allow this request. reason says why: the OAuth client was not given the scope the request takes (missingScope, with scope and permission: the user connects the client again and allows it), the member's role or the API key lacks a permission (missingPermission, with permission: an owner or an admin changes the role, or creates a key with it), only a person in their own session may do it (personRequired), the key or token belongs to another workspace (wrongWorkspace), the account is suspended (suspended), a browser sent the cookie from another site (untrustedOrigin), or the workspace requires two-step verification and the member's account does not have it on (twoStepRequired: they turn it on in the web app's account settings, and their sessions, applications and command line work again at once; API keys are never refused for it).
_tagstringrequisForbiddencodestringmessagestringrequestIdstringpermissionPermissionOne action on one resource of a workspace.
activity:readads:readads:manageads:spendads:authorizeanalytics:readapiKey:createapiKey:readapiKey:updateapiKey:deleteassistant:useassistant:configurebilling:readbilling:managechannel:readchannel:connectchannel:disconnectengagement:readengagement:replyengagement:messageengagement:readMessagesinvitation:createinvitation:cancelmedia:readmedia:uploadmedia:deletemember:createmember:updatemember:deleteorganization:updateorganization:deleteorganization:securepartner:readpartner:managepost:readpost:createpost:updatepost:deletepost:schedulepost:approvepost:publishwebhook:readwebhook:managereasonForbiddenReasonmissingScopemissingPermissionpersonRequiredwrongWorkspacesuspendeduntrustedOrigintwoStepRequiredscopestringThe workspace has no post with this id. | The workspace has no queue with this id, or of this name where a request names one; or, where a post is added to its default queue, the workspace has no default queue. | No workspace with this id is open to the caller.
_tagstringrequisPostNotFoundcodestringmessagestringrequestIdstring_tagstringrequisQueueNotFoundcodestringmessagestringrequestIdstring_tagstringrequisWorkspaceNotFoundcodestringmessagestringrequestIdstringThe post cannot repeat, for reason: it is a draft, waits for an approval or was cancelled; another rule repeats it already (stop that one first); a rule made it; or none of its channels is connected any more. | The workspace keeps allowed recycling rules active or paused, the most it may: stop one before starting another. Nothing was started.
_tagstringrequisPostNotRecyclablecodestringmessagestringrequestIdstringpostIdstringrequisreasonNotRecyclableReasonrequisdraftawaitingApprovalcancelledrepeatingoccurrencenoChannels_tagstringrequisTooManyRecyclingRulescodestringmessagestringrequestIdstringallowedintegerrequisThe rule's ending leaves no post to make: its until date comes before the next post is due (firstDueAt), or its count is already reached. Nothing was changed. | What the source post would say with some of the text variants breaks the rules of its channels' platforms: variants names each by its place, from 1, with every violation, as scheduling the post would answer them. Nothing was saved.
_tagstringrequisRecyclingEndsTooSooncodestringmessagestringrequestIdstringfirstDueAtstringrequis_tagstringrequisRecyclingVariantsInvalidcodestringmessagestringrequestIdstringvariantsobject[]requisAfficher les propriétésMasquer les propriétés
objectvariantintegerrequisviolationsContentViolation[]requisAfficher les propriétésMasquer les propriétés
ContentViolation_tagstringrequisnoChannels_tagstringrequisoverrideWithoutChannelchannelIdstringrequis_tagstringrequisoptionsWithoutChannelchannelIdstringrequis_tagstringrequisoptionsForOtherPlatformchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatoptionsPlatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchat_tagstringrequisoptionMissingchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatfieldstringrequis_tagstringrequisoptionTooLongchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatfieldstringrequislengthintegerrequismaximumintegerrequis_tagstringrequisoptionInvalidchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatfieldstringrequis_tagstringrequisemptychannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchat_tagstringrequistextTooLongchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatlengthintegerrequismaximumintegerrequisunitTextUnitrequisHow a platform measures the length of a post's text.
graphemescodePointsutf8BytesemojiBytesutf16UnitsweightedescapedUtf16Units_tagstringrequisforbiddenCharacterschannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatcharactersstring[]requis_tagstringrequistooManyMediachannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatcountintegerrequismaximumintegerrequis_tagstringrequistooManyPartschannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatcountintegerrequismaximumintegerrequis_tagstringrequispartsNeedReconnectchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchat_tagstringrequiscommentsTurnedOffchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatfieldstringrequis_tagstringrequispollNotSupportedchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchat_tagstringrequispollChoiceCountchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatcountintegerrequismaximumintegerrequisminimumintegerrequis_tagstringrequispollChoiceLengthchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatchoiceintegerrequislengthintegerrequismaximumintegerrequisunitTextUnitrequisHow a platform measures the length of a post's text.
graphemescodePointsutf8BytesemojiBytesutf16UnitsweightedescapedUtf16Units_tagstringrequispollChoiceRepeatedchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatchoiceintegerrequis_tagstringrequispollDurationOutOfRangechannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatdurationMinutesintegerrequismaximumMinutesintegerrequisminimumMinutesintegerrequis_tagstringrequispollMultipleChoicechannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchat_tagstringrequispollWithMediachannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchat_tagstringrequismediaRequiredchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchat_tagstringrequistooManyHashtagschannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatcountintegerrequismaximumintegerrequis_tagstringrequistooManyMentionschannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatcountintegerrequismaximumintegerrequis_tagstringrequistooManyLinkschannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatcountintegerrequismaximumintegerrequis_tagstringrequistooManyVideoschannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatcountintegerrequismaximumintegerrequis_tagstringrequismixedMediachannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchat_tagstringrequismediaTypeUnsupportedchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatmediaIdstringrequiscontentTypeMediaContentTyperequisimage/gifimage/jpegimage/pngimage/webpvideo/mp4video/quicktimeapplication/pdfaudio/mpegaudio/mp4audio/wav_tagstringrequismediaTooLargechannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatmediaIdstringrequisbyteSizeinteger<int64>requismaximuminteger<int64>requis_tagstringrequismediaTooSmallchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatmediaIdstringrequisbyteSizeinteger<int64>requisminimuminteger<int64>requis_tagstringrequisvideoTooLongchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatmediaIdstringrequisdurationMsintegerrequismaximumMsintegerrequis_tagstringrequisvideoTooShortchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatmediaIdstringrequisdurationMsintegerrequisminimumMsintegerrequis_tagstringrequistooManyPixelschannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatmediaIdstringrequisheightintegerrequiswidthintegerrequismaximumintegerrequis_tagstringrequissideOutOfRangechannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatmediaIdstringrequisheightintegerrequiswidthintegerrequismaximumintegerrequisminimumintegerrequis_tagstringrequissideSumTooLargechannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatmediaIdstringrequisheightintegerrequiswidthintegerrequismaximumintegerrequis_tagstringrequismediaTotalTooLargechannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatmaximuminteger<int64>requistotalinteger<int64>requis_tagstringrequisaspectRatioUnsupportedchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatmediaIdstringrequisheightintegerrequiswidthintegerrequismaximumnumber | stringrequisAfficher les propriétésMasquer les propriétés
numberstringminimumnumber | stringrequisAfficher les propriétésMasquer les propriétés
numberstring_tagstringrequisaltTextTooLongchannelIdstringrequispartintegerplatformPlatformrequisA social network a channel connects to.
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatmediaIdstringrequislengthintegerrequismaximumintegerrequisThis credential sent more than limit requests in windowSeconds seconds: nothing was done. Wait retryAfterSeconds seconds, as the Retry-After header says, then send the request again. Every answer to a key or a token carries the RateLimit-Policy and RateLimit headers, which say how many requests are left. policy says which limit applied: on a server that bills, a billing account without a payment method sends fewer (free), and withPaymentMethod is what a payment method gives.
_tagstringrequisTooManyRequestscodestringmessagestringrequestIdstringlimitintegerrequispolicystringdefaultfreeoverrideretryAfterSecondsintegerrequiswindowSecondsintegerrequiswithPaymentMethodinteger