Creating and Updating Tokens Via API

Tokens in Marketo make program and asset builds more efficient. However, manually updating tokens can be time-consuming, especially in program templates. Fortunately, Marketo’s Create Token API endpoint allows for easy creation and updating of tokens through API calls, saving you from repetitive tasks.

Create Token Endpoint

This endpoint requires four key pieces of information:

Screenshot of creating tokens in Marketo API via Postman

Token Types

Here are the main token types you can use:

Create a Spreadsheet

To streamline data entry, create a spreadsheet for token values with columns for Folder ID, Token Name, Token Type, and Token Value. Once populated, save this file as a CSV for easy upload to Postman.

Using Postman Runner

In Postman, click the "Run" button on your Marketo collection, deselect all endpoints except the create token endpoint, and upload your CSV file. Click "Run" to update all tokens without manual entry.