---
title: "Suggest the hour a lead is most likely to reply"
method: GET
path: "/api/leads/{id}/best-send-time"
tags: ["Leads"]
---

# Suggest the hour a lead is most likely to reply

`GET /api/leads/{id}/best-send-time`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/leads/{id}/best-send-time`
- Auth: API key in cookie `luca.session_token`

The UTC hour with the most inbound messages from this lead, with the sample size and a confidence label. With no inbound history there is no suggestion.

**Session-only.** This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

## Path parameters

- `id` string, uuid, required

## Headers

- `Luca-API-Version` '1'

## Response `200`

ok

- LeadBestSendTimeResponse
  - `suggestedHourUtc` integer, nullable, required
  - `sampleSize` integer, required
  - `confidence` 'none' | 'low' | 'medium', required
  - `histogram` object[], required
    - `hourUtc` integer, required
    - `count` integer, required
  - `note` string, nullable, required

## Other responses

- `401`: unauthorized
- `429`: rate limited

---

[API](https://skmtc.dev/setluca/apis/luca-api.md) · [All operations](https://skmtc.dev/setluca/apis/luca-api/llms.txt) · [OpenAPI document](https://skmtc.dev/setluca/apis/luca-api/revisions/90a200e4100b?raw)
