Forum Discussion

fuenteso's avatar
fuenteso
Leader
10 years ago
Solved

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!

3 Replies

  • larspa's avatar
    larspa
    Contributor
    9 years ago

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

  • fuenteso's avatar
    fuenteso
    Leader
    9 years ago

    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 :)