v1

latestOpenAPI 3.1.0Apache 2.02026-07-245981,1853.0 MB
Data Subject Groups

Create Data Subject Group

Use this API to create a new Data Subject Group.

🗒 Things to Know

  • Data Subject Groups must contain at least one primary data subject identifier and two data subjects.
post/api/consentmanager/v2/linkedidentitygroups

Request body

identifiersstring[]

A list of all the Data Subject identifiers to be added to the group; must be at least 2

primaryIdentifierstring[]

List of all primary Data Subject identifiers of the group; must be contained in the identifiers list

groupNamestring

Name of the Linked Identity Group

Example request

{
  "identifiers": [
    "example@otprivacy.com",
    "example@onetrust.com"
  ],
  "primaryIdentifier": [
    "example@otprivacy.com"
  ],
  "groupName": "Customer Support Group"
}

Response

OK - Successfully created Data Subject Group.

idstring uuid

Globally unique identifier of a Linked Identity Group

createdDatestring date-time

Creation date of a Linked Identity Group

groupNamestring

The name of the linked identity group

Example response

{
  "id": "b0a6b5da-4ea2-4a9f-a25a-fb3e212efc30",
  "createdDate": "2020-05-30T10:52:30.974Z",
  "primaryDataSubject": {
    "id": "c43a9190-ffd6-4be3-aeff-95b46d0fa59f",
    "identifier": "example@otprivacy.com",
    "identifierType": "Email",
    "addedDate": "2020-05-30T12:23:42.145Z",
    "numberOfLinkedGroups": 2,
    "magicLinkToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "magicLinkTokenEncoded": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "organizations": [
      "550e8400-e29b-41d4-a716-446655440000"
    ]
  },
  "primaryDataSubjects": [
    {
      "id": "c43a9190-ffd6-4be3-aeff-95b46d0fa59f",
      "identifier": "example@otprivacy.com",
      "identifierType": "Email",
      "addedDate": "2020-05-30T12:23:42.145Z",
      "numberOfLinkedGroups": 2,
      "magicLinkToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
      "magicLinkTokenEncoded": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
      "organizations": [
        "550e8400-e29b-41d4-a716-446655440000"
      ]
    }
  ],
  "dataSubjects": [
    {
      "id": "c43a9190-ffd6-4be3-aeff-95b46d0fa59f",
      "identifier": "example@otprivacy.com",
      "identifierType": "Email",
      "addedDate": "2020-05-30T12:23:42.145Z",
      "numberOfLinkedGroups": 2,
      "magicLinkToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
      "magicLinkTokenEncoded": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
      "organizations": [
        "550e8400-e29b-41d4-a716-446655440000"
      ]
    }
  ],
  "groupName": "Customer Group A"
}