Hello,
We are experiencing an issue with the Lead Status property. The status “Presentation” in the UI is showing as “BD Not Interested” in the API. We are using Powerbi as a data visualization tool and Fivetran as the connector. We have already contacted the fivetran support team who came back with the following assessment : The Fivetran connector uses Hubspot API v1 for the contact endpoint. Both Hubspot API’s return the same value for the “hs_lead_status” property.
From the V3 request we can see “timestamp”: “2023-04-24T16:34:56.804Z”, for “value”: “BD Not Interested”. This is the same timestamp that is visible in the Hubspot UI screenshot (Timezone converted), indicating the UI is showing a different value than the API.
V1 Request: curl -X GET -H ‘Accept: application/json’ -H ‘Authorization: Bearer ****’ -A ‘Jersey/2.39’ ‘https://api.hubapi.com/contacts/v1/contact/vid/4048472/profile’
V3 Request:
curl -X GET -H ‘Accept: application/json’ -H ‘Authorization: Bearer ****’ -A ‘Jersey/2.39’ ‘https://api.hubapi.com/crm/v3/objects/contacts/4048472?properties=hs_lead_status&propertiesWithHistory=hs_lead_status’ > ~/Documents/Testing/v3_4048472.json
V1 output :
“hs_lead_status”: {
“value”: “BD Not Interested”,
“versions”: [
{
“value”: “BD Not Interested”,
“source-type”: “CRM_UI”,
“source-id”: “userId:47301717”,
“source-label”: null,
“updated-by-user-id”: 47301717,
“timestamp”: 1682354096804,
“selected”: false
},
{
“value”: “BD Did Not Reach”,
“source-type”: “CRM_UI”,
“source-id”: “userId:47301717”,
“source-label”: null,
“updated-by-user-id”: 47301717,
“timestamp”: 1679600097455,
“selected”: false
},
{
“value”: “NEW”,
“source-type”: “IMPORT”,
“source-id”: “32152315”,
“source-label”: null,
“updated-by-user-id”: 11278452,
“timestamp”: 1675384224884,
“selected”: false
}
]
}
V3 ouput :
{
“id”: “4048472”,
“properties”: {
“createdate”: “2023-02-03T00:30:24.884Z”,
“hs_lead_status”: “BD Not Interested”,
“hs_object_id”: “4048472”,
“lastmodifieddate”: “2023-05-30T19:28:09.789Z”
},
“propertiesWithHistory”: {
“hs_lead_status”: [
{
“value”: “BD Not Interested”,
“timestamp”: “2023-04-24T16:34:56.804Z”,
“sourceType”: “CRM_UI”,
“sourceId”: “userId:47301717”,
“updatedByUserId”: 47301717
},
{
“value”: “BD Did Not Reach”,
“timestamp”: “2023-03-23T19:34:57.455Z”,
“sourceType”: “CRM_UI”,
“sourceId”: “userId:47301717”,
“updatedByUserId”: 47301717
},
{
“value”: “NEW”,
“timestamp”: “2023-02-03T00:30:24.884Z”,
“sourceType”: “IMPORT”,
“sourceId”: “32152315”,
“updatedByUserId”: 11278452
}
]
},
“createdAt”: “2023-02-03T00:30:24.884Z”,
“updatedAt”: “2023-05-30T19:28:09.789Z”,
“archived”: false
}
We would gladly appreciate your assistance with this issue.
Thanks.
