End-user API (SDK)
Sign up
POST/v1/client/sign_up
Basis-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)erforderlichpasswordstringerforderlichcountrystringerforderlichISO 3166-1 alpha-2
Beispiel:
TRnamestring
Antworten
202AcceptedAccepted
verification_sent
statusstringerforderlich
400Bad RequestError
invalid_email,weak_password(8-256 characters) orinvalid_country.errorobjecterforderlich5 Felder
codestringerforderlichStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Beispiel:
region_unavailablemessagestringerforderlichPlain English, for developers
regionstringnullableRegion that produced the error, if any
Werte:
EUTRretryablebooleanerforderlichdetailsobject
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).errorobjecterforderlich5 Felder
codestringerforderlichStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Beispiel:
region_unavailablemessagestringerforderlichPlain English, for developers
regionstringnullableRegion that produced the error, if any
Werte:
EUTRretryablebooleanerforderlichdetailsobject
422Unprocessable ContentError
country_not_allowed: the application only accepts users from the countries listed incountry_restriction.countries.errorobjecterforderlich5 Felder
codestringerforderlichStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Beispiel:
region_unavailablemessagestringerforderlichPlain English, for developers
regionstringnullableRegion that produced the error, if any
Werte:
EUTRretryablebooleanerforderlichdetailsobject
429Too Many RequestsError
rate_limited. Retry afterRetry-Afterseconds.errorobjecterforderlich5 Felder
codestringerforderlichStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Beispiel:
region_unavailablemessagestringerforderlichPlain English, for developers
regionstringnullableRegion that produced the error, if any
Werte:
EUTRretryablebooleanerforderlichdetailsobject
503Service UnavailableError
busy: too many sign-ins right now.errorobjecterforderlich5 Felder
codestringerforderlichStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Beispiel:
region_unavailablemessagestringerforderlichPlain English, for developers
regionstringnullableRegion that produced the error, if any
Werte:
EUTRretryablebooleanerforderlichdetailsobject