---
title: "Create call group"
method: POST
path: "/v2/partition/{partitionId}/account/{accountId}/group"
tags: ["Call Group"]
---

# Create call group

`POST /v2/partition/{partitionId}/account/{accountId}/group`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/partition/{partitionId}/account/{accountId}/group`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/partition/:partitionId/account/:accountId/group/post.ts> (a function with typed inputs; its response is checked against the schema)

Use to create a call group. <span hidden>Refer to <a href="callGroups.html#creating-a-call-group">Creating a Call Group</a> for more information.</span>

## Path parameters

- `accountId` string, required
- `partitionId` string, required

## Request body

- CallGroupX
  - `partitionId` string
  - `accountId` string
  - `id` string
  - `name` string
  - `type` 'DEVICE' | 'USER'
  - `subType` 'ANY_USER' | 'PAGING_DEVICE'
  - `memberIds` string[]

## Response `201`

Call group created

- CallGroupX
  - `partitionId` string
  - `accountId` string
  - `id` string
  - `name` string
  - `type` 'DEVICE' | 'USER'
  - `subType` 'ANY_USER' | 'PAGING_DEVICE'
  - `memberIds` string[]

## Other responses

- `400`: Invalid Call Group object
- `401`: Unauthorized
- `404`: Partition Id or Account Id not found.
- `500`: memberId list is null (empty list is OK)

---

[API](https://skmtc.dev/alianza/apis/alianza-public-api.md) - [All operations](https://skmtc.dev/alianza/apis/alianza-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alianza/apis/alianza-public-api/revisions/7223246c352c?raw)
