Skip to content

Get Test Content

Request

Gets HTML content of the passed test.

Security
basicAuth
Path
test_idstringrequired

Test to get the content of

contentstringrequired

Content to get: inlinecss or textonly

curl -i -X GET \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v1/preview/tests/{test_id}/content/{content}'

Responses

A 200 response

Bodyapplication/json
contentstringrequired
Response
{ "content": "string" }