Skip to content

Add an Identity (postIdentity)

Request

Adds or updates an identity record in the Person entity — the Source + Native ID in the request determines whether the call creates a new identity or updates an existing one, and every response returns the assigned Link ID. This is the primary ingestion endpoint used to synchronize source-system adds/updates into Verato.

Security
basicAuth
Bodyapplication/jsonrequired
contentobject(PostIdentityWsRequest)

adds a new identity to the LINK database

trackingIdstring
curl -i -X POST \
  -u '<username>:<password>' \
  https://yourveratodomain.com/link-ws/svc/v2/postIdentity \
  -H 'Content-Type: application/json' \
  -d '{
    "responseIdentityFormatNames": [
      "DEFAULT",
      "GROUP_BY_SOURCE",
      "MOST_RECENTLY_ASSERTED"
    ],
    "identity": {
      "sources": [
        {
          "name": "test",
          "id": "ja-person-5143"
        }
      ],
      "names": [
        {
          "use": "official",
          "prefix": "Mr.",
          "first": "Jordan",
          "middle": "A.",
          "last": "Avery",
          "suffix": "Jr.",
          "credential": "MBA"
        }
      ],
      "addresses": [
        {
          "type": "home",
          "line1": "4567 Maplewood Ave",
          "line2": "Apt 8B",
          "city": "Riverton",
          "district": "Northside",
          "state": "NY",
          "postalCode": "13579",
          "country": "USA",
          "latitude": 40.7128,
          "longitude": -74.006,
          "validFrom": "2008-06-15",
          "validTo": "2038-06-15"
        }
      ],
      "datesOfBirth": [
        {
          "dateOfBirth": "1985-04-12"
        }
      ],
      "ssns": [
        {
          "ssn": "219-08-3746"
        }
      ],
      "genders": [
        {
          "gender": "M"
        }
      ],
      "genderIdentities": [
        {
          "genderIdentity": "M"
        }
      ],
      "phoneNumbers": [
        {
          "type": "mobile",
          "countryCode": "+1",
          "areaCode": "212",
          "number": "5552314",
          "extension": "",
          "validTo": "2038-06-15",
          "validFrom": "2008-06-15",
          "bestTimeToContact": [
            {
              "day": "sat",
              "startTime": "09:00",
              "endTime": "20:00",
              "allDay": false
            }
          ]
        }
      ],
      "emails": [
        {
          "type": "work",
          "email": "jordan.avery@samplemail.com",
          "validFrom": "2008-06-15",
          "validTo": "2038-06-15"
        }
      ],
      "deathDetails": [
        {
          "deceased": "N",
          "dateOfDeath": null,
          "city": null,
          "county": null,
          "state": null,
          "country": null
        }
      ],
      "externalUniqueIdentifier": [
        {
          "issuer": "Riverton Records",
          "value": "RV-42109",
          "status": "active",
          "startDate": "2008-06-15",
          "endDate": "2038-06-15"
        }
      ],
      "alternateIdentifiers": [
        {
          "description": "Passport",
          "type": "PPN",
          "value": "XG9876543",
          "status": "active",
          "issuer": "Fictitious Passport Office",
          "issueDate": "2012-09-01",
          "startDate": "2012-09-01",
          "endDate": "2022-09-01"
        }
      ],
      "multipleBirthIndicator": [
        {
          "multipleBirthIndicator": false,
          "multipleBirthInteger": 1,
          "birthPlurality": 1
        }
      ],
      "citizenships": [
        {
          "citizenship": "US"
        }
      ],
      "photos": [
        {
          "url": "https://images.placeholder.org/people/jordan-avery.jpg"
        }
      ],
      "sexualOrientations": [
        {
          "sexualOrientation": "ST"
        }
      ],
      "races": [
        {
          "race": "2106-3"
        }
      ],
      "ethnicities": [
        {
          "ethnicity": "2186-5"
        }
      ],
      "religiousAffiliations": [
        {
          "religiousAffiliation": "1033"
        }
      ],
      "maritalStatuses": [
        {
          "maritalStatus": "M"
        }
      ],
      "communicationLanguages": [
        {
          "language": "en",
          "preferred": true
        }
      ],
      "qualifications": [
        {
          "type": "qualification",
          "qualification": "MBA",
          "status": "active",
          "issuer": "Westbridge University",
          "issueDate": "2010-05-22",
          "validFrom": "2010-05-22",
          "validTo": "2030-05-22"
        }
      ],
      "consents": [
        {
          "name": "Data Sharing Consent",
          "type": "hcd",
          "status": "active",
          "isRequired": true,
          "decision": "permit",
          "validFrom": "2019-01-01",
          "validTo": "2029-01-01",
          "source": "participant",
          "regulatoryBasis": "hipaa-restrictions"
        }
      ],
      "preferences": [
        {
          "name": "SMS Alerts",
          "type": "SMS",
          "channels": [
            {
              "type": "SMSWRIT",
              "isOptedIn": true,
              "lastOptedInDate": "2025-07-01",
              "frequency": "monthly",
              "preferredStartTime": "09:00",
              "preferredEndTime": "21:00"
            }
          ]
        }
      ]
    }
  }'

Responses

OK

Bodyapplication/json
auditIdstring
successboolean
warningsArray of strings
retryableErrorboolean
messagestring
contentobject(PostIdentityWsResponse)

PostIdentity service response

errorsArray of strings
trackingIdstring
Response
{ "auditId": "string", "success": true, "warnings": [ "string" ], "retryableError": true, "message": "string", "content": { "identityGroupedBySource": [ … ], "linkIdentity": { … }, "linkId": "String", "identity": "Identity", "domains": [ … ], "customizedIdentitiesWithSource": { … }, "customizedIdentities": { … }, "vinIds": [ … ], "events": [ … ], "incomingIdentity": { … }, "enrichedDetails": "EnrichedDetails" }, "errors": [ "string" ], "trackingId": "string" }