messages

Follow an extracted link server-side

GETs one of the message's extracted links (default: the first verify-classed link), following up to 5 redirects with every hop re-validated against the SSRF guard (https-only, public hosts; 5 s per hop, 15 s total). The target's body is never returned. The final hop's HTTP status is reported in the outcome, not judged — a remote 500 is still a 200 here with status: 500.

post/v1/messages/{id}/links/follow

Request

  • Base URL: https://api.mailfixture.com
  • URL: https://api.mailfixture.com/v1/messages/{id}/links/follow
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Message id.

Request body

class'verify' | 'reset' | 'unsubscribe' | 'other'

First link of this class.

indexinteger

Zero-based index into the extracted links.

urlstring

Exact match against a URL in the extracted links.

Response

The follow outcome.

final_urlstring required

URL of the final, non-redirect response.

okboolean required

True when status is 2xx.

redirectsinteger required

Redirect hops followed (max 5).

requested_urlstring required
statusinteger required

HTTP status of the final response — reported, not judged.

Changes

No recorded changes to this operation across all 1 revision of this API.