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

# Create a Global Config

`POST /v1/global-config`

Creates a Global Config.

## Query parameters

- `teamId` string
- `slug` string

## Request body

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

## Response `201`

- object — A Global Config
  - `id` string, required
  - `createdAt` number, required
  - `createdBy` string — The ID of the user who created the Global Config, optional because it is not always set.
  - `ownerId` string, 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
  - `digest` string, required
  - `purpose` union
    - object
      - `type` 'flags', required
      - `projectId` string, required
    - object
      - `type` 'experimentation', required
      - `resourceId` string, required
  - `deletedAt` number, nullable
  - `transfer` object — Keeps track of the current state of the Global Config while it gets transferred.
    - `fromAccountId` string, required
    - `startedAt` number, required
    - `doneAt` number, nullable, required
  - `schema` object
  - `syncedToDynamoAt` number — Timestamp of when the Global Config was synced to DynamoDB initially. It is only set when syncing the entire Global Config, not when updating.
  - `sizeInBytes` number, required
  - `itemCount` 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.
- `410`

## Changes

> 39 revisions in range; 26 could not be searched.

- **2026-07-31** `e20468c66692` — 1 info
  - endpoint added

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

---

[API](https://skmtc.dev/vercel/apis/api.md) · [All operations](https://skmtc.dev/vercel/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vercel/api/revisions/4191ba96b0c1/schema)
