Update preview text through PATCH /marketing/v3/emails/{emailId}

I found out, that you can update the preview text of a marketing email with the PATCH /marketing/v3/emails/{emailId} endpoint.

PATCH https://api.hubapi.com/marketing/v3/emails/{emailId}

The payload looks like this:

{...'subject': 'My super subject name','content': { 'widgets': { 'preview_text': { 'body': { 'value': 'My preview text' } } }},...}

It works perfectly but it is not documented AFAIK. Can I build my software on top of it or may this be removed at some point?

Hey @unnu I can’t say for sure if this will be removed or not. It’s totally possible that this just hasn’t been documented yet, but in general if something isn’t documented I wouldn’t build too much upon it as it’s likely an unsupported method that hasn’t been scoped properly yet. The only official support for this is by posting and creating a new email.