Unusual versions of the address, for testing sign-up forms
const url = 'https://api.proxymail.qa/v1/addresses/k7f2x9ab12cd%40mailclub.dev/variants';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.proxymail.qa/v1/addresses/k7f2x9ab12cd%40mailclub.dev/variants \ --header 'Authorization: Bearer <token>'Variants of the address for checking that an app accepts valid but unusual email addresses and rejects invalid ones: delivered (capitals, plus tags with apostrophes and other special characters, the longest name allowed; mail to these arrives in this address’s inbox), undeliverable (valid by the standard but refused before they arrive) and invalid. See https://proxymail.qa/docs/unusual-addresses.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The test address, URL-encoded. A variant also works: capitals, or a +tag (k7f2x9ab12cd+o’brien@mailclub.dev). It acts on the plain address; waiting on a +tag variant, or listing its messages, only finds mail sent to that variant.
Example
k7f2x9ab12cd@mailclub.devResponses
Section titled “Responses”The variants
object
The plain address.
object
What the variant checks, e.g. “An apostrophe”.
object
What the variant checks, e.g. “An apostrophe”.
object
What the variant checks, e.g. “An apostrophe”.
Example generated
{ "address": "example", "delivered": [ { "tests": "example", "address": "example" } ], "undeliverable": [ { "tests": "example", "address": "example" } ], "invalid": [ { "tests": "example", "address": "example" } ]}An error
object
Example generated
{ "error": "example", "message": "example"}