Email link and publish

Check for unpublished changes

Changed on

Check whether a linked email, or any of its translations, has content changes that haven't been published yet. Use this to decide whether you need to publish before changes go live.

Returns false for emails that aren't linked to a workflow or that have no pending changes.

get/v1/design_studio/emails/{id}/unpublished_changes

Request

  • Base URL
    https://api.customer.io
  • URL
    https://api.customer.io/v1/design_studio/emails/{id}/unpublished_changes
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

The id of the email. If your email has multiple languages, you must provide the ID of the default language template. This links the workflow to all of the language variants for the template.

Response

Returns whether the email has unpublished changes.

has_unpublished_changesboolean

Indicates whether the email or any of its translations has content changes that haven't been published.

Example response

{
  "has_unpublished_changes": true
}

Changes

    • info

      the endpoint scheme security Bearer-Auth was added to the API

    • info

      api tag Email link and publish added

    • info

      api tag Design Studio emails removed

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status