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

# Create a Global Config token

`POST /v1/global-config/{edgeConfigId}/token`

## Request

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

Adds a token to an existing Global Config.

## Path parameters

- `edgeConfigId` string, required

## Query parameters

- `teamId` string
- `slug` string

## Request body

- object
  - `label` string, required

## Response `201`

- object
  - `id` string, required
  - `token` string, required

## Other responses

- `400`: One of the provided values in the request body is invalid. One of the provided values in the request query 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`
- `409`
- `410`

## Changes

- **2026-10-01** `9958fd10bb05`: 1 breaking
  - request body became required
- **2026-07-31** `e20468c66692`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vercel/apis/vercel-api/changes/v1/global-config/:edgeConfigId/token/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)
