---
title: "Turn click tracking of your own links on or off"
method: POST
path: "/api/insights/settings"
---

# Turn click tracking of your own links on or off

`POST /api/insights/settings`

## Request

- Base URL: `https://postwire.io`
- URL: `https://postwire.io/api/insights/settings`
- Auth: HTTP bearer

With track_links on, https links in posts to Bluesky, Mastodon, LinkedIn, Facebook, Telegram, Discord and YouTube go out as postwire.io/r/<code> and redirect to the same page; clicks show up in /api/insights. Paid plans.

## Request body

- object
  - `track_links` boolean, required

## Response `200`

{ ok, track_links }

## Other responses

- `402`: not included in the current plan

---

[API](https://skmtc.dev/postwire/apis/postwire-api.md) · [All operations](https://skmtc.dev/postwire/apis/postwire-api/llms.txt) · [OpenAPI document](https://skmtc.dev/postwire/apis/postwire-api/revisions/513a409ab8f7?raw)
