latestOpenAPI 3.1.02026-08-0823354.5 KB

7e9372f17040

Project

Create a project

Create a project in the organization associated with an organization API key. The key must have the org:projects:create permission. Project keys cannot use this endpoint. Enabling CDN delivery also requires project:write.

post/v2/projects

Headers

gt-api-version'2025-01-01.v0' | '2025-11-03.v1' | '2026-02-18.v1' | '2026-03-06.v1'

API version. Defaults to the earliest supported version. Latest is 2026-03-06.v1.

Request body

namestring required

Project name. Supports letters, numbers, spaces, dashes, underscores, apostrophes, parentheses, and periods.

defaultLocalestring required

Source locale for the project.

cdnEnabledboolean

Enable CDN delivery for the new project.

Example request

{
  "name": "Customer Portal",
  "defaultLocale": "en-US"
}

Response

Project created.

Example response

{
  "project": {
    "id": "prj_abc123",
    "name": "Customer Portal",
    "orgId": "org_abc123",
    "defaultLocale": "en-US"
  }
}