Get user friendly label for Persona when calling Contacts API

contacts

#1

When calling contacts API /contacts/v1/lists/all/contacts/all, it returns the following persona property value. It only contains personal internal value (e.g., ‘persona_2’), which is not as user friendly. How to get the user friendly persona name (e.g., ‘Marketing VP of a mid-size company’)? I can’t seem to find any API for that. Please advise. Thanks!

    "hs_persona": {
      "value": "persona_2"
    }

#2

Hi @coffeeocean,

The contacts API will always return the internal value for a property (including the persona property). Since the property label values change infrequently, you should pull the property values/labels using the contact properties API and store that in order to reference the property labels.