---
title: "Create an account (optionally with an API key, for agents)"
method: POST
path: "/api/auth/register"
---

# Create an account (optionally with an API key, for agents)

`POST /api/auth/register`

## Request

- Base URL: `https://lead-radar.fr`
- URL: `https://lead-radar.fr/api/auth/register`
- Auth: none required

## Request body

- object
  - `email` string, email, required
  - `password` string, required
  - `name` string
  - `createApiKey` boolean: true = return an API key in the response (agent flow)

## Response `200`

Account created. welcomeCredits is 5 or 0 (API signups share a global daily bonus quota).

- object
  - `ok` boolean
  - `apiKey` string: Only when createApiKey: true. Shown once — store it.
  - `welcomeCredits` integer

## Other responses

- `409`: Email already registered
- `429`: Rate limited (5 signups/hour/IP)

---

[API](https://skmtc.dev/lead-radar/apis/lead-radar-api.md) · [All operations](https://skmtc.dev/lead-radar/apis/lead-radar-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lead-radar/apis/lead-radar-api/revisions/fc784e24533c?raw)
