# Get one lead

One row of the Leads table, as GET /tables/leads gives it, with its `activity`: every email, reply, bounce, meeting and status change logged about this person. `{id}` is what the list gives (a number, `sav_…` or `per_…`), a LinkedIn profile URL, or their email address. mySDR keeps your whole process, so the user never needs a spreadsheet next to it: the state of each company and person (status with a reason, next action, email and contact points, your own fields), every email, reply and bounce you log, the exclusions, and a check before every send. The user sees all of it in the Leads and Companies tabs.

## Authentication

Send `Authorization: Bearer gtk_…`. Create the key under **Connect assistant → API keys**. Every `gtk_` key can call these routes, also while the Signals API is closed. A missing, invalid or revoked key is **401**.

### Path parameters

- **`id`** `string` · **required** — The row, a LinkedIn profile URL or an email address (URL-encoded).

## Response

- **`…`** `object` · **required** — The fields of a row of GET /tables/leads.
- **`activity`** `object[]` · **required** — The log of this row, newest first (up to 50): `id`, `at`, `type`, `label`, `subject`, `summary`, `email`, `step`, `template`, `thread_id`, `sentiment`, `until`, `detail`, `source_url`, `campaign_id`, `row` (who it was about) and `via` (the name of the key that logged it).
- **`activity_more`** `boolean` · **required** — There is older activity: read it with GET /outreach/activity?lead=.

## Credits

Free. This call never uses credits.

## Errors

- **404** `not_found` — No lead in the Leads table has this id, profile or address.
- **401** `authentication_error` — The Authorization header is missing, or the key is unknown or revoked.
- **403** `permission_error` — API access is not part of your plan, or your account is suspended.
- **429** `rate_limit_error` — More than 60 requests per minute, or more than 3 at the same time, on one key. Wait for the Retry-After header.
- **503** `service_unavailable` — The API is temporarily unavailable. Retry later.
- **500** `internal_error` — Something went wrong on our side.

## Example

### cURL

```bash
curl "https://mysdr.app/api/v1/tables/leads/sav_7c1f2a40-5b0e-4c3e-9a71-2f7d3e0c9b11" \
  -H "Authorization: Bearer $MYSDR_API_KEY"
```

### JavaScript

```javascript
const response = await fetch('https://mysdr.app/api/v1/tables/leads/sav_7c1f2a40-5b0e-4c3e-9a71-2f7d3e0c9b11', {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.MYSDR_API_KEY}`
  }
});
const body = await response.json();
```

### Python

```python
import json
import os
import urllib.request

request = urllib.request.Request(
    "https://mysdr.app/api/v1/tables/leads/sav_7c1f2a40-5b0e-4c3e-9a71-2f7d3e0c9b11",
    headers={
    "Authorization": f"Bearer {os.environ['MYSDR_API_KEY']}"
    },
    method="GET",
)
with urllib.request.urlopen(request) as response:
    body = json.load(response)
```

### Example response

```json
{
  "id": "sav_7c1f2a40-5b0e-4c3e-9a71-2f7d3e0c9b11",
  "object": "table_lead",
  "source": "assistant",
  "name": "Jane Example",
  "title": "HR Manager",
  "company": "Acme Logistics",
  "status": "new",
  "status_reason": null,
  "lead_status": "later",
  "next_action": {
    "at": "2026-11-23T08:00:00.000Z",
    "kind": "recontact",
    "note": "They asked to be contacted again."
  },
  "email": "jane@acme-logistics.example",
  "email_status": "verified",
  "fields": {},
  "campaign_ids": [],
  "outreach": {
    "status": "replied",
    "label": "Replied by email",
    "attention": null,
    "last_activity_at": "2026-10-23T09:12:00.000Z",
    "next_step_at": null,
    "campaign_ids": []
  },
  "activity": [
    {
      "id": "e2a1…",
      "at": "2026-10-23T09:12:00.000Z",
      "type": "email_replied",
      "label": "Email replied",
      "action": null,
      "subject": "Re: your open roles",
      "summary": "Not now, try again next month.",
      "email": "jane@acme-logistics.example",
      "step": null,
      "template": null,
      "thread_id": "thread-91",
      "sentiment": "neutral",
      "until": "2026-11-23T08:00:00.000Z",
      "detail": {
        "lead_status": "later"
      },
      "campaign_id": null,
      "row": {
        "id": "sav_7c1f2a40-5b0e-4c3e-9a71-2f7d3e0c9b11",
        "object": "person",
        "name": "Jane Example"
      },
      "via": "Grok Bot"
    }
  ],
  "activity_more": false
}
```
