MergeTags
Create a merge tag
Create a merge tag. Requires permission to manage merge tags.
post/merge-tags
Request
- Base URLhttps://enterprise.knak.io/api/published/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
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
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.