Forum Discussion

fuenteso's avatar
fuenteso
Leader
10 years ago

Retrieve custom fields on messages using the API

Hi,

 

We have a couple of custom fields on our messages that were created by Lithium's professional services.

 

Is there a way to retrieve the content on those custom fields using the API?

 

Thanks!

    • larspa's avatar
      larspa
      Contributor

      I have the same challenge. Can you share, what was the answer to this?

      • fuenteso's avatar
        fuenteso
        Leader

        Hi,

         

        I contacted Lithium Support and they told me to use this API call:

         

        <community url>/restapi/vc/messages/id/<message id>/metadata/key/<custom field name>

         

        Hope that helps :)