Skip to content
Denne side findes på dansk. Læs på dansk
HeyMySocial

reschedule_content

Move content to another time

writes reaches outside listed directly

Change the planned time of a content item, exactly as moving it on the calendar does.

The time is part of what a person approved, so for an item that was approved, waiting for approval or scheduled this throws the approval away, takes it off the schedule (the usage unit is given back) and returns it to draft. A new approval request for the new time is then made for you and its review_url returned: give it to the person, and call schedule_content after they have approved in the app. For a plain draft only the time changes. It never approves and never schedules. planned_for is local time in the workspace time zone; a time the clocks skip is refused, and a time that happens twice (clocks going back) means the first one. Tell the person plainly that the post is no longer scheduled until they approve again.

Arguments

NameTypeNeededWhat it is
content_id string yes The content item to move.
planned_for string yes The new local time in the workspace time zone, "YYYY-MM-DD HH:MM".

Like every workspace tool it also takes workspace: a workspace id or slug. Leave it out to use the workspace the person last worked in.

How it behaves

  • It changes something in the workspace, within what the signed-in person's role allows.
  • It reaches outside the workspace: it fetches an address, makes a public link or puts something on a channel's schedule.
  • It is in the list every assistant sees when it connects.
  • It is always called by its own name, never through execute_tools, so the assistant's own safety prompts apply.

How tools behave: confirmation, review links, errors and limits

cancel_schedule · connect_practice_channel · get_calendar · get_publication · list_channels · schedule_content