APIs & Integrations

Shakil
Participant

What is 'identity-profiles' in contact

SOLVE

Hi,

When sending a get request for Get a contact record by its vid I am getting details of the contact. Inside the API response, I found a field 'identity-profiles' and its have a property 'identities'. My question is what exactly identity-profiles is? What is identities type stand for? What are the type LEAD_GUID, TAG_ID etc? Is there any documentation out there!

Thanks a lot in advance.

0 Upvotes
1 Accepted solution
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

What is 'identity-profiles' in contact

SOLVE

Hi @Shakil,

The identity-profiles array contains a record's merge history. See detailed definitions on the Contacts API Overview page.

Below is an example from my portal, where record 96651 with the email timewizard@hubspot.com was merged into record 96601 with the email babydragon@hubspot.com:

"identity-profiles": [
        {
            "vid": 96601,
            "saved-at-timestamp": 1537984282188,
            "deleted-changed-timestamp": 0,
            "identities": [
                {
                    "type": "EMAIL",
                    "value": "babydragon@hubspot.com",
                    "timestamp": 1537984106012,
                    "is-primary": true
                },
                {
                    "type": "LEAD_GUID",
                    "value": "b7125d6f-f0e9-4ad4-a126-75fb072e40c6",
                    "timestamp": 1537984106035
                },
                {
                    "type": "EMAIL",
                    "value": "timewizard@hubspot.com",
                    "timestamp": 1537984127210,
                    "is-secondary": true
                }
            ]
        },
        {
            "vid": 96651,
            "saved-at-timestamp": 1537984282339,
            "deleted-changed-timestamp": 0,
            "identities": [
                {
                    "type": "LEAD_GUID",
                    "value": "c92d5b73-1bae-4beb-89c5-e76aa385669b",
                    "timestamp": 1537984127231
                }
            ]
        }
    ]

Isaac Takushi

Associate Certification Manager

View solution in original post

2 Replies 2
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

What is 'identity-profiles' in contact

SOLVE

Hi @Shakil,

The identity-profiles array contains a record's merge history. See detailed definitions on the Contacts API Overview page.

Below is an example from my portal, where record 96651 with the email timewizard@hubspot.com was merged into record 96601 with the email babydragon@hubspot.com:

"identity-profiles": [
        {
            "vid": 96601,
            "saved-at-timestamp": 1537984282188,
            "deleted-changed-timestamp": 0,
            "identities": [
                {
                    "type": "EMAIL",
                    "value": "babydragon@hubspot.com",
                    "timestamp": 1537984106012,
                    "is-primary": true
                },
                {
                    "type": "LEAD_GUID",
                    "value": "b7125d6f-f0e9-4ad4-a126-75fb072e40c6",
                    "timestamp": 1537984106035
                },
                {
                    "type": "EMAIL",
                    "value": "timewizard@hubspot.com",
                    "timestamp": 1537984127210,
                    "is-secondary": true
                }
            ]
        },
        {
            "vid": 96651,
            "saved-at-timestamp": 1537984282339,
            "deleted-changed-timestamp": 0,
            "identities": [
                {
                    "type": "LEAD_GUID",
                    "value": "c92d5b73-1bae-4beb-89c5-e76aa385669b",
                    "timestamp": 1537984127231
                }
            ]
        }
    ]

Isaac Takushi

Associate Certification Manager
snehamaikama
Member

What is 'identity-profiles' in contact

SOLVE

Could you exactly explain what type": "LEAD_GUID", "value": "b7125d6f-f0e9-4ad4-a126-75fb072e40c6" is meant? is it lifecycle stage or lead status?

 

If not, could you let me know if we can get the lifecycle stage or lead status through HubSpot contact API?

0 Upvotes