Create contact identifier

Create contact identifier

post
/workspaces/{workspaceId}/contacts/{contactId}/identifiers

This endpoint is used to create a new identifier for a contact. The identifier will be added to the contact and can be used for different purposes such as targeting, mapping, and more.

Authorizations
AuthorizationstringRequired

An access token issued to a user.

Path parameters
workspaceIdstring · uuidRequired

Your workspace identifier.

Example: b4e02c85-c6d2-4b15-8885-e09671799c61
contactIdstringRequired

The ID of a contact.

Example: b4e02c85-c6d2-4b15-8885-e09671799c61
Body
keystring · min: 1 · max: 64Required

The identifier key.

Example: secondaryEmailAddress
valuestring · min: 1 · max: 500Required

The identifier value.

Example: [email protected]
Responses
post
/workspaces/{workspaceId}/contacts/{contactId}/identifiers

Examples

Let's establish some of our data that will be used in the following examples:

  • Workspace ID: a1405560-c8d3-4b1a-877d-3f449ad95352

  • AccessKey: abcd

  • Contact ID: 12bd0e40-9361-4e32-8b26-99b4ab7eae09

Create an identifier without properties

In this example, we're creating an identifier without custom properties.

Create an identifier with properties

In this example, we're creating an identifier with custom properties.

Last updated

Was this helpful?