Download quarantined email request

Prev Next

Downloads the email file present in the quarantine for the given Email Security — Cloud message ID.

GET https://<etp_instance_addr>/api/v1/quarantine/email/<id>

GET https://<etp_instance_addr>/api/v1/quarantine/email/<id>?traffic_type=outbound

Required header:

x-fireeye-api-key: <key>—Specifies your personal API key.

Options

  • id—(string) The message ID logged when an email is delivered from the Email Security — Cloud stack.

  • traffic_type—(Inbound or outbound) Traffic type defaults to inbound. To handle outbound traffic, set the traffic_type parameter to outbound.

Example of an inbound request

Values for ID and other fields are for illustration purposes only.

GET https://etp.us.fireeye.com/api/v1/quarantine/email/6B6C557623E5BACB5ed800712

Example of an outbound request

Values for ID and other fields are for illustration purposes only.

GET https://etp.us.fireeye.com/api/v1/quarantine/email/642503872A66FECF53100484e?traffic_type=outbound

Download quarantined email response

email.txt

cURL code example: download quarantined email

curl -X GET -H "x-fireeye-api-key: xxxxxxxxxxxxxxxx" https://etp.us.fireeye.com/api/v1/quarantine/email/6B6C557623E5BACB5ed800712

This cURL sample includes the following options:

  • -X GET—This option changes the HTTP method to GET.

  • -H 'x-fireeye-api-key: xxxxxxxxxxxxxxx'—This header specifies your personal API key.

  • https://etp.us.fireeye.com/v1/quarantine/email/6B6C557623E5BACB5ed800712—The quarantine request URL. Replace etp.us.fireeye.com with the address of your Email Security — Cloud instance, and 6B6C557623E5BACB5ed800712 with your message ID.