---
title: "POST /v3/environment-variable-groups/"
method: POST
path: "/v3/environment-variable-groups/"
tags: ["envVarGroups"]
---

# POST /v3/environment-variable-groups/

`POST /v3/environment-variable-groups/`

Create a new environment variable group

## Request body

- object
  - `name` string, required
  - `orgId` string, uuid — Organization to act in. Defaults to the organization that owns the API token. List the organizations you belong to with GET /v2/orgs.

## Response `201`

An environment variable group

- object — An environment variable group
  - `name` string, required — Name of the environment variable group
  - `id` string, uuid, required — The id of the group
  - `orgId` string, uuid, required — The id of the group
  - `count` integer, required
  - `updatedAt` string, date-time, nullable, required
  - `createdAt` string, date-time, required

## Other responses

- `409` — Name conflict with another environment variable group in that organization

---

[API](https://skmtc.net/val-town/apis/val-town-api.md) · [All operations](https://skmtc.net/val-town/apis/val-town-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/val-town/val-town-api/revisions/4d8b6d2e6db3/schema)
