# Sign in with an email link or code

Source: https://immiscible.fly.dev/docs/api/post-api-auth-email-verify

`POST /api/auth/email/verify`

`{ token }` from the link, or `{ challenge, code }`.

## Authentication

Public. No credential. Public routes are rate limited per address. Part of signing in, before there is a session.

## Request

curl:

```bash
curl -X POST "https://immiscible.fly.dev/api/auth/email/verify"
```

Node:

```ts
const res = await fetch('https://immiscible.fly.dev/api/auth/email/verify', {
  method: 'POST',
});
const data = await res.json();
console.log(res.status, data);
```

Python:

```python
import requests

res = requests.post(
    "https://immiscible.fly.dev/api/auth/email/verify",
)
print(res.status_code, res.json())
```
