Basic information

API requests are made at the following address:
https://quix.email/api/v1/<API_KEY>/<METHOD>

Where:
API_KEY - API access key, which you can get on the Profile page.
METHOD - API method name. The list of available methods is presented below.

The response content will be in JSON format with the following fields:

NameTypeDescription
successboolWhether the request was successful. If false, the error field will be present, but the result will be absent, and vice versa.
errorstringError text.
resultmixedResponse Contents (response fields).

You can restrict access to the API with your key by IP. To do this, go to Profile, specify from which IP addresses access will be allowed, enter the password for the account and click the "Change allowed IP addresses" button.

Get account balance

GET
http://quix.email/api/v1/<API_KEY>/accountBalance

Response fields

NameTypeDescription
balancefloatYour account balance in USD.

Get domains list. Returns an array

GET
http://quix.email/api/v1/<API_KEY>/emailDomains

Request parameters

NameTypeRequiredDescription
infoboolfalseWhether to also return information about the number and cost of mail. If true, each element of the returned array will contain the response fields described below. Otherwise (false) - each element of the returned array will contain only a string with the domain. Default - true.
sitestringfalseShow available quantity for this site only. Also need to pass info=true.

Response fields

NameTypeDescription
domainstringEmail domain.
quantityintAvailable quantity.
pricefloatCost of one mail.
customUsernameboolWhether custom usernames available for this email domain.

Activation. Order

GET
http://quix.email/api/v1/<API_KEY>/emailGet

Request parameters

NameTypeRequiredDescription
sitestringtrueThe domain of the site from which the email will be sent.
domainstringtrueEmail domain. Can be:
any domain from the emailDomains request;
all - all available domains;
quixemail - ouw domains (customUsername=true);
own - domains added by you.
You can specify multiple values ​​by separating them with a comma, for example: gmx.com,gmail.com,own
usernamestringfalseCustomize username. Available only for our email domains (see emailDomains request). Ignored if own is passed in domain.

Response fields

NameTypeDescription
idstringActivation ID.
emailstringEmail you can use.
sitestringThe domain from which the email will be expected.

Activation. Get status and email content (if any)

GET
http://quix.email/api/v1/<API_KEY>/emailStatus

Request parameters

NameTypeRequiredDescription
idstringtrueActivation ID.
htmlboolfalseThis parameter is not used.

Response fields

NameTypeDescription
idstringActivation ID.
emailstringEmail you can use.
statusstringActivation status, one of:
- completed
- cancelled
- no_email.
datastringContents of the email. Available with completed status.
parsedstringParsed activation code or link.

Activation. Code

GET
http://quix.email/api/v1/<API_KEY>/emailCode

Request parameters

NameTypeRequiredDescription
idstringtrueActivation ID.

Response fields

NameTypeDescription
codestringActivation code or link that was parsed from the letter.

Activation. Complete

GET
http://quix.email/api/v1/<API_KEY>/emailComplete

Request parameters

NameTypeRequiredDescription
idstringtrueActivation ID.

Response fields

NameTypeDescription
completedboolWhether the activation successfully completed.

Activation. Cancel

GET
http://quix.email/api/v1/<API_KEY>/emailCancel

Request parameters

NameTypeRequiredDescription
idstringtrueActivation ID.

Response fields

NameTypeDescription
cancelledboolWhether the cancellation performed.

Activation. Repeat

GET
http://quix.email/api/v1/<API_KEY>/emailRepeat

Request parameters

NameTypeRequiredDescription
idstringtrueActivation ID, email and domain which must be reused.

Response fields

NameTypeDescription
idstringNew activation ID.
emailstringEmail you can use.
sitestringThe domain from which the email will be expected.

Rent. Order

GET
http://quix.email/api/v1/<API_KEY>/rentOrder

Request parameters

NameTypeRequiredDescription
domainstringtrueEmail domain.
usernamestringfalseEmail username. Available only for email domains with customUsername=true.

Response fields

NameTypeDescription
idstringRent ID.
emailstringEmail for use.
expireintNumber of seconds before rent expires.

Rent. Get information

GET
http://quix.email/api/v1/<API_KEY>/rentInfo

Request parameters

NameTypeRequiredDescription
idstringtrueRent ID.

Response fields

NameTypeDescription
idstringRent ID.
emailstringEmail for use.
expireintNumber of seconds before rent expires. It may be negative.
expiredboolWhether the rental period ended.

Rent. Receive letters. Returns array

GET
http://quix.email/api/v1/<API_KEY>/rentLetters

Request parameters

NameTypeRequiredDescription
idstringtrueRent ID.
htmlboolfalseThis parameter is not used.

Response fields

NameTypeDescription
fromstringSender's email.
subjectstringSubject of the letter.
datastringContents of the letter.

Rent. Repeat

GET
http://quix.email/api/v1/<API_KEY>/rentReorder

Request parameters

NameTypeRequiredDescription
idstringtrueRent ID.

Response fields

NameTypeDescription
idstringnew rent ID.
emailstringEmail for use.
expireintNumber of seconds before rent expires.

Rent. Extend

GET
http://quix.email/api/v1/<API_KEY>/rentExtend

Request parameters

NameTypeRequiredDescription
idstringtrueRent ID.
daysinttrueNumber of days. From 1 to 7.

Response fields

NameTypeDescription
boolWhether the rent extended.