Skip to main content

With the API or from the UI, I can create custom data attributes. These attributes can have one of string, integer, float, boolean, or date values. However, I need to store a list of values in a field.

 

For example, a user (contact) can be in many teams at once in our system. But with the above model, I can only have one team at a time.

 

What are the possible ways to implement the above functionality with the API/SDK? Should I use tags, or something else?

 

Thanks in advance.

Hey @wickramaranga​! Daniel from Customer Support Engineering here 🔧 

 

We do not currently support list data types for custom attributes. It might be worth creating a tag for each "team", so that you can then apply a tag to the user for each team they are in. You could even automatically create the tag using our Create or update a tag endpoint. You can have unlimited tags, and I believe there's no limit on the number of tags a user can have.

 

Hope this helps 😊


I tried creating tags for teams like "team:teamId" so we can kind of put them into namespaces and it works.

 

Thank you very much.


Reply