Retrieve Message Contents

Returns the most recent (up to 100) resources available to compose a message from. Use this to pick a resource_id before calling GET /messages/contents/{resource_id} (retrieveMessageContent) to render the final HTML. The content type depends on message_type: email-article returns articles from publication_id; email-promo and email-renewal return lift letters from promoted_publication_id. This endpoint does NOT apply to email-free-style — those messages have no resource and are composed from a template only via GET /templates (retrieveTemplates).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
integer
required

The message type ID. Must resolve to email-article (returns articles), email-promo, or email-renewal (both return lift letters). email-free-style is not supported here.

integer
required

The publication the message is being sent from. Articles are filtered by this publication for email-article.

integer

The promoted publication ID. Required for email-promo and email-renewal (lift letters are pulled from this publication).

Responses

400

Unknown or unsupported message_type_id for this endpoint.

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Choose an example:
application/json