Trackers

Create new tracker(s)

POST
/organizations/{organizationId}/projects/{projectId}/trackers

Create one or more new trackers for the current project.

Authorization

ApiKeyAuth
headerx-api-key<token>

Path Parameters

organizationId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
Formatuuid
projectId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
Formatuuid

Request Body

application/json
  1. body
name*string
Length1 <= length
detectedName?string
Length1 <= length
company?string|null
description?string|null
domain?string|null
pattern?string
Length1 <= length
origin?string
Default"manual"
Value in"autoscan""manual"
matchType?string
Value in"new""project""global"
matchedTrackerId?|null
overrideFields?array<>
category?string
Default"unclassified"
Value in"analytics""functional""marketing""strictly_necessary""unclassified""ignored""malicious"
type*string
Value in"cookie""script""iframe""image""link""local_storage""session_storage"
expiration?|

Cookie expiration in days. -1 for session cookies, null for non-cookie trackers

Defaultnull
aiIdentified?

Response Body

Default Response

application/json
  1. response
[index: integer]?
Example Request
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"}'
Example Response
[  {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "dateCreated": null,    "dateUpdated": null,    "dateDetected": null,    "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": null,    "aiIdentified": {      "modelId": "string",      "identifiedAt": null    },    "isGlobalMatch": true  }]