Trackers
Create new tracker(s)
POST
Create one or more new trackers for the current project.
ApiKeyAuthheader
x-api-key<token>organizationId*stringMatch
^([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})$Format
uuidprojectId*stringMatch
^([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})$Format
uuidapplication/json- body
name*stringLength
1 <= lengthdetectedName?stringLength
1 <= lengthcompany?string|nulldescription?string|nulldomain?string|nullpattern?stringLength
1 <= lengthorigin?stringDefault
"manual"Value in
"autoscan""manual"matchType?stringValue in
"new""project""global"matchedTrackerId?|nulloverrideFields?array<>category?stringDefault
"unclassified"Value in
"analytics""functional""marketing""strictly_necessary""unclassified""ignored""malicious"type*stringValue in
"cookie""script""iframe""image""link""local_storage""session_storage"expiration?|Cookie expiration in days. -1 for session cookies, null for non-cookie trackers
Default
nullaiIdentified?Default Response
application/json- response
[index: integer]?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 }]