Skip to main content
POST
/
projects
Create Project
curl --request POST \
  --url https://server.promptwatch.com/api/v2/projects \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "website": "<string>",
  "countryCode": "<string>",
  "languageCode": "<string>"
}
'
{
  "id": "6ba7b81a-9dad-11d1-80b4-00c04fd430c8",
  "name": "Example Project",
  "slug": "example-project",
  "website": "https://www.example.com",
  "createdAt": "2026-03-30T10:15:00.000Z"
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.

Body

application/json
name
string
required

Project name

Minimum string length: 1
website
string
required

Project website URL

countryCode
string

Country code (e.g., US)

languageCode
string

Language code (e.g., en)

Response

Default Response

id
string<uuid>
required

Project unique identifier

name
string
required

Project name

slug
string
required

Project URL slug

createdAt
string<date-time>
required

Creation timestamp

website
string | null

Project website URL