The key's project, its mail domains and limits
const url = 'https://api.proxymail.qa/v1/project';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/project \ --header 'Authorization: Bearer <token>'Includes addresses: how many addresses the project’s space has used and may still create. Free has 500 in total and up to 50 a day; Team has no limit (limit and per_day_limit are null). Creating an address past the 500 answers 402 plan_required, and past the day’s limit 429 daily_limit (account_held while a Free account is held to 10 a day).
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The project
object
New addresses a day; null when there is no daily limit.
What the project tests (Project settings → What you test).
Whether the project’s spam checks are on: the inbox score (spam_risk) and harmful_attachment.
Which fields nobody taught get a guess from form-values: every field (the default), required fields only, or none.
The standard fields turned off (PATCH /v1/project/standard-fields): each box is left empty, unless a custom field that is on fills it.
True when the five ID and tax number ready-made custom fields are all there, for every site, and on (GET /v1/project/custom-fields lists them).
Only the project’s leads change its sites and custom fields; others ask a lead.
How many custom fields the project has (GET /v1/project/custom-fields lists them).
The sites set to “Sign-up goes over several screens”, where Proxy Mail QA for Chrome 0.9.0 and later fills each screen by itself.
object
True on Free.
Addresses created while the space was on Free, counted from when the 500 limit began.
500 on Free; null for no limit.
Addresses created today (UTC).
Example
{ "areas": [ "signup" ], "fill_unknown_fields": "all", "standard_fields_off": [ "company" ]}No API key, or one that isn’t valid: it may have been revoked, or its creator no longer has access to the project.
object
What went wrong, as a code, such as bad_request (400), unauthorized (401), plan_required (402), forbidden (403), not_found (404), method_not_allowed (405), conflict (409), content_too_large (413), rate_limited, daily_limit or account_held (429), or server_error (500).
What went wrong and what to do, in words.
Example generated
{ "error": "example", "message": "example"}Headers
Section titled “Headers”Bearer realm="proxymail-qa", with error="invalid_token" when a key was sent but isn’t valid.
Too many requests. With a Retry-After header, a per-minute limit was reached: the key’s requests (60 a minute on Free, 600 on Team), password reveals (30 a minute per person), or keys that aren’t valid from one network (120 a minute). Without one, error says which longer limit: daily_limit, the space’s new addresses for today (50 on Free), until midnight UTC; account_held, 10 addresses a day while a Free account’s recent use is looked at; or rate_limited when something is full, such as a project’s 50 custom fields.
object
What went wrong, as a code, such as bad_request (400), unauthorized (401), plan_required (402), forbidden (403), not_found (404), method_not_allowed (405), conflict (409), content_too_large (413), rate_limited, daily_limit or account_held (429), or server_error (500).
What went wrong and what to do, in words.
Example generated
{ "error": "example", "message": "example"}Headers
Section titled “Headers”Seconds to wait before trying again. Sent with per-minute limits only.