Skip to main content
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.
Send 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.
  • defaults replaces 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_level must be one of its values, hashtags up to 30, and so on. A switch must be true or false.
  • A text can be up to 2,048 characters, a link or an ID included (first_comment has its network’s own limit).
  • An empty value ("", [] or null) sets nothing. The answer gives the defaults back the way a post reads them: hashtags as a list, Instagram’s reel as REELS.

What can be a default

Post text, media and polls belong to each post, so they can’t be defaults. Neither can TikTok’s brand_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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account
integer
required

The account's id.

Body

application/json
defaults
object
required

The whole set of defaults for the account's network. It replaces what the account has; {} clears them.

Response

Saved. The account's network and its post defaults as they are now.

data
object
required

An account's post defaults, with the account and its network.