Download Action Artifact
Download the generated RFC 822 email for a send action.
Download the email generated for a send action. reply, arf, and ooo artifacts are the complete RFC 822 .eml messages Maileroo generated and sent, addressed to the action's to address. These responses use Content-Type: message/rfc822.
An unsubscribe artifact is available only when the message's List-Unsubscribe header used a mailto: address; it is the unsubscribe email sent to that address. HTTP and one-click unsubscribes have no artifact. open, click, and release actions do not produce artifacts, so this endpoint returns 404; see the action's results and detail in Get Action instead.
Maileroo generates the .eml before sending it, so a send action with failed status can still have an artifact. The same artifact is also available through the short-lived signed artifact_url on Get Action and List Actions.
Scope: email_testing.messages.read
Path Parameters
idstringrequiredThe ID of the simulated action, for example 2a8e74f9-aac3-43e8-855a-0b3d61e85744. It is the id returned when you run an action, and is also listed by List Actions and sent as action_id in the action.completed webhook.
Sample Request
curl "https://api.maileroo.com/v1/email-testing/actions/7c9e6679-7425-40de-944b-e07fc1f90ae7/artifact" \
-H "Authorization: Bearer roo_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Sample Response
The response body is the raw .eml bytes, not a JSON envelope.
HTTP/1.1 200 OK
Content-Type: message/rfc822
Content-Disposition: attachment; filename="artifact"From: [email protected]
To: [email protected]
Subject: Re: Verify account
Date: Wed, 01 Jan 2025 12:00:00 +0000
Message-ID: <[email protected]>
In-Reply-To: <[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
This is an automatic reply from the email testing service. The original message was received. This reply does not include the original content.Errors
404 Not Found— the action has no artifact, or the resource does not exist or is not owned by the account.