End-user API (SDK)
Sign up
POST/v1/client/sign_up
Base URL: https://eu.auth.foxlogin.app, https://tr.auth.foxlogin.app
Always answers 202 verification_sent, whether or not the email
already has an account — an existing address gets an "you already
have an account" email instead of a code, so the response cannot
be used to probe for registered addresses. Rate-limited to 10
sign-ups per minute per IP (429 rate_limited).
Body application/json
emailstring (email)requiredpasswordstringrequiredcountrystringrequiredISO 3166-1 alpha-2
Example:
TRnamestring
Responses
202AcceptedAccepted
verification_sent
statusstringrequired
400Bad RequestError
invalid_email,weak_password(8-256 characters) orinvalid_country.errorobjectrequired5 properties
codestringrequiredStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Example:
region_unavailablemessagestringrequiredPlain English, for developers
regionstringnullableRegion that produced the error, if any
Values:
EUTRretryablebooleanrequireddetailsobject
401UnauthorizedError
Missing or invalid key or token. The Management API answers
missing_api_key(no Bearer token) orinvalid_api_key(unknown or revoked secret key or organization API key).errorobjectrequired5 properties
codestringrequiredStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Example:
region_unavailablemessagestringrequiredPlain English, for developers
regionstringnullableRegion that produced the error, if any
Values:
EUTRretryablebooleanrequireddetailsobject
422Unprocessable ContentError
country_not_allowed: the application only accepts users from the countries listed incountry_restriction.countries.errorobjectrequired5 properties
codestringrequiredStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Example:
region_unavailablemessagestringrequiredPlain English, for developers
regionstringnullableRegion that produced the error, if any
Values:
EUTRretryablebooleanrequireddetailsobject
429Too Many RequestsError
rate_limited. Retry afterRetry-Afterseconds.errorobjectrequired5 properties
codestringrequiredStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Example:
region_unavailablemessagestringrequiredPlain English, for developers
regionstringnullableRegion that produced the error, if any
Values:
EUTRretryablebooleanrequireddetailsobject
503Service UnavailableError
busy: too many sign-ins right now.errorobjectrequired5 properties
codestringrequiredStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Example:
region_unavailablemessagestringrequiredPlain English, for developers
regionstringnullableRegion that produced the error, if any
Values:
EUTRretryablebooleanrequireddetailsobject