Swetrix · Example Payload

Swetrix Create Project Example

Example of creating a new Swetrix analytics project

AnalyticsCookieless TrackingGDPR CompliantOpen SourcePrivacyReal-Time AnalyticsWeb Analytics

Swetrix Create Project Example is an example object payload from Swetrix, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

summarydescriptionrequestresponse

Example Payload

Raw ↑
{
  "summary": "Create analytics project",
  "description": "Example of creating a new Swetrix analytics project",
  "request": {
    "method": "POST",
    "url": "https://api.swetrix.com/v1/project",
    "headers": {
      "Content-Type": "application/json",
      "X-Api-Key": "your-api-key-here"
    },
    "body": {
      "name": "My Marketing Site",
      "isCaptcha": false,
      "isPasswordProtected": false
    }
  },
  "response": {
    "status": 201,
    "body": {
      "id": "xyz789newproject",
      "name": "My Marketing Site",
      "active": true,
      "public": false,
      "origins": [],
      "ipBlacklist": [],
      "botsProtectionLevel": "basic",
      "isCaptcha": false,
      "isPasswordProtected": false,
      "organisationId": null,
      "createdAt": "2026-05-03T12:00:00.000Z",
      "updatedAt": "2026-05-03T12:00:00.000Z"
    }
  }
}