Skip to content

Skip Keyword Watch Post ​

POSThttps://api.repliz.com/public/watcher/{watcherId}/match/{matchId}/skip

Skip a found post so it gets no reply. It stays listed with status skipped and skipReason manual, and can still be sent later.

Endpoint Details ​

  • Authentication: Basic Auth (Authorization: Basic Base64(AccessKey:SecretKey)) or Bearer token from Login with Repliz
  • Scope (Bearer only): 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.
matchIdstringYesID of the found post, the _id from Get Keyword Watch Post.

Works on posts with status found, draft, or failed. Others fail with 409.

Example Request ​

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

const watcherId = '6913a5c2e4b0a1f2c3d4e5f6';
const matchId = '6913a5c2e4b0a1f2c3d4e5f7';

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

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

const watcherId = '6913a5c2e4b0a1f2c3d4e5f6';
const matchId = '6913a5c2e4b0a1f2c3d4e5f7';

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

console.log(response.status);

Response ​

json
// No content returned on success
json
{
  "code": 404,
  "message": "post not found"
}
json
{
  "code": 409,
  "message": "this post was already queued, sent, or changed"
}
json
{
  "code": 401,
  "message": "unauthorized"
}