# Create a platform set

Source: https://ampost.io/docs/api/platform-sets-create · Full reference: https://ampost.io/llms-full.txt

`POST /api/platform-sets` · MCP tool `platform_sets_create` · scope `accounts:write` · rate limit `createPost` · success `201`

Create an empty platform set with this name and return it. Add accounts to it with accounts_connect and its `platformSetId`; to rename a set, use platform_sets_update. You can have at most 20 sets (409 PLATFORM_SET_LIMIT_REACHED). A key restricted to some sets cannot create one (403 PLATFORM_SET_NOT_ALLOWED).

| Field | In | Type | Required | Description |
|---|---|---|---|---|
| `name` | body | string | yes | Set name, 1-50 characters |
| `Idempotency-Key` (MCP `idempotencyKey`) | header | string | no | Idempotency key (1-255 visible ASCII characters, for example a UUID). A retry with the same key and arguments within 24 hours returns the first result instead of running again. Send a new key for each new action. See Idempotency. |

Example request:

```json
{
  "name": "Client A"
}
```

Example response:

```json
{
  "id": "0b6e4d2a-9c3f-4e1b-8a7d-5f2c1e9b3d40",
  "name": "Client A",
  "isDefault": false,
  "accountCount": 2,
  "createdAt": "2026-10-06T09:00:00.000Z",
  "updatedAt": "2026-10-06T09:00:00.000Z"
}
```
