Templates
TheTemplate
object is used to represent a template for a marketing asset in the remote system.The Template object
Properties
name
Stringtype
EnumEMAIL
, MESSAGE
, or - in cases where there is no clear mapping - the original value passed through.contents
Stringowner
Stringremote_created_at
Stringremote_updated_at
Stringid
Stringremote_id
String{"name": "Welcome Email Template","type": "Email","contents": "Welcome onboard! Stay connected and find out more.","owner": "3756cbc6-6040-430a-475r-aafacbadf4sd","remote_created_at": "2022-12-23T00:00:00Z","remote_updated_at": "2022-12-23T00:00:00Z","id": "4958cbc6-4874-430a-475r-aafacbadd5ty","remote_id": "40"}
/templates
Returns a list of Template
objects.
Header Parameters
Authorization
StringX-Account-Token
StringQuery & Path Parameters
created_after
Stringcreated_before
Stringcursor
Stringinclude_deleted_data
Booleaninclude_remote_data
Booleanmodified_after
Stringmodified_before
Stringpage_size
Integerremote_id
String{"next": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw","previous": "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ","results": [{"name": "Welcome Email Template","type": "Email","contents": "Welcome onboard! Stay connected and find out more.","owner": "3756cbc6-6040-430a-475r-aafacbadf4sd","remote_created_at": "2022-12-23T00:00:00Z","remote_updated_at": "2022-12-23T00:00:00Z","id": "4958cbc6-4874-430a-475r-aafacbadd5ty","remote_id": "40"}]}

ActiveCampaign
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
contents
Stringname
Stringowner
Stringremote_id
Stringremote_updated_at
String
Customer.io
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
contents
Stringname
Stringremote_created_at
Stringremote_id
Stringtype
Enum
Hubspot Marketing Hub
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
name
Stringremote_id
Stringremote_updated_at
Stringtype
Enum
Klaviyo
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
contents
Stringname
Stringremote_created_at
Stringremote_id
Stringremote_updated_at
String
Mailchimp
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
name
Stringremote_created_at
Stringremote_id
Stringremote_updated_at
Stringtype
Enum
Podium
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
contents
Stringname
Stringowner
Stringremote_created_at
Stringremote_id
Stringremote_updated_at
Stringtype
Enum
SendGrid
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
contents
Stringname
Stringowner
Stringremote_id
Stringremote_updated_at
Stringtype
Enum/templates
Creates a Template
object with the given values.
Header Parameters
Authorization
StringX-Account-Token
StringQuery & Path Parameters
is_debug_mode
Booleanrun_async
BooleanBody Parameters
model
ObjectModel Parameters
View app-specific writable fields under “Field support by platform” in this section.name
Stringtype
EnumEMAIL
, MESSAGE
.contents
Stringowner
Stringid
field in the Owner table.integration_params
Objectlinked_account_params
Object{"model": {"name": "Welcome Email Template","type": "Email","contents": "Welcome onboard! Stay connected and find out more.","owner": "3756cbc6-6040-430a-475r-aafacbadf4sd"}}
{"model": {"name": "Welcome Email Template","type": "Email","contents": "Welcome onboard! Stay connected and find out more.","owner": "3756cbc6-6040-430a-475r-aafacbadf4sd","remote_created_at": "2022-12-23T00:00:00Z","remote_updated_at": "2022-12-23T00:00:00Z","id": "4958cbc6-4874-430a-475r-aafacbadd5ty","remote_id": "40"},"warnings": [{"source": {"pointer": "/age"},"title": "Unrecognized Field","detail": "An unrecognized field, age, was passed in with request data.","problem_type": "UNRECOGNIZED_FIELD"}],"errors": [{"source": {"pointer": "/model/custom_fields"},"title": "Missing Required Field","detail": "custom_fields is a required field on model.","problem_type": "MISSING_REQUIRED_FIELD"}],"logs": [{"log_id": "99433219-8017-4acd-bb3c-ceb23d663832","dashboard_view": "https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832","log_summary": {"url": "https://harvest.greenhouse.io/v1/candidates/","method": "POST","status_code": 200}}]}

Mailchimp
Merge supports Passthrough Requests to this platform's API
Supported POST Model Parameters
name
Stringremote_created_at
Stringremote_id
Stringremote_updated_at
Stringtype
EnumAdditional POST Parameters
contents
String/templates/{id}
Returns a Template
object with the given id
.
Header Parameters
Authorization
StringX-Account-Token
StringQuery & Path Parameters
id
Stringinclude_remote_data
Boolean{"name": "Welcome Email Template","type": "Email","contents": "Welcome onboard! Stay connected and find out more.","owner": "3756cbc6-6040-430a-475r-aafacbadf4sd","remote_created_at": "2022-12-23T00:00:00Z","remote_updated_at": "2022-12-23T00:00:00Z","id": "4958cbc6-4874-430a-475r-aafacbadd5ty","remote_id": "40"}

ActiveCampaign
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
contents
Stringname
Stringowner
Stringremote_id
Stringremote_updated_at
String
Customer.io
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
contents
Stringname
Stringremote_created_at
Stringremote_id
Stringtype
Enum
Hubspot Marketing Hub
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
name
Stringremote_id
Stringremote_updated_at
Stringtype
Enum
Klaviyo
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
contents
Stringname
Stringremote_created_at
Stringremote_id
Stringremote_updated_at
String
Mailchimp
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
name
Stringremote_created_at
Stringremote_id
Stringremote_updated_at
Stringtype
Enum
Podium
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
contents
Stringname
Stringowner
Stringremote_created_at
Stringremote_id
Stringremote_updated_at
Stringtype
Enum
SendGrid
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
contents
Stringname
Stringowner
Stringremote_id
Stringremote_updated_at
Stringtype
Enum/templates/meta/post
Returns metadata for MKTGTemplate
POSTs.
Header Parameters
Authorization
StringX-Account-Token
String{"request_schema": {},"remote_field_classes": {},"status": {"linked_account_status": "string","can_make_request": true},"has_conditional_params": true,"has_required_linked_account_params": true}

ActiveCampaign
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
contents
Stringname
Stringowner
Stringremote_id
Stringremote_updated_at
String
Customer.io
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
contents
Stringname
Stringremote_created_at
Stringremote_id
Stringtype
Enum
Hubspot Marketing Hub
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
name
Stringremote_id
Stringremote_updated_at
Stringtype
Enum
Klaviyo
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
contents
Stringname
Stringremote_created_at
Stringremote_id
Stringremote_updated_at
String
Mailchimp
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
name
Stringremote_created_at
Stringremote_id
Stringremote_updated_at
Stringtype
Enum
Podium
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
contents
Stringname
Stringowner
Stringremote_created_at
Stringremote_id
Stringremote_updated_at
Stringtype
Enum
SendGrid
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
contents
Stringname
Stringowner
Stringremote_id
Stringremote_updated_at
Stringtype
Enum