---
title: "Create a Global Config"
method: POST
path: "/v1/global-config"
tags: ["global-config"]
---

# Create a Global Config

`POST /v1/global-config`

## Request

- Base URL: `https://api.vercel.com`
- URL: `https://api.vercel.com/v1/global-config`
- Auth: HTTP bearer

Creates a Global Config.

## Query parameters

- `teamId` string
- `slug` string

## Request body

- object
  - `slug` string, required
  - `items` object

## Response `201`

- object: A Global Config
  - `createdAt` number, required
  - `createdBy` string: The ID of the user who created the Global Config, optional because it is not always set.
  - `digest` string, required
  - `id` string, required
  - `itemCount` number, required
  - `ownerId` string, required
  - `sizeInBytes` number, required
  - `slug` string, required: Name for the Global Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).
  - `updatedAt` number, required

## Other responses

- `400`: One of the provided values in the request body is invalid.
- `401`: The request is not authorized.
- `402`: The account is missing a payment so payment method must be updated
- `403`: You do not have permission to access this resource.
- `404`
- `410`

## Changes

- **2026-10-02** `41e24ae097d4`: 5 warning
  - removed the optional property `deletedAt` from the response with the `201` status
  - removed the optional property `purpose` from the response with the `201` status
  - removed the optional property `schema` from the response with the `201` status
  - removed the optional property `syncedToDynamoAt` from the response with the `201` status
  - …1 more
- **2026-10-01** `9958fd10bb05`: 1 breaking
  - request body became required
- **2026-09-30** `099fbe1f521c`: 1 info
  - added the non-success response with the status `404`
- **2026-07-31** `e20468c66692`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vercel/apis/vercel-api/changes/v1/global-config/post.md)

---

[API](https://skmtc.dev/vercel/apis/vercel-api.md) - [All operations](https://skmtc.dev/vercel/apis/vercel-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vercel/apis/vercel-api/revisions/60686c0e1f6a?raw)
