Trackers
Create new tracker(s)
Create one or more new trackers for the current project.
x-api-key<token>
In: header
Path Parameters
organizationIdstring
Format
uuidprojectIdstring
Format
uuidnamestring
Length
length <= 256detectedName?string
Length
length <= 256company?string
description?string
domain?string
pattern?string
Length
length <= 256origin?string
Default
"manual"Value in
"manual" | "autoscan"matchType?string
Value in
"new" | "project" | "global"matchedTrackerId?string
overrideFields?array<string>
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" }'[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"dateCreated": 0,
"dateUpdated": 0,
"dateDetected": 0,
"company": "string",
"organization": "452c1a86-a0af-475b-b03f-724878b0f387",
"project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
"name": "string",
"description": "string",
"domain": "string",
"category": "analytics",
"pattern": "string",
"origin": "autoscan",
"type": "cookie",
"expiration": 0
}
]{
"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"
}