---
title: "Bulk Create Platform Configs"
method: POST
path: "/v2/platform-configs/bulk"
tags: ["v2 - PlatformConfig"]
---

# Bulk Create Platform Configs

`POST /v2/platform-configs/bulk`

## Request

- Base URL: `https://api.jubjubapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jubjubapp.com/v2/platform-configs/bulk`
- Auth: HTTP bearer

Create multiple platform configurations for a content at once.

Useful when the user selects multiple platforms/accounts in a single step.
Each item is processed independently — partial success is possible.

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

## Headers

- `Authorization` string
- `X-JubJub-Service-Key` string
- `X-JubJub-Agent-Key` string
- `X-JubJub-Platform-Key` string
- `Origin` string
- `Referer` string
- `X-JubJub-Trial-Token` string

## Request body

- BulkCreatePlatformConfigsRequest: Request to create multiple platform configs for a content at once.
  - `content_id` string, required: Content this config belongs to
  - `configs` BulkCreateConfigItem[], required: List of platform configs to create
    - `platform` string, required: Platform type: youtube, instagram, facebook, tiktok, linkedin, twitter, vimeo
    - `credential_id` string, required: ID of the credential/account to use for publishing
    - `credential_name` string, nullable: Friendly name for the credential (e.g., 'Instagram Página Principal')
    - `settings` object, nullable: Platform-specific settings

## Response `201`

Successful Response

- BulkCreatePlatformConfigsResponse: Response for bulk create operation.
  - `created` PlatformConfigResponse[], required
    - `config_id` string, required
    - `content_id` string, required
    - `platform` string, required
    - `credential_id` string, nullable, required
    - `credential_name` string, nullable, required
    - `status` string, required
    - `settings` object, nullable, required
    - `published_url` string, nullable, required
    - `published_id` string, nullable, required
    - `published_at` string, date-time, nullable, required
    - `published_playback_policy` string, nullable
    - `error_message` string, nullable, required
    - `token_valid` boolean, nullable: Whether the credential's token is still valid. None if not checked.
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, nullable, required
    - `notices` string[]: Plain sentences about this request, e.g. that Meta Ads campaign settings were ignored
  - `errors` BulkCreateResult[]
    - `platform` string, required
    - `credential_id` string, required
    - `success` boolean, required
    - `config_id` string, nullable
    - `error` string, nullable
  - `total_requested` integer, required
  - `total_created` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jubjubapp/apis/jubjub-api.md) - [All operations](https://skmtc.dev/jubjubapp/apis/jubjub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jubjubapp/apis/jubjub-api/revisions/353157b296f2?raw)
