cURL
curl --request POST \ --url https://server.promptwatch.com/api/v2/brands \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "<string>", "url": "<string>", "relation": "SELF" } '
201
Example
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "domain": "<string>", "relation": "SELF"}
Create or connect a brand to the project
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Brand name
1
Brand website URL
Brand relation to project
SELF
DIRECT_COMPETITOR
OTHER
IGNORED
Default Response
Brand unique identifier
Brand domain