Check for unpublished changes
Changed onCheck 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.
Request
- Base URLhttps://api.customer.io
- URLhttps://api.customer.io/v1/design_studio/emails/{id}/unpublished_changes
- AuthHTTP bearer
Path parameters
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.
Example response
{
"has_unpublished_changes": true
}Changes
- info
the endpoint scheme security
Bearer-Authwas added to the API - info
api tag
Email link and publishadded - info
api tag
Design Studio emailsremoved
- info
- 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
- info