cURL
curl --request POST \ --url https://api.surefeedback.com/api/v1/sites \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "<string>", "domain": "<string>", "project_id": "<string>" } '
{ "success": true, "data": { "id": "880e8400-e29b-41d4-a716-446655440003", "name": "Main Website", "domain": "example.com", "api_token": "sc_AbCdEfGh123456", "is_active": true, "project_id": "770e8400-e29b-41d4-a716-446655440002" } }
Add a new site to a project.
sc_...
example.com
Show Site fields
Was this page helpful?