---
title: "Mark a look at a workspace, team or project"
description: "Records that you are looking at the workspace (no space), or one of its teams or projects (space: team:<id> or project:<id>)."
canonical_url: https://docs.markdrop.in/api/team/mark-a-look-at-a-workspace-team-or-project
last_updated: 2026-11-20
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# Mark a look at a workspace, team or project

`POST https://api.markdrop.in/api/v1/workspaces/{workspace_id}/visit`

Records that you are looking at the workspace (no `space`), or one of its teams or projects (`space`: `team:<id>` or `project:<id>`). "What changed since I last looked" counts from the end of your previous look: a look that comes more than 30 minutes after the last one starts a new one. Returns `since`, the end of your previous look (null the first time).

- **Authentication:** API token required: `Authorization: Bearer mdk_…`.
- **Rate limit:** 120 per minute per IP address.
- **Guide:** [What changed](https://docs.markdrop.in/workspaces/team#what-changed)

## Path parameters

- `workspace_id` (string, required): The workspace's id, from the address of its settings page (`markdrop.in/settings/workspaces/<workspace-id>`) or from [List workspaces](https://docs.markdrop.in/api/workspaces/list-workspaces).

## Request body

`application/json`, required.

- `space` (string): team:<id> | project:<id>; none: the workspace itself. Up to 40 characters.

## Responses

- `200`: OK.
- `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/workspaces/WORKSPACE_ID/visit \
  -H "Authorization: Bearer $MARKDROP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"space":"team:6744e1f0c2a1b2c3d4e5f601"}'
```

**JavaScript**

```javascript
const res = await fetch("https://api.markdrop.in/api/v1/workspaces/WORKSPACE_ID/visit", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MARKDROP_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "space": "team:6744e1f0c2a1b2c3d4e5f601"
  }),
});
const data = await res.json();
```

**Python**

```python
import os

import requests

r = requests.post(
    "https://api.markdrop.in/api/v1/workspaces/WORKSPACE_ID/visit",
    headers={"Authorization": f"Bearer {os.environ['MARKDROP_TOKEN']}"},
    json={"space": "team:6744e1f0c2a1b2c3d4e5f601"},
)
r.raise_for_status()
print(r.json())
```
