# Identify good leads from signups

> Score every new signup's company, so sales spends time on the accounts that can become customers.

Most product signups never buy. Score the company behind each new signup's email, and send the high scorers to sales while the rest carry on self-serve.

## The flow

1. **Get your template once.** Call [`GET api-templates`](/templates) and keep the `template_id` with `"is_live": true`.
2. **When someone signs up, score their email** from your backend:

   ```bash
   curl -X POST "https://mmkuffhlzytnmgraagbp.supabase.co/functions/v1/score/email" \
     -H "Authorization: Bearer $PLATINUX_API_KEY" -H "Content-Type: application/json" \
     -d '{"email": "jane.doe@gmail.com", "template_id": "4d286e65-…"}'
   ```

3. **Check back** with the `job_id` until the score is ready ([Score from an email](/score-email)).
4. **Save the score on the user** in your database or CRM, and alert sales above a threshold you choose.

Have a backlog of past signups? Send up to 1,000 emails at once with [`/score/email/bulk`](/score-list).

## Signups with generic and temporary emails

| Email | What happens | Credits |
|---|---|---|
| Work (`jane@acme.com`) | Scored from the email's domain | 10 |
| Generic (Gmail, Outlook, etc.) | We find the person's current employer, then score it | 20, or 0 if no employer is found |
| Temporary (`x@mailinator.com`) | Not scored: `status: "temporary_email"`. A useful sign of a low-quality signup | 0 |

## Tips

- The score is for the signup's **company**, not the person.
- To screen out temporary emails before spending credits, call [`api-email-domain`](/email-domain) first: it is free for work and temporary emails.
