# Verify your email

PiGi proves you own your email address in one of two ways: a 6-digit code during company signup, or a verification link emailed after an ordinary account registration. A third link type, the magic link, signs you in without a password.

Source: https://help.pigi.io/guides/company-setup/getting-started/verify-your-email

## Quick answers

**How long is the 6-digit code valid?**
15 minutes from the moment it is sent. Enter it on the **Enter the code** step of the
signup wizard; the form submits itself once all six boxes are filled.

**I clicked "Resend code" — can I still use the first code?**
No. Only the most recent code works. Requesting a new one makes every earlier code invalid
even if it has not expired yet, and entering an old one reports "Invalid verification code".

**My code never arrived. What now?**
Wait for the 60-second cooldown on the **Resend code** link, then request another. You are
limited to 5 code requests per minute. Check spam, and confirm the address on the previous
step is spelled correctly — you can go back and change it.

**How long is an email verification link valid?**
14 days. After that the /auth/verify-email page shows "Email verification failed" and you
need a new link.

**What is a magic link?**
A one-click sign-in link emailed to you, valid for 7 days. Opening it signs you in and
forwards you to your dashboard — no password needed.

**Do I have to verify my email after signing up a company?**
No. Company signup verifies your email with the 6-digit code during the wizard, so no
follow-up verification email is sent and your workspace is live immediately.

## What this is

Email verification is how PiGi confirms an address belongs to you before it becomes a login.
Which form you meet depends on how you joined: the company signup wizard verifies up front
with a code, ordinary account registration verifies afterwards with an emailed link, and
magic links are a separate password-free sign-in sent by PiGi support.

## Steps — verifying with a 6-digit code

1. Enter your address on **What's your work email?** and click **Send code**.
2. Open the email titled with your verification code and copy the 6 digits.
3. Type or paste them into the six boxes on **Enter the code**. Pasting all six at once
   works — the form fills every box and submits.
4. If nothing arrives, click **Resend code**. It is greyed out with a countdown for 60
   seconds after each send.

## Steps — verifying with an emailed link

1. Open the verification email and click its link. It opens /auth/verify-email with a token
   in the URL.
2. Wait for the page to confirm **Email Verified!** — it then counts down 10 seconds and
   sends you to the sign-in page.
3. If it says "Email verification failed", the link has expired or has already been used.
   Register again or ask an admin to re-invite you.

## Steps — using a magic link

1. Open the emailed link. It opens /auth/magic-link with a token in the URL.
2. The page confirms **Login Successful!** and counts down 5 seconds before opening your
   dashboard. Click **Go to Dashboard** to skip the wait.
3. If it says **Invalid or Expired Link**, use **Go to Login** to sign in normally, or
   **Request New Link** to start a password reset instead.

## Known limitations

- Opening /auth/verify-email with no token in the address bar shows a loading spinner that
  never resolves. Always use the link from the email rather than typing the address.
- Verifying your email also activates your company when your account has one that is not yet
  live, so a company you expected to stay inactive can go live off a verification click.
- Requesting a new 6-digit code invalidates all earlier ones. If two codes are sitting in
  your inbox, only the newest is usable.
- A magic link issued for a "set your password" purpose still lands you on the ordinary
  **Login Successful!** screen and forwards you to the dashboard instead of a password
  setup screen.
- Verification links and magic links cannot be revoked once emailed. They stay valid for
  their full 14-day / 7-day life even if the address is later changed.

## Related

- [Sign up your company](sign-up-your-company.md)
- [Sign in and reset your password](sign-in-and-reset-your-password.md)
- [Accept an invitation](accept-an-invitation.md)
