# POST /time-entries/stop

**Resource:** [TIME_ENTRIES](./time-entries.md)  
**MCP tool:** `stop_timer`  
**Scopes:** `time-entries:write`  
**Write operation:** yes

Stop the caller's running timer and return the finished entry with its length. It ends now, unless ended_at gives the earlier moment the work really stopped ("I actually stopped at 4:30"), which must be after the timer started and not in the future. note replaces the note the timer was started with. Answers "not found" when the caller has no timer running: check with get_running_timer.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `note` | body | string | no | Replaces the note on the entry (2000 characters at most). Leave out to keep the note the timer was started with. |
| `ended_at` | body | string | no | When the work really stopped, if that was earlier than now (ISO date-time, after the timer started and not in the future). Leave out to stop the timer now. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/time-entries/stop"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"note":"...","ended_at":"...","require_approval":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`