---
title: "Set Video Keywords"
method: PUT
path: "/api/videos/{video_id}/keywords"
tags: ["Video Tracking"]
---

# Set Video Keywords

`PUT /api/videos/{video_id}/keywords`

## Request

- Base URL: `https://api.kolens.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kolens.ai/api/videos/{video_id}/keywords`
- Auth: HTTP bearer

Set the tracked video's custom comment-alert keywords. A new comment
matching any of these (or the built-in purchase-intent set) fires an
alert through the user's alert channel. Normalised: lowercase, trimmed,
deduped, capped (50 keywords × 60 chars).

Owner-only even when the row is shared with the team: these keywords
decide what the OWNER gets pinged about, and a teammate rewriting
them changes someone else's notifications without telling them.

## Path parameters

- `video_id` string, required

## Headers

- `x-kolens-user-id` string, nullable
- `x-kolens-workspace-id` string, nullable

## Request body

- KeywordsRequest
  - `keywords` string[]

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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