---
title: "Create a Social Set"
method: POST
path: "/social-sets"
tags: ["Social Sets"]
---

# Create a Social Set

`POST /social-sets`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/social-sets`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Request body

- CreateSocialSetInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `accounts` SocialSetAccountInput[], nullable, required: Ordered connected accounts
    - `default_output_profile` string: Optional provider-qualified default format
    - `default_segment_settings` object: Post settings copied into new rendition segments
    - `default_settings` object: Destination settings copied into new renditions
    - `social_account_id` string, required: Connected social account ID
  - `is_default` boolean: Use this set when the composer opens
  - `locale` string: BCP 47 locale for account settings validation
  - `name` string, required: Social Set name
  - `region` string: ISO 3166-1 alpha-2 region for account settings validation
  - `workspace_id` string, required: Target workspace ID

## Response `200`

OK

- SocialSetResponse
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `accounts` SocialSetAccountResponse[], nullable, required
    - `account_avatar_url` string
    - `account_username` string
    - `default_output_profile` string
    - `default_segment_settings` object
    - `default_settings` object
    - `display_order` integer, required
    - `platform` string, required
    - `social_account_id` string, required
  - `created_at` string, required
  - `id` string, required
  - `is_default` boolean, required
  - `name` string, required
  - `updated_at` string, required
  - `workspace_id` string, required

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `409`: Conflict
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
