cURL
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>" }
Create a new project (requires org-level API key, X-Project-Id header NOT required)
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Project name
1
Project website URL
Country code (e.g., US)
Language code (e.g., en)
Default Response
Project unique identifier
Project URL slug
Creation timestamp