---
title: "Record an opened result"
description: "Marks the search log_id (from GET /api/v1/search) as having had a result opened, for What people couldn't find."
canonical_url: https://docs.markdrop.in/api/search/record-an-opened-result
last_updated: 2026-11-04
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# Record an opened result

`POST https://api.markdrop.in/api/v1/search/click`

Marks the search `log_id` (from `GET /api/v1/search`) as having had a result opened, for What people couldn't find. Nothing else is recorded. Answers `204`.

- **Authentication:** API token required: `Authorization: Bearer mdk_…`.
- **Rate limit:** 240 per minute per IP address.
- **Guide:** [What people couldn't find](https://docs.markdrop.in/analytics/content-gaps)

## Request body

`application/json`, required.

- `log_id` (string, required): 1–40 characters.

## Responses

- `204`: No content.
- `401`: No token, or the token is revoked or mistyped.
- `422`: The request didn't validate. `detail` lists each problem, with where it is (`loc`) and why (`msg`).
- `429`: Too many requests from your IP address. Wait the seconds in `Retry-After`.

## Examples

**curl**

```bash
curl -X POST https://api.markdrop.in/api/v1/search/click \
  -H "Authorization: Bearer $MARKDROP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"log_id":"3f0c2a9b7d1e4c5f8a6b2d9e0f1a2b3c"}'
```

**JavaScript**

```javascript
const res = await fetch("https://api.markdrop.in/api/v1/search/click", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MARKDROP_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "log_id": "3f0c2a9b7d1e4c5f8a6b2d9e0f1a2b3c"
  }),
});
if (!res.ok) throw new Error(`${res.status}`);
```

**Python**

```python
import os

import requests

r = requests.post(
    "https://api.markdrop.in/api/v1/search/click",
    headers={"Authorization": f"Bearer {os.environ['MARKDROP_TOKEN']}"},
    json={"log_id": "3f0c2a9b7d1e4c5f8a6b2d9e0f1a2b3c"},
)
r.raise_for_status()
```
