English
English
Appearance
English
English
Appearance
https://api.repliz.com/public/watcher/{watcherId}/matchRetrieve the posts a keyword watch found, newest first, with their replies.
Authorization: Basic Base64(AccessKey:SecretKey)) or Bearer token from Login with Replizwatcher:read (or watcher:write)| Parameter | Type | Required | Description |
|---|---|---|---|
watcherId | string | Yes | ID of the keyword watch, the _id from Get Keyword Watch or the watcherId from Create Keyword Watch. |
page | number | Yes | Page to return, starting from 1. |
limit | number | Yes | Items per page, from 1 to 100, for example 20. |
status | string | No | found, draft, queued, replied, failed, or skipped. Every status when left out or empty. |
curl -X GET "https://api.repliz.com/public/watcher/6913a5c2e4b0a1f2c3d4e5f6/match?page=1&limit=20&status=draft" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"import axios from 'axios';
const watcherId = '6913a5c2e4b0a1f2c3d4e5f6';
const response = await axios.get(`https://api.repliz.com/public/watcher/${watcherId}/match`, {
params: {
page: 1,
limit: 20,
status: 'draft',
},
auth: {
username: 'YOUR_ACCESS_KEY',
password: 'YOUR_SECRET_KEY',
},
});
console.log(response.data);const credentials = btoa('YOUR_ACCESS_KEY:YOUR_SECRET_KEY');
const watcherId = '6913a5c2e4b0a1f2c3d4e5f6';
const response = await fetch(`https://api.repliz.com/public/watcher/${watcherId}/match?page=1&limit=20&status=draft`, {
headers: {
Authorization: `Basic ${credentials}`,
},
});
const data = await response.json();
console.log(data);| Field | Type | Description |
|---|---|---|
_id | string | ID of the found post, used as matchId. |
watcherId | string | The keyword watch that found it. |
accountId | string | The account that found it and replies to it. |
account | object | That account: _id, name, username, picture, type, and isConnected. |
postId | string | ID of the post on Threads. |
content | object | The post, in the same shape as Search Content Threads, plus owner.isVerified, link, textAttachment, reply (when the post is itself a reply), and quotedPost. |
reason | string | What the post is about, as the AI read it when it kept the post, in the language of the criteria. Empty when the watch has no criteria. |
status | string | found (kept without a reply), draft (waiting for review), queued (will be sent at reply.sendAt), replied, failed, or skipped. |
reply. | string | The reply type of the account when the post was found: none, text, or ai. |
reply. | string | The reply. Empty for found, and for an AI draft that couldn't be written (see errorMessage). |
reply. | string | ID of the reply on Threads once it is sent. |
reply. | boolean | true when it was sent with Send Keyword Watch Reply or from the dashboard. |
reply. | string | When a queued reply goes out. |
reply. | string | When it was sent. |
errorMessage | string | Why the reply failed, or why an AI draft couldn't be written. sending was interrupted, check the post on Threads before sending it again means Repliz may have posted it before stopping: check Threads first, then send it again only if it isn't there. |
skipReason | string | For skipped: manual, author_recent (the account replied to this person in the last 7 days), already_replied (the account already replied to this post from another watch), reply_limit, reply_busy (more than an hour of replies already waiting), rate_limit, or paused. |
Found posts are deleted by themselves: a draft 90 days after the post was found; a queued, failed, or automatically skipped one 90 days after it got that status; and a found, replied, or manually skipped one 60 days after.
{
"docs": [
{
"_id": "6913a5c2e4b0a1f2c3d4e5f7",
"watcherId": "6913a5c2e4b0a1f2c3d4e5f6",
"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
},
"userId": "680aff8bce12f2f72916f67a",
"postId": "18082157540400777",
"content": {
"id": "18082157540400777",
"title": "",
"description": "Ada rekomendasi kedai kopi enak di Jakarta Selatan?",
"topic": "",
"type": "text",
"owner": {
"id": "",
"name": "kopilover",
"picture": "https://scontent.cdninstagram.com/v/t51.2885-19/kopilover.jpg",
"isVerified": false
},
"medias": [],
"url": "https://www.threads.com/@kopilover/post/DfmMobMz8kB",
"link": "",
"createdAt": "2026-11-18T07:58:00.000Z"
},
"reason": "Meminta rekomendasi kedai kopi di Jakarta.",
"reply": {
"type": "ai",
"text": "Halo! Coba mampir ke Kopi Kita di Kemang, kopi susunya juara.",
"id": "",
"isManual": false,
"sendAt": null,
"sentAt": null
},
"status": "draft",
"errorMessage": "",
"skipReason": "",
"createdAt": "2026-11-18T08:00:00.000Z",
"updatedAt": "2026-11-18T08:00:00.000Z"
}
],
"totalDocs": 1,
"limit": 20,
"page": 1,
"totalPages": 1,
"hasNextPage": false,
"hasPrevPage": false
}{
"code": 404,
"message": "keyword watch not found"
}{
"code": 401,
"message": "unauthorized"
}