Skip to content

Get Keyword Watch ​

GEThttps://api.repliz.com/public/watcher

Retrieve your keyword watches, newest first, each with the state of the account that searches.

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
pagenumberYesPage to return, starting from 1.
limitnumberYesItems per page, from 1 to 100, for example 20.
accountIdsstring[]NoOnly watches that use one of these accounts, as _ids from Get Account. Send each one as accountIds[]=ID. All accounts when left out.
searchstringNoMatches the keyword or the criteria, case-insensitive.

Example Request ​

bash
curl -X GET "https://api.repliz.com/public/watcher?page=1&limit=20" \
  -H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"
javascript
import axios from 'axios';

const response = await axios.get('https://api.repliz.com/public/watcher', {
  params: {
    page: 1,
    limit: 20,
  },
  auth: {
    username: 'YOUR_ACCESS_KEY',
    password: 'YOUR_SECRET_KEY',
  },
});

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

const response = await fetch('https://api.repliz.com/public/watcher?page=1&limit=20', {
  headers: {
    Authorization: `Basic ${credentials}`,
  },
});

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

Response ​

FieldTypeDescription
_idstringID of the keyword watch.
keywordstringThe keyword or phrase searched on Threads.
filterobjectmode, type, username, and isIncludeReplies as sent in Create Keyword Watch. Empty strings mean no filter.
excludesstring[]Words that skip a post, in lowercase.
criteriastringThe description of the posts to keep. Empty when the watch keeps every post with the keyword.
tokennumberAI tokens the criteria filter has used, from your AI setting.
statusstringactive or paused.
draftCountnumberFound posts whose reply waits for review (status draft).
accountIdstringThe Threads account that searches and replies.
accountobjectThat account: _id, name, username, picture, type, and isConnected. null when it was deleted.
replyobjectWhat the account does with what it finds, see the Reply Object. Unused fields are empty.
checkedAtstringWhen the account last searched, or null before its first search.
nextAtstringWhen it searches next.
intervalnumberMinutes between searches the keyword asks for, from 5 to 60. It drops while the keyword is busy and grows while it is quiet. An account used by many active watches searches less often than this, see nextAt and Limits.
sincenumberUnix time in seconds of the last search.
addedAtstringWhen the account was set on the watch. Older posts are never picked up.
totalMatchednumberPosts it found that fit the criteria.
totalRepliednumberReplies it sent.
errorMessagestringWhy the last search failed, for example a disconnected account. Empty when it went fine.
heldUntilstringWhen a watch on hold searches again by itself, or null.
heldReasonstringsearch_limit (1,500 searches a day), match_limit (100 found posts a day), judge_limit (2,000 posts read by the AI a day), or rate_limit (Threads asked to slow down). Empty when it isn't on hold.
json
{
  "docs": [
    {
      "_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"
    }
  ],
  "totalDocs": 1,
  "limit": 20,
  "page": 1,
  "totalPages": 1,
  "hasNextPage": false,
  "hasPrevPage": false
}
json
{
  "code": 401,
  "message": "unauthorized"
}