how to write token {{my.tokens}} directly via API | Community
Skip to main content
New Participant
June 20, 2024
Question

how to write token {{my.tokens}} directly via API

  • June 20, 2024
  • 1 reply
  • 662 views

I would like to create write token via API, but what should i write on the value? Below is the body of create token api - /rest/asset/v1/folder/{folderID}/tokens.json

{ "name": "My Token", "type": "script block", "value":?????????????, "folderType": "Program" }

https://developers.marketo.com/rest-api/assets/tokens/

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
New Participant
June 20, 2024

Writing Email Script type {{my.tokens}} is not officially supported. You may inspect the Get Token response for clues about the format, but do not expect it to continue to work.