Trackers

Create new tracker(s)

Create one or more new trackers for the current project.

POST
/organizations/{organizationId}/projects/{projectId}/trackers
x-api-key<token>

In: header

Path Parameters

organizationIdstring
Formatuuid
projectIdstring
Formatuuid
namestring
Lengthlength <= 256
company?string
description?string
domain?string
pattern?string
Lengthlength <= 256
origin?string
Default"manual"
Value in"manual" | "autoscan"
category?string
Default"unclassified"
Value in"analytics" | "functional" | "marketing" | "strictly_necessary" | "unclassified" | "ignored" | "malicious"
typestring
Value in"cookie" | "script" | "iframe" | "image" | "link" | "local_storage" | "session_storage"
expiration?integer
items

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.concord.tech/privacy-v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/trackers" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "type": "cookie"  }'
{
  "success": true
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "string"
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Forbidden"
}
{
  "statusCode": 403,
  "error": "Forbidden",
  "message": "Forbidden"
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Not Found"
}
{
  "statusCode": 422,
  "error": "Unprocessable Entity",
  "message": "string"
}
{
  "statusCode": 500,
  "error": "Internal Server Error",
  "message": "Internal Server Error"
}