Skip to content

Get One Keyword Watch ​

GEThttps://api.repliz.com/public/watcher/{watcherId}

Retrieve one keyword watch.

Endpoint Details ​

  • Authentication: Basic Auth (Authorization: Basic Base64(AccessKey:SecretKey)) or Bearer token from Login with Repliz
  • Scope (Bearer only): watcher:read (or watcher:write)
  • Access Tier: Gold+

Parameters ​

ParameterTypeRequiredDescription
watcherIdstringYesID of the keyword watch, the _id from Get Keyword Watch or the watcherId from Create Keyword Watch.

Example Request ​

bash
curl -X GET "https://api.repliz.com/public/watcher/6913a5c2e4b0a1f2c3d4e5f6" \
  -H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"
javascript
import axios from 'axios';

const watcherId = '6913a5c2e4b0a1f2c3d4e5f6';

const response = await axios.get(`https://api.repliz.com/public/watcher/${watcherId}`, {
  auth: {
    username: 'YOUR_ACCESS_KEY',
    password: 'YOUR_SECRET_KEY',
  },
});

console.log(response.data);
javascript
const credentials = btoa('YOUR_ACCESS_KEY:YOUR_SECRET_KEY');

const watcherId = '6913a5c2e4b0a1f2c3d4e5f6';

const response = await fetch(`https://api.repliz.com/public/watcher/${watcherId}`, {
  headers: {
    Authorization: `Basic ${credentials}`,
  },
});

const data = await response.json();
console.log(data);

Response ​

The fields are the same as in Get Keyword Watch.

json
{
  "_id": "6913a5c2e4b0a1f2c3d4e5f6",
  "platform": "threads",
  "keyword": "rekomendasi kopi",
  "filter": {
    "mode": "KEYWORD",
    "type": "",
    "username": "",
    "isIncludeReplies": false
  },
  "excludes": ["lowongan"],
  "criteria": "Orang yang minta rekomendasi kedai kopi di Jakarta, bukan iklan atau berita.",
  "status": "active",
  "accountId": "680affa5ce12f2f72916f67e",
  "account": {
    "_id": "680affa5ce12f2f72916f67e",
    "name": "Kopi Kita",
    "username": "kopikita",
    "picture": "https://scontent.cdninstagram.com/v/t51.2885-19/kopikita.jpg",
    "type": "threads",
    "isConnected": true
  },
  "reply": {
    "type": "ai",
    "text": "",
    "prompt": "Balas sebagai tim Kopi Kita: singkat, ramah, rekomendasikan cabang Kemang.",
    "knowledgeIds": ["6911b2c3d4e5f6a7b8c9d0e1"],
    "approval": "review"
  },
  "since": 1795507200,
  "interval": 15,
  "nextAt": "2026-11-18T08:15:00.000Z",
  "checkedAt": "2026-11-18T08:00:00.000Z",
  "heldUntil": null,
  "heldReason": "",
  "errorMessage": "",
  "totalMatched": 12,
  "totalReplied": 4,
  "addedAt": "2026-11-18T07:00:00.000Z",
  "token": 15200,
  "draftCount": 3,
  "userId": "680aff8bce12f2f72916f67a",
  "createdAt": "2026-11-18T07:00:00.000Z",
  "updatedAt": "2026-11-18T08:00:00.000Z"
}
json
{
  "code": 404,
  "message": "keyword watch not found"
}
json
{
  "code": 401,
  "message": "unauthorized"
}