---
title: "Messages reçus, du plus récent au plus ancien"
method: GET
path: "/leads"
tags: ["Demandes"]
---

# Messages reçus, du plus récent au plus ancien

`GET /leads`

## Request

- Base URL: `https://fondatoria.com/api/v1`
- URL: `https://fondatoria.com/api/v1/leads`
- Auth: HTTP bearer

## Query parameters

- `since` string, date-time
- `before` string, date-time
- `limit` integer

## Response `200`

Succès

- object
  - `data` Lead[], required
    - `id` string
    - `name` string
    - `email` string, nullable
    - `phone` string
    - `message` string
    - `service` string, nullable
    - `status` string
    - `valueCents` integer, nullable
    - `source` string, nullable
    - `sourceDetail` string, nullable
    - `landingPath` string, nullable
    - `createdAt` string, date-time
    - `handledAt` string, date-time, nullable
  - `hasMore` boolean
  - `nextBefore` string, date-time, nullable

## Other responses

- `400`: Requête invalide
- `401`: Clé absente, inconnue, révoquée ou expirée
- `403`: Autorisation manquante ou site inactif
- `429`: Quota dépassé ; voir Retry-After

---

[API](https://skmtc.dev/fondatoria/apis/api-sitebuilder.md) · [All operations](https://skmtc.dev/fondatoria/apis/api-sitebuilder/llms.txt) · [OpenAPI document](https://skmtc.dev/fondatoria/apis/api-sitebuilder/revisions/3e438376beac?raw)
