---
title: "Create a social campaign with posts (honors Idempotency-Key)"
method: POST
path: "/social/campaigns"
---

# Create a social campaign with posts (honors Idempotency-Key)

`POST /social/campaigns`

## Request

- Base URL: `https://sendinel.ai/api/v1`
- URL: `https://sendinel.ai/api/v1/social/campaigns`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://sendinel.ai/oauth/authorize`, token URL `https://sendinel.ai/oauth/token`)

## Request body

- object
  - `site_id` string, uuid
  - `name` string, required
  - `posts` object[]
    - `platform` string
    - `scheduled_at` string, date-time
    - `linkedin_company_crosspost` boolean
    - `linkedin_company_page_id` string
    - `content` object

## Response `201`

Created — { campaign_id, status, posts[] }

---

[API](https://skmtc.dev/sendinel/apis/sendinel-api.md) · [All operations](https://skmtc.dev/sendinel/apis/sendinel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sendinel/apis/sendinel-api/revisions/20b2c6d5616d?raw)
