Email Template Count Different in UI When Compared to REST API Count | Community
Skip to main content
Level 1
March 1, 2024

Email Template Count Different in UI When Compared to REST API Count

  • March 1, 2024
  • 0 replies
  • 811 views

Issue

When using the [mktorest.com/rest/asset/v1/emailTemplates.json] end-point to pull all Email templates, the COUNT is much less than what is shown in Marketo's Design Studio Global Search.

 


Solution

This is the expected behavior. When viewing the total count of Email templates in the Design Studio UI, it will count EACH shared template that is shared across other workspaces, counting the same template multiple times depending on how many workspaces it's shared to.

However, when retrieving the Email Templates from the REST API, it will only return DISTINCT Email Template ID's from the originating shared workspace where the template resides. It will not return the templates from the shared workspaces.

Root Cause

REST API Expected Behavior

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.