---
title: "Update a tracked URL"
method: PUT
path: "/api/v1/tracked-urls/{id}"
tags: ["Content"]
---

# Update a tracked URL

`PUT /api/v1/tracked-urls/{id}`

## Request

- Base URL: `https://app.promptingco.com`
- URL: `https://app.promptingco.com/api/v1/tracked-urls/{id}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer
  - API key in cookie `better-auth.session_token`

Fields you omit keep their stored values. Send null or an empty string to clear title, description, or documentId; an empty category resets it to other. url cannot be cleared.

## Path parameters

- `id` string, required

## Request body

- object
  - `brandId` string, required
  - `url` string
  - `title` string, nullable
  - `description` string, nullable
  - `category` string, nullable
  - `documentId` string, nullable

## Response `200`

Successful response

- object
  - `ok` true, required
  - `data` unknown

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Not found
- `422`: Validation failed
- `500`: Internal server error

---

[API](https://skmtc.dev/promptingcompany/apis/the-prompting-company-api.md) - [All operations](https://skmtc.dev/promptingcompany/apis/the-prompting-company-api/llms.txt) - [OpenAPI document](https://skmtc.dev/promptingcompany/apis/the-prompting-company-api/revisions/c0451ea10e9a?raw)
