OverviewPlatformsAPI Reference
Keywords

Update a keyword

Renames the keyword (term: the new term is tracked from now on, with no look-back, and the mentions the old term found stay), mutes or unmutes it, or changes its kind, platforms, classifier context, matching rules or monthly mention cap. Each rule field is optional and an empty list clears it. A null cap removes the cap, and a cap above this month's count resumes a capped keyword right away. New rules apply to mentions from the next poll on. Stored mentions stay as they are.


PATCH
/v1/keywords/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

An API key from POST /v1/api-keys. Keys start with ref_.

In: header

Path Parameters

id*string

The keyword's id (kw_...).

Length1 <= length

Request Body

application/json

Fields you leave out stay as they are.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/keywords/kw_abc123" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "term": "string",  "kind": "brand",  "muted": true,  "pausedForBalance": true,  "pausedForNoise": true,  "pausedForCap": true,  "cap": {    "mentions": 1,    "welcome": true,    "own": 0  },  "comments": {    "enabled": true,    "maxPerPost": 1  },  "group": {    "id": "string",    "name": "string",    "externalId": "string",    "isDefault": true  },  "platforms": [    "bluesky"  ],  "feeds": [    {      "url": "string",      "title": "string",      "connectedAt": "string"    }  ],  "reviewSources": [    {      "platform": "appstore",      "id": "string",      "url": "string",      "countries": [        "string"      ],      "language": "string",      "connectedAt": "string"    }  ],  "context": "string",  "matching": {    "requiredTerms": [      "string"    ],    "requiredMode": "any",    "excludedTerms": [      "string"    ],    "excludedAuthors": [      "string"    ],    "caseSensitive": true  },  "stats": {    "mentions": 0,    "relevant": 0,    "last7d": 0,    "thisMonth": 0,    "lastMentionAt": "string",    "feedback": {      "relevant": 0,      "notRelevant": 0    },    "noise": {      "scored": 0,      "relevant": 0,      "noisy": true    },    "health": "healthy",    "cost": {      "keywordDays": 0,      "keywordCents": 0,      "billableMentions": 0,      "mentionCents": 0,      "billableComments": 0,      "commentCents": 0,      "totalCents": 0    }  },  "polling": [    {      "platform": "bluesky",      "lastPolledAt": "string",      "emptyPolls": 0    }  ],  "createdAt": "string"}
Was this page helpful?