Skip to content
POST
/v1/form-values
curl --request POST \
--url https://api.proxymail.qa/v1/form-values \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Proxy-Mail-QA-Test: sign-up%20%E2%80%BA%20sends%20one%20code' \
--data '{ "fields": [ { "id": "example", "type": "email", "test_id": "example", "html_id": "example", "name": "example", "label": "example", "placeholder": "DD/MM/YYYY", "autocomplete": "new-password", "group": "Date of birth", "pattern": "example", "min_length": 1, "max_length": 1, "min": 1, "max": 1, "step": 1, "required": true, "options": [ { "value": "example", "label": "example", "disabled": true } ], "multiple": true, "checked": true } ], "address": "example", "site": "staging.acme.dev", "environment": "staging", "page": "/signup", "screen": "Team details", "guess": "all", "kyc_sandbox": "stripe", "kyc_outcome": "pass", "label": "example", "age": "adult", "date_of_birth": "2026-04-15", "country": "example", "one_name": true, "domain": "example", "lifetime_days": 1 }'

What to type or pick in each field of a sign-up form, from a new test address made for it (201) or from one made earlier (address, 200). Send what the page says about each field: its type, name, label, placeholder, autocomplete, rules and a drop-down’s options. Each field gets a value: the email (and its confirmation), names, a username and a password that fit the field’s rules, the date of birth in the field’s format (or its day, month and year), and a country its drop-down offers. The project’s custom fields decide the fields they match (kind custom), and other fields get a guess from what they suggest (kind guess, as the project’s setting or guess says): check both before submitting. Fields never guessed (payment, phone and ID numbers, secrets, CAPTCHAs, consent boxes, uploads) get null and a note, unless a custom field fills them: every project has a ready-made Phone number (a number set aside for fiction, or the project’s own test number for the account’s country), and a lead can add ready-made ID and tax number fields. Send each screen’s fields as you reach it. What custom fields and guesses gave is kept on the address. A new address gets a date of birth when the form asks for one (adult unless age says otherwise) and a country the form offers; its password is saved on it and shown only in this answer. Proxy Mail QA never sees or fills in the page: you do.

Proxy-Mail-QA-Run
string format: uuid
<= 36 characters

A run’s id (POST /v1/runs): adds what this call saw to the run. If it can’t be added (the run finished, or isn’t in this project), the call still works and the Proxy-Mail-QA-Run-Warning response header says why.

Proxy-Mail-QA-Test
string
<= 600 characters

With Proxy-Mail-QA-Run: the test this call belongs to, percent-encoded (encodeURIComponent), up to 200 characters once decoded. The run’s report shows it beside what the call saw.

Example

sign-up%20%E2%80%BA%20sends%20one%20code
Media typeapplication/json
object
fields
required
Array<object>
>= 1 items <= 60 items
object
id

Your name for the field: it comes back with its value. Default: its position. Used to tell what the field is only when it has no name, label, placeholder or autocomplete.

string
<= 200 characters
type

The input type, select for a drop-down, textarea, or radio for a group of radio buttons (one field, with its options).

string
<= 30 characters

Example

email
test_id

Its data-testid (or data-test, data-test-id, data-cy, data-qa), which custom fields can match.

string
<= 200 characters
html_id

Its id attribute, which custom fields can match.

string
<= 200 characters
name
string
<= 200 characters
label
string
<= 300 characters
placeholder
string
<= 200 characters

Example

DD/MM/YYYY
autocomplete
string
<= 100 characters

Example

new-password
group

What the group around it says, or the question a group of tick boxes answers. Send each tick box as a field of its own.

string
<= 200 characters

Example

Date of birth
pattern
string
<= 500 characters
min_length
integer
<= 10000
max_length
integer
<= 10000
min

A number field’s minimum, or a date field’s earliest date (YYYY-MM-DD).

number | string
<= 10 characters
max

A number field’s maximum, or a date field’s latest date.

number | string
<= 10 characters
step
number
required

Whether the form requires it. Without it, a required asterisk or “(required)” in the label counts.

boolean
options
Array<object>
<= 400 items
object
value
required
string
<= 200 characters
label
string
<= 200 characters
disabled
boolean
multiple

A drop-down that takes several answers: <select multiple>, or a list the page draws itself, such as a box of chips, sent as a combobox or text field. Send multiple: true on those too. Its answer comes back in values, with value null, and only a custom field set to several options fills it.

boolean
checked

A checkbox: whether it is ticked as the page loads.

boolean
address

Use this address (made earlier) instead of making one, such as for the next screen of a sign-up. A password field there gets a new password, saved and returned once, only when the address has none saved; a saved one is not returned.

string
<= 254 characters
site

The site’s host, or the page’s address (which also gives page). Custom fields for one site apply only when it’s sent. A new address records it, as does an address made earlier that has no site yet.

string
<= 300 characters

Example

staging.acme.dev
environment

Which environment, such as staging, qa or local: recorded on a new address, and on one made earlier that has none yet.

string
<= 40 characters

Example

staging
page

The page’s path, such as /signup/team, or its address (which also gives site): custom fields for one page apply only when it’s sent, it tells a sign-in or password reset form from a sign-up, and on a sign-up its path is added to the site’s sign-up screens as suggested, unless the list is full (20), when nothing is added. For a native app’s screen, send screen instead.

string
<= 2000 characters

Example

/signup
screen

A native app screen’s name when the form isn’t a web page, such as Team details: it tells a sign-in or password reset screen from a sign-up, and on a sign-up it’s added to the site’s sign-up screens as suggested, or to the project’s app screens when no site matches, unless the list is full (20), when nothing is added. Send page for a web page instead; not both.

string
<= 80 characters

Example

Team details
guess

Which fields nobody taught get a guess in this call: every field, required fields only, or none. Default: the project’s setting.

string
Allowed values: all required off
kyc_sandbox

A KYC vendor whose sandbox values to use: a new address takes its names and date of birth, ID and business number fields get its values (kind sandbox; ID and tax number fields only where a ready-made custom field fills them), and kyc_sandbox in the answer lists them all. Only for that vendor’s test mode.

string
Allowed values: stripe plaid onfido veriff didit cashfree setu
kyc_outcome

With kyc_sandbox: the result the test wants.

string
default: pass
Allowed values: pass fail review
label
string
<= 80 characters
age

When the form asks for a date of birth and the address has none yet (always for a new one): the age. Default: adult.

string
Allowed values: adult over21 under18 under15 under13 any turns18tomorrow turned18today
date_of_birth
string format: date
<= 10 characters
country

When the form asks for a country and the address has none yet (always for a new one): where the persona lives; for a new address, JP, CN, IN, PK and ID also name it from that country’s lists. Default: one the form offers, which keeps the usual names.

string
<= 2 characters /^[A-Za-z]{2}$/
one_name

For a new address: true for a persona with one name and no family name.

boolean
domain
string
<= 253 characters
lifetime_days
integer
>= 1 <= 3650

Values from the address given

Media typeapplication/json
object
address
string
created

True when this call made the address.

boolean
persona
object
password

A password this call made and saved on the address: for a new address, or a sign-up screen that asks for one when the address has none. Shown only here.

string
values
Array<object>
object
id
string
kind

Last_name_reading, first_name_reading and full_name_reading: a name’s reading (furigana) in a Japanese form, in the kana and width the field asks for, for an account made with country JP. custom: a project’s custom field decided it (see rule). guess: nobody taught it, so it’s a guess from what the field suggests (see from); check it suits your test. sandbox: a KYC vendor’s sandbox value, from kyc_sandbox.

string
Allowed values: email confirm_email first_name last_name full_name last_name_reading first_name_reading full_name_reading username company password confirm_password date_of_birth birth_day birth_month birth_year country marketing_consent custom guess sandbox other
value

What to type, or the option’s value to pick. Null to leave it to you.

string
nullable
rule

The custom field, for kind custom.

object
id
string format: uuid
name
string
checked

A tick box: tick it (true) or leave it unticked (false).

boolean
values

A field sent with multiple: the value of each option to select. value is null.

Array<string>
leave

The custom field says to leave this field as it is.

boolean
from

What a guess came from.

string
Allowed values: option placeholder pattern words type
note
string
screen
One of:

One screen a site’s sign-up goes over: a page’s path, or a native app screen’s name.

object
id
string format: uuid
site_id

Null for one of the app screens, which have no site.

string | null format: uuid
kind
string
Allowed values: path native
value

The page’s path, or the native app screen’s name.

string
label

A short name people recognise.

string | null
status

Suggested: added by a fill or form-values, or waiting for a lead, and not kept yet.

string
Allowed values: kept suggested
origin
string
Allowed values: added filled form_values
step

Which screen of the sign-up it was, when known.

integer | null
created_via
string
Allowed values: app extension agent api
agent_name
string | null
created_at
string format: date-time
kept_at
string | null format: date-time
last_seen_at
string | null format: date-time

Example

{
"values": [
{
"kind": "email",
"from": "option"
}
],
"screen": {
"kind": "path",
"value": "/signup/team",
"label": "Team details",
"status": "kept",
"origin": "added",
"created_via": "app"
}
}

Values from a new address made for this form

Media typeapplication/json
object
address
string
created

True when this call made the address.

boolean
persona
object
password

A password this call made and saved on the address: for a new address, or a sign-up screen that asks for one when the address has none. Shown only here.

string
values
Array<object>
object
id
string
kind

Last_name_reading, first_name_reading and full_name_reading: a name’s reading (furigana) in a Japanese form, in the kana and width the field asks for, for an account made with country JP. custom: a project’s custom field decided it (see rule). guess: nobody taught it, so it’s a guess from what the field suggests (see from); check it suits your test. sandbox: a KYC vendor’s sandbox value, from kyc_sandbox.

string
Allowed values: email confirm_email first_name last_name full_name last_name_reading first_name_reading full_name_reading username company password confirm_password date_of_birth birth_day birth_month birth_year country marketing_consent custom guess sandbox other
value

What to type, or the option’s value to pick. Null to leave it to you.

string
nullable
rule

The custom field, for kind custom.

object
id
string format: uuid
name
string
checked

A tick box: tick it (true) or leave it unticked (false).

boolean
values

A field sent with multiple: the value of each option to select. value is null.

Array<string>
leave

The custom field says to leave this field as it is.

boolean
from

What a guess came from.

string
Allowed values: option placeholder pattern words type
note
string
screen
One of:

One screen a site’s sign-up goes over: a page’s path, or a native app screen’s name.

object
id
string format: uuid
site_id

Null for one of the app screens, which have no site.

string | null format: uuid
kind
string
Allowed values: path native
value

The page’s path, or the native app screen’s name.

string
label

A short name people recognise.

string | null
status

Suggested: added by a fill or form-values, or waiting for a lead, and not kept yet.

string
Allowed values: kept suggested
origin
string
Allowed values: added filled form_values
step

Which screen of the sign-up it was, when known.

integer | null
created_via
string
Allowed values: app extension agent api
agent_name
string | null
created_at
string format: date-time
kept_at
string | null format: date-time
last_seen_at
string | null format: date-time

Example

{
"values": [
{
"kind": "email",
"from": "option"
}
],
"screen": {
"kind": "path",
"value": "/signup/team",
"label": "Team details",
"status": "kept",
"origin": "added",
"created_via": "app"
}
}

An error

Media typeapplication/json
object
error

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).

string
message

What went wrong and what to do, in words.

string

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.

Media typeapplication/json
object
error

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).

string
message

What went wrong and what to do, in words.

string

Example generated

{
"error": "example",
"message": "example"
}
WWW-Authenticate
string

Bearer realm="proxymail-qa", with error="invalid_token" when a key was sent but isn’t valid.

An error

Media typeapplication/json
object
error

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).

string
message

What went wrong and what to do, in words.

string

Example generated

{
"error": "example",
"message": "example"
}

An error

Media typeapplication/json
object
error

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).

string
message

What went wrong and what to do, in words.

string

Example generated

{
"error": "example",
"message": "example"
}

An error

Media typeapplication/json
object
error

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).

string
message

What went wrong and what to do, in words.

string

Example generated

{
"error": "example",
"message": "example"
}

A sign-in or password reset form sent without address: no account was made.

Media typeapplication/json
object
error
string
message
string

Example generated

{
"error": "example",
"message": "example"
}

The request body is over 64 KB, or 256 KB for POST /v1/form-values.

Media typeapplication/json
object
error

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).

string
message

What went wrong and what to do, in words.

string

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.

Media typeapplication/json
object
error

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).

string
message

What went wrong and what to do, in words.

string

Example generated

{
"error": "example",
"message": "example"
}
Retry-After
integer
>= 1

Seconds to wait before trying again. Sent with per-minute limits only.