A site’s journey
const url = 'https://api.proxymail.qa/v1/journeys?phase=after_signup&country_unknown=1&age_unknown=1';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/journeys?phase=after_signup&country_unknown=1&age_unknown=1' \ --header 'Authorization: Bearer <token>'A site’s journey, as the Journeys page draws it: the emails the project’s test accounts got from it, in order, combined into one map. Each step has how many accounts got it out of how many, the wait before it, who got it by country and age band, which accounts are still due and which did not get it, and its warnings; where accounts got different emails, a split names each path, with the query that shows it alone. It starts with the page’s sentence and gives a link that opens the page on the same view. Steps are named by kind, sender and key, never by subject, in the sentence too. The filter is the page’s: the same names as its address. In Labs: answers 403 until the key’s creator switches on Journeys in Account settings → Labs. See https://proxymail.qa/docs/rest-api#journeys.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”The journey: a site’s host, or sender: and a domain, such as sender:acme.dev, for accounts with no site. Defaults to the first in journeys.
Only this phase’s steps. The sentence and the counts stay whole.
Accounts in any of these countries, comma-separated: GB,DE.
Accounts with no country.
Accounts in any of these age bands today, comma-separated: under-18, 18-24, 25-34, 35-44, 45-54, 55-plus.
Accounts with no date of birth.
Accounts with any one of these tags, comma-separated. A comma inside a tag is %2C before the query is URL-encoded, so %252C in the URL.
One account’s own journey (capitals and a +tag name the same account): the other filters are then ignored.
Accounts that got every one of these steps, by key, comma-separated.
Accounts that got none of these steps, by key, comma-separated.
Responses
Section titled “Responses”The journey
object
The page’s sentence: “Showing 2 of 7 test accounts on staging.example.com: Country: DE.” A step in it is named by kind, sender and key, not by subject.
What to know first, such as a filter value left off.
Opens the Journeys page on this view.
The key of the journey shown.
The site’s host, or the sender’s name.
The project’s journeys: sites first, then senders of accounts with no site.
object
object
Emails the accounts shown got.
The 5,000-email limit left the oldest mail out, so did_not_get is null.
Filter values this journey doesn’t have, left off.
What can be asked for, each with how many accounts it would show. Accounts with no country or no date of birth are under country_unknown and age_unknown, the parameters that ask for them, only while there are some.
object
object
object
object
object
object
object
Where its walk-throughs start: “7 accounts made”.
In order. A step (type “step”) has key, kind, kind_name, sender, got, of, wait (ms, kind, all_ms, range_ms, from), countries, age_bands, still_due, did_not_get (null where it can’t be said), warnings and emails (id, address, received_at). A split (type “split”) has by and paths, each with label, accounts, query (this endpoint’s query string that shows the path alone), filter (the same as arguments: lists and true flags, as npm’s and Python’s journey() take them) and its steps.
object
object
Example
{ "by": "site", "journeys": [ { "by": "site" } ], "phases": [ { "phase": "after_signup", "steps": [ { "type": "step" } ] } ]}An error
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"}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.
An error
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"}An error
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"}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.