---
title: "Create campaign-level collection"
method: POST
path: "/v1/applications/{applicationId}/campaigns/{campaignId}/collections"
tags: ["Collections"]
---

# Create campaign-level collection

`POST /v1/applications/{applicationId}/campaigns/{campaignId}/collections`

## Request

- Base URL: `https://yourbaseurl.talon.one`
- URL: `https://yourbaseurl.talon.one/v1/applications/{applicationId}/campaigns/{campaignId}/collections`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/talon/apis/management-api/docs/v1/applications/:applicationId/campaigns/:campaignId/collections/post.ts> (a function with typed inputs; its response is checked against the schema)

> [!note] Management API endpoints are **not** meant to be used in real-time integrations that directly serve your end users. Rate limit: 3 requests per second.

Create a campaign-level collection in a given campaign.

## Path parameters

- `applicationId` integer, required
- `campaignId` integer, required

## Request body

- NewCampaignCollection
  - `description` string: A short description of the purpose of this collection.
  - `name` string, required: The name of this collection.

## Response `201`

Created

- Collection
  - `id` integer, required: The internal ID of this entity.
  - `created` string, date-time, required: The time this entity was created.
  - `accountId` integer, required: The ID of the account that owns this entity.
  - `modified` string, date-time, required: The time this entity was last modified.
  - `description` string: A short description of the purpose of this collection.
  - `subscribedApplicationsIds` integer[]: A list of the IDs of the Applications where this collection is enabled.
  - `name` string, required: The name of this collection.
  - `modifiedBy` integer: ID of the user who last updated this effect if available.
  - `createdBy` integer, required: ID of the user who created this effect.
  - `applicationId` integer: The ID of the Application that owns this entity.
  - `campaignId` integer: The ID of the campaign that owns this entity.
  - `payload` string[]: The content of the collection.

---

[API](https://skmtc.dev/talon/apis/management-api.md) - [All operations](https://skmtc.dev/talon/apis/management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talon/apis/management-api/revisions/7ef1b9504c3a?raw)
