---
title: "Create a new schedule group."
method: POST
path: "/schedules/groups"
tags: ["Schedules"]
---

# Create a new schedule group.

`POST /schedules/groups`

## Request

- Base URL: `https://api.reveldigital.com`
- URL: `https://api.reveldigital.com/schedules/groups`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://id.reveldigital.com/connect/authorize`
    - Token URL: `https://id.reveldigital.com/connect/token` scopes: `webapi`
  - API key in header `X-RevelDigital-ApiKey`
  - API key in query parameter `api_key`
- TypeScript: <https://skmtc.dev/reveldigital/apis/revel-digital-rest-api/docs/schedules/groups/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- GroupRequest: Request model for creating a new group.
  - `name` string, nullable: The group name
  - `parentId` string, nullable: The parent group Id (optional)

## Response `201`

Created

- Group: Represents an organizational folder/group for categorizing resources in the RevelDigital platform. Groups form a hierarchical tree structure for organizing devices, media, playlists, templates, and schedules.
  - `id` string, nullable: The group id
  - `name` string, nullable: The group name
  - `parent_id` string, nullable: The parent group id
  - `count` integer, nullable: The number of items in this group
  - `level` integer, nullable: The nested level of this group
  - `family` integer, nullable: The family id
  - `organization_count` integer, nullable: The organization count
  - `children` Group[], nullable: The children groups

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/reveldigital/apis/revel-digital-rest-api.md) - [All operations](https://skmtc.dev/reveldigital/apis/revel-digital-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/reveldigital/apis/revel-digital-rest-api/revisions/39d5c8302822?raw)
