Forum Discussion

rwm's avatar
rwm
Advisor
9 years ago

User macros data

Is there a way to fetch a specific user macro title and body with REST or aother way?    I've searched all around but cannot find any information about user macros in the API docs, user resource or profile descriptions, forums, or anywhere.   Where is this data stored and how do I get to it?

 

 

  • rwm yes we can access users macros using api call.

      Macro title =   restapi/vc/users/id/[user_id]/profiles/name/macro_1_title
      Macro value = restapi/vc/users/id/[user_id]/profiles/name/macro_1

    If my post is helpful and answers your question, please give "Kudos" and "Accept it as a Solution".

    • rwm's avatar
      rwm
      Advisor

      I mean the user macros under My Settings/Macros tab.    I would expect to find them in user settings rather that the profile, but the point is I don't see them anywhere - not in '/user/id/xxxx/settings' REST calls or related queries.    Just wondering if they can be accessed via REST?

      • rwm yes we can access users macros using api call.

          Macro title =   restapi/vc/users/id/[user_id]/profiles/name/macro_1_title
          Macro value = restapi/vc/users/id/[user_id]/profiles/name/macro_1

        If my post is helpful and answers your question, please give "Kudos" and "Accept it as a Solution".