---
title: "Create a Time Group"
method: POST
path: "/v1/timegroup"
---

# Create a Time Group

`POST /v1/timegroup`

This API allows you to create a new Time Group.

## Headers

- `Authorization` string, required

## Request body

- object
  - `name` string — Name for the timegroup
  - `from_time` string[] — Start time of timegroup
  - `to_time` string[] — End time of timegroup
  - `days` 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat' | 'sun' — Days on which timegroup is applicable.
  - `dates` string[] — Dates on which timegroup is applicable, min:1, max:31
  - `months` string[] — Months on which timegroup is applicable.

## Response `200`

200

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.net/acefone/apis/servetel-base-api-config.md) · [All operations](https://skmtc.net/acefone/apis/servetel-base-api-config/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/acefone/servetel-base-api-config/revisions/ca83a6f08f7f/schema)
