v14

latestOpenAPI 3.0.32026-08-04377889.4 MB
projects

Generate a project OIDC token

Generates an OIDC token for the project and returns it.

post/v1/projects/{idOrName}/token

Path parameters

idOrNamestring required

The project ID or name

Example:my-project, <prj_id>

The project ID or name

Query parameters

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Request body

sourcestring

The source that is calling the endpoint.

Example request

{
  "source": "vercel-cli:pull"
}

Response

tokenstring required