Skip to main content
Level 2
Jun 20, 2024 11:05 PM UTC
Question

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

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
User Group Leader
User Group Leader
Jun 20, 2024 11:13 PM UTC

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.

Translate