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": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "slug": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "website": "<string>"
}

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