1 Reply Latest reply on Sep 5, 2016 9:01 PM by Takehiro Masaki

    how to get tokens by folder id

    Chethan D1

      I am trying http://developers.marketo.com/documentation/asset-api/get-tokens-by-folder-id/  Get Tokens by Folder id REST API of Marketo. For this i need to give the folder id which i am getting from Get Folder by Name » Marketo Developers  - Get Folder by Name.

       

       

      The issue here is i got the folder id as 19 from Get Folder by Name REST API but when i try this providing the id in the first REST api - get tokens by folder id, the response is following ,

       

       

       

      {"success":true,"warnings":[],"errors":[],"requestId":"53#156f9f71d90","result":[{"folder":{"type":"Folder","value":19},"tokens":[]}]}

       

       

       

      I don get any tokens. But there are tokens in the folder 19. When i click on the folder in the Marketing activities and navigate and see My Tokens tab I see two tokens under local tab. Should i do something to make this API work ?