v2 - PlatformConfig

Create Platform Config

Create a new platform configuration for a content.

Each config represents how to publish to a specific platform/account. A content can have multiple configs for the same platform with different credentials.

Access: Must have CONTENT_EDIT permission on the content's workspace.

post/v2/platform-configs

Request

  • Base URL
    https://api.jubjubapp.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Headers

Authorizationstring
X-JubJub-Service-Keystring
X-JubJub-Agent-Keystring
X-JubJub-Platform-Keystring
Originstring
Refererstring
X-JubJub-Trial-Tokenstring

Request body

content_idstring required

Content this config belongs to

platformstring required

Platform type: youtube, instagram, facebook, tiktok, linkedin, twitter, vimeo

credential_idstring required

ID of the credential/account to use for publishing

credential_namestring nullable

Friendly name for the credential (e.g., 'Instagram Página Principal')

settingsobject nullable

Platform-specific settings

Response

Successful Response

config_idstring required
content_idstring required
platformstring required
credential_idstring nullable required
credential_namestring nullable required
statusstring required
settingsobject nullable required
published_urlstring nullable required
published_idstring nullable required
published_atstring date-time nullable required
published_playback_policystring nullable
error_messagestring nullable required
token_validboolean nullable

Whether the credential's token is still valid. None if not checked.

created_atstring date-time required
updated_atstring date-time nullable required
noticesstring[]

Plain sentences about this request, e.g. that Meta Ads campaign settings were ignored

Changes

No recorded changes to this operation across all 1 revision of this API.