save_content_draft
Save a content draft
Create a content draft, or add a new version to an existing item (pass content_id and the lock_version from get_content; fields you leave out keep their value).
Sets text, call to action, link or tracked link, creatives, channel, campaign, funnel stage, intent, language and the planned local time. It only drafts: it never approves, schedules or publishes, and changing the text, link, creatives, channel or time of an item that was approved or waiting for approval throws that approval away (approval_lost: true). Write original copy in the workspace language and brand voice, using only facts from get_brand or from the person; never invent prices, numbers, reviews or results. The reply lists QA issues: fix errors before request_approval. planned_for is local time in the workspace time zone; a time the clocks skip is refused.
Arguments
| Name | Type | Needed | What it is |
|---|---|---|---|
content_id |
string | no | Omit to create a new draft. |
lock_version |
integer | no | When adding a version: the lock_version from get_content, so someone else's edit is not overwritten. |
body |
string | no | The post text. Required for a new draft. |
title |
string | no | A working title for finding the post; most channels do not show it. |
cta |
string | no | Call to action, added as the last line when the body does not already contain it. |
link_url |
string | no | An https link from the brand profile or the person. Never guess a URL. |
tracking_link_id |
string | no | A tracked link from create_tracking_link or list_tracking_links. Unless link_url is also sent, the post's link becomes that link's short address. |
asset_ids |
array of string | no | Creative ids from create_creative, list_creatives, import_images or list_uploads, in order. An empty list removes them. |
channel_id |
string | no | The channel to publish to (see list_channels). |
platform |
string | no | Only needed when no channel is chosen yet. "mock" is the practice channel.One of: mock, facebook, instagram, linkedin |
campaign_id |
string | no | The campaign this post belongs to (list_campaigns). |
intent |
string | no | One of: educate, prove, offer, engage, announce |
format |
string | no | One of: text, image, carousel, video, story, link |
funnel_stage |
string | no | One of: awareness, consideration, conversion, retention |
locale |
string | no | The language of the post. Default: the workspace language.One of: en, da |
planned_for |
string | no | Local time in the workspace time zone, "YYYY-MM-DD HH:MM". Planning a time does not schedule anything. |
note |
string | no | What changed in this version, for the history. |
request_key |
string | no | For a new draft: any unique string. The same key returns the first draft instead of creating a second one. |
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 is in the list every assistant sees when it connects.
How tools behave: confirmation, review links, errors and limits
In the same group
create_creative · get_approval · get_content · import_images · list_approvals · list_content · list_creative_templates · list_creatives · list_uploads · manage_content · preview_creative · preview_post · request_approval · request_upload · update_creative