Accounts
Update an account's post defaults
Set the settings every new post on an account starts from, or clear them.
PUT
Needs
accounts:update, and a role in the workspace that can edit accounts. Keys made with Everything (*) and older keys with accounts have it. See Permissions.defaults with the settings every new post on this account should start from, in the same shape as the account’s settings on Create a post. The answer is what Get an account’s post defaults gives.
defaultsreplaces what the account has. A key you leave out is no longer a default. To change one key, read the defaults first and send them back with the change.{"defaults": {}}clears them.- Only posts the account is added to from now on start from them. A draft, a scheduled post or a published post keeps the settings it has.
- Values are checked the way they are on a post: a TikTok
privacy_levelmust be one of its values,hashtagsup to 30, and so on. A switch must betrueorfalse. - A text can be up to 2,048 characters, a link or an ID included (
first_commenthas its network’s own limit). - An empty value (
"",[]ornull) sets nothing. The answer gives the defaults back the way a post reads them:hashtagsas a list, Instagram’sreelasREELS.
What can be a default
Post text, media and polls belong to each post, so they can’t be defaults. Neither can TikTok’sbrand_content_toggle and brand_organic_toggle: TikTok wants the content disclosure off until it is turned on for a post. Sending one of these is refused with 422 under defaults.<key>: “title can’t be a default: it belongs to the post.” A key the network doesn’t have is refused the same way: “playlist_id isn’t a TikTok setting.”
hashtags are added after the account’s text when it is published, and first_comment is posted a minute after the post when the post has no first comment of its own. See hashtags and first_comment in All settings by network.
Errors
Related
- Get an account’s post defaults: what the account has now.
- Post defaults guide: when they apply, and TikTok.
- Create a post:
use_account_defaultsto leave them out of one post.
Authorizations
Body
application/json