Skip to main content
Answered

Is there a way to add a custom_attribute to conversation via API ?


I want to add a custom_attribute to conversation via API, But not able to add custom_attribute to conversation

Best answer by Racheal

Hey @abdul r​ Racheal from the Support Engineer team here👋🏼

 

Are you looking to add a custom conversation attribute? If so, at the moment conversations attributes cannot be set via the REST API. I can see how it would be nice to have the option so I'd be happy to pass this on as a feature request for the product team for you!

 

Hopefully we see the option to set those programmatically in the future!

View original
Did this topic help you find an answer to your question?

2 replies

Racheal
Intercom Team
Forum|alt.badge.img+5
  • Customer Support Engineer
  • 512 replies
  • Answer
  • August 23, 2022

Hey @abdul r​ Racheal from the Support Engineer team here👋🏼

 

Are you looking to add a custom conversation attribute? If so, at the moment conversations attributes cannot be set via the REST API. I can see how it would be nice to have the option so I'd be happy to pass this on as a feature request for the product team for you!

 

Hopefully we see the option to set those programmatically in the future!


man if you love frustration, the intercom API is just the thing for you!

 

this endpoint: https://developers.intercom.com/docs/references/rest-api/api.intercom.io/data-attributes/lisdataattributes

 

documents that `Conversation` is one of the available `types` when *listing* data attributes. however, it’s NOT an option when creating a data attribute. why not?! you can then, when updating a conversation via https://developers.intercom.com/docs/references/rest-api/api.intercom.io/conversations/updateconversation, send a `custom_attributes` parameter. but i guess you have to create the attributes by hand in the UI? the amount of half-broken crap and workarounds needed to integrate with your API is making me reconsider your product. after having invested weeks into *trying* to integrate it.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings