MergeTags

Create a merge tag

Create a merge tag. Requires permission to manage merge tags.

post/merge-tags

Request

Request body

namestring required
platform_idstring required
merge_tag_valuestring required
descriptionstring
is_special_linkboolean
velocity_script_tokenstring

Example request

{
  "name": "Lead First Name",
  "platform_id": "marketo",
  "merge_tag_value": "{{lead.firstName}}",
  "description": "The first name of the lead in Marketo",
  "velocity_script_token": "${lead.firstName}"
}

Response

OK

typestring
idstring

Example response

{
  "type": "merge-tag",
  "id": "609d7ce223411",
  "attributes": {
    "id": "609d7ce223411",
    "name": "City",
    "description": "The target city of the marketing campaign",
    "platform_id": "marketo",
    "merge_tag_value": "{{lead.City}}",
    "velocity_script_token": "${lead.City}",
    "knak_tag": "{{!City.knakTagId:609d7ce223411!}}"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.