---
title: "Create Source"
method: POST
path: "/v1/advertising/sources"
tags: ["advertising"]
---

# Create Source

`POST /v1/advertising/sources`

## Request

- Base URL: `https://api.shortkit.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.shortkit.dev/v1/advertising/sources`
- Auth: none declared

## Headers

- `idempotency-key` string, nullable

## Request body

- SourceCreate
  - `kind` 'direct_upload' | 'google_native' | 'google_swipeable' | 'gam_vast_pal', required
  - `inventory` object
  - `name` string, required
  - `enabled` boolean
  - `testMode` boolean
  - `sessionCap` integer

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-26** `915ff7e82b20`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/shortkit/apis/shortkit-api/changes/v1/advertising/sources/post.md)

---

[API](https://skmtc.dev/shortkit/apis/shortkit-api.md) - [All operations](https://skmtc.dev/shortkit/apis/shortkit-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shortkit/apis/shortkit-api/revisions/82ba66751b25?raw)
