APIs & Integrations

Ssubana
Member

"hs_analytics_source" value is not set from API call

I am trying to create a company using API call by providing the values in the body as below

{
"properties": [
{
"name": "hs_analytics_source",
"value": "EMAIL_MARKETING"
},
{
"name": "name",
"value": "postman2"
},
{
"name": "is_public",
"value": "true"
},
{
"name": "description",
"value": "A company description"
}
]
}
when I login to hubspot for checking if the company is created with provided details the "hs_analytics_source" value is not been set can you provide proper way of setting the value for it using API call
 
Thanks
3 Replies 3
himanshurauthan
Thought Leader | Elite Partner
Thought Leader | Elite Partner

"hs_analytics_source" value is not set from API call

Hello @Ssubana,

 

So @TiphaineCuisset, I guess the problem here is that the property Original Source (hs_analytics_source) is provided by HubSpot and cannot be edited. New options can not be added to this field.

 

You can use a new custom property for adding up new sources options along with what HubSpot provides then, you have to sync the values of contacts into the new property.

 

Thanks

Digital Marketing & Inbound Expert In Growth Hacking Technology
Ssubana
Member

"hs_analytics_source" value is not set from API call

hi @himanshurauthan ,

 

Thanks for the reply.

But the Value I am provideing for the Original Source (hs_analytics_source) is provided by the Hubspot its not custom property, if i try to set value for Original Source (hs_analytics_source) in Hubspot UI its wroking fine

0 Upvotes
TiphaineCuisset
Community Manager
Community Manager

"hs_analytics_source" value is not set from API call

Hi @Ssubana 

 

Thank you for reaching out.

 

I want to tag some of our experts on this @himanshurauthan @miljkovicmisa @tjoyce do you know what could be happening here? 

 

Thank you!

Best

Tiphaine


Saviez vous que la Communauté est disponible en français?
Rejoignez les discussions francophones en changeant votre langue dans les paramètres !

Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !