---
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 (24H Format )
  - `to_time` string[] — End time of timegroup
  - `days` string[] — 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/tatatelebusiness/apis/smartflo-base-api-config.md) · [All operations](https://skmtc.net/tatatelebusiness/apis/smartflo-base-api-config/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tatatelebusiness/smartflo-base-api-config/revisions/6d23fb7bf7e1/schema)
