v2 - Contents

Add Targets

Add platform targets (destinations) to a content.

This creates PlatformConfig entries for each credential. The user can then configure platform-specific settings for each target.

  • credential_ids: List of credential IDs to add as targets

Access: Must have CONTENT_EDIT permission on the parent workspace, AND each credential must be the caller's own or actively shared with the workspace's team. A credential that exists and is neither is reported as not_accessible with nothing about it — until 2026-09-03 this route returned any credential's account name and username for any id, and persisted the config so a launch published through its tokens.

post/v2/contents/{content_id}/targets

Request

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

Path parameters

content_idstring required

Headers

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

Request body

credential_idsstring[] required

List of credential IDs to add as targets

Response

Successful Response

content_idstring required
skippedobject[]

Credentials that were skipped (already exist or invalid)

Changes

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