---
title: "Inbox"
method: GET
path: "/api/v1/seller/leads"
---

# Inbox

`GET /api/v1/seller/leads`

## Request

- Base URL: `https://trovastorage.it` (the document declares no server; this is the origin it was published from)
- URL: `https://trovastorage.it/api/v1/seller/leads`
- Auth: one of:
  - API key in header `X-Access-Token`
  - HTTP bearer

The inbox as it was before M4B: newest first, filtered by the old
status. One row per centre a request went to, read through the same
service as `/opportunities`.

## Query parameters

- `status` string, nullable
- `site_id` string, uuid, nullable
- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- LeadInboxRow[]
  - `id` string, uuid, required
  - `created_at` string, date-time, required
  - `status` string, required
  - `site_id` string, uuid, nullable, required
  - `site_name` string, nullable, required
  - `size_class_m2` integer, required
  - `interpreted_size_class_m2` integer, required
  - `overridden` boolean, required
  - `free_count` integer, required
  - `zero_results` boolean, required
  - `contact_name` string, nullable, required
  - `appointment_starts_at` string, date-time, nullable, required
  - `appointment_meeting_type` string, nullable
  - `appointment_state` string, nullable
  - `intent` string, nullable
  - `contact_preference` string, nullable
  - `distribution_state` string
  - `entered_by_admin` boolean
  - `size_known` boolean
  - `recipient_id` string, uuid, nullable
  - `state` string
  - `unread` boolean
  - `unread_messages` integer
  - `others_count` integer
  - `direct` boolean
  - `area` string, nullable
  - `offered` boolean
  - `closed_reason` string, nullable
  - `own_centres` OwnCentreRow[]
    - `recipient_id` string, uuid, required
    - `site_name` string, required
    - `state` string, required
  - `origin` string
  - `origin_detail` string, nullable
  - `moved_in` boolean, nullable
  - `contact_released` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/trovastorage/apis/stock-your-inventory.md) · [All operations](https://skmtc.dev/trovastorage/apis/stock-your-inventory/llms.txt) · [OpenAPI document](https://skmtc.dev/trovastorage/apis/stock-your-inventory/revisions/c75f591a585c?raw)
