---
title: "Create account-level collection"
method: POST
path: "/v1/collections"
tags: ["Collections"]
---

# Create account-level collection

`POST /v1/collections`

## Request

- Base URL: `https://yourbaseurl.talon.one`
- URL: `https://yourbaseurl.talon.one/v1/collections`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/talon/apis/management-api/docs/v1/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 an account-level collection.

## Request body

- NewCollection
  - `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.

## 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.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `409`: Conflict. A collection with this name already exists.

---

[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)
