Update Conversation Tracker
Updates an existing conversation tracker.
Endpoint
PUT /api/conversation-trackers/{platform}/{id}
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| platform | string | The platform of the tracker (reddit or hn) |
| id | string | The unique identifier of the tracker |
Request Body
| Column name | Type | Description |
|---|---|---|
| url | string | The URL of the conversation to track. For Reddit, it should start with https://www.reddit.com/. For Hacker News, it should start with https://news.ycombinator.com/. |
| api_webhook_url | string | URL to send webhook notifications to. |
| slack_webhook_url | string | Slack webhook URL for notifications. |
| enabled | boolean | Whether the tracker should be active. Use "true" or "false". |
Example Request
curl -X PUT "https://api.kwatch.io/api/conversation-trackers/reddit/1" \
-H "Authorization: Bearer your-api-key-here" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.reddit.com/r/technology/comments/abc123/some_post/comment/xyz789/",
"enabled": false,
"api_webhook_url": "https://example.com/webhook",
"slack_webhook_url": "https://hooks.slack.com/..."
}'
Example Response
{
"id": 1,
"enabled": false,
"created_at": "2026-02-23T12:13:28.081057+01:00",
"updated_at": "2026-02-23T12:15:00.000000+01:00",
"url": "https://www.reddit.com/r/technology/comments/abc123/some_post/comment/xyz789/",
"api_webhook_url": "https://example.com/webhook",
"slack_webhook_url": "https://hooks.slack.com/..."
}