v1 · OpenAPI 3.1Dashboard

Die API-Referenz ist auf Englisch.

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

Authentifizierung
Publishable key

Body application/json

  • emailstring (email)erforderlich

  • passwordstringerforderlich

  • countrystringerforderlich

    ISO 3166-1 alpha-2

    Beispiel: TR

  • namestring

Antworten

  • 202AcceptedAccepted

    verification_sent

    • statusstringerforderlich

  • 400Bad RequestError

    invalid_email, weak_password (8-256 characters) or invalid_country.

    • errorobjecterforderlich

      5 Felder
      • codestringerforderlich

        Stable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable

        Beispiel: region_unavailable

      • messagestringerforderlich

        Plain English, for developers

      • regionstringnullable

        Region that produced the error, if any

        Werte: EU TR

      • retryablebooleanerforderlich

      • detailsobject

  • 401UnauthorizedError

    Missing or invalid key or token. The Management API answers missing_api_key (no Bearer token) or invalid_api_key (unknown or revoked secret key or organization API key).

    • errorobjecterforderlich

      5 Felder
      • codestringerforderlich

        Stable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable

        Beispiel: region_unavailable

      • messagestringerforderlich

        Plain English, for developers

      • regionstringnullable

        Region that produced the error, if any

        Werte: EU TR

      • retryablebooleanerforderlich

      • detailsobject

  • 422Unprocessable ContentError

    country_not_allowed: the application only accepts users from the countries listed in country_restriction.countries.

    • errorobjecterforderlich

      5 Felder
      • codestringerforderlich

        Stable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable

        Beispiel: region_unavailable

      • messagestringerforderlich

        Plain English, for developers

      • regionstringnullable

        Region that produced the error, if any

        Werte: EU TR

      • retryablebooleanerforderlich

      • detailsobject

  • 429Too Many RequestsError

    rate_limited. Retry after Retry-After seconds.

    • errorobjecterforderlich

      5 Felder
      • codestringerforderlich

        Stable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable

        Beispiel: region_unavailable

      • messagestringerforderlich

        Plain English, for developers

      • regionstringnullable

        Region that produced the error, if any

        Werte: EU TR

      • retryablebooleanerforderlich

      • detailsobject

  • 503Service UnavailableError

    busy: too many sign-ins right now.

    • errorobjecterforderlich

      5 Felder
      • codestringerforderlich

        Stable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable

        Beispiel: region_unavailable

      • messagestringerforderlich

        Plain English, for developers

      • regionstringnullable

        Region that produced the error, if any

        Werte: EU TR

      • retryablebooleanerforderlich

      • detailsobject