Skip to main content
POST
Accept a keyword suggestion

Authorizations

Authorization
string
header
required

Clerk API key. Create one in Settings → API Keys. Pass as Authorization: Bearer <key>.

Body

application/json

Apply a suggestion to the keyword's config.

suggestionId
integer
required

Suggestion id to accept.

Required range: -9007199254740991 <= x <= 9007199254740991
modifiedValue
string

Override the suggested value before applying it — useful when the user wants to accept the direction but tweak the exact text.

Maximum string length: 2000

Response

200 response

success
boolean
required
appliedChanges
object
required

Map of keyword fields that were changed to their new values (e.g. { "excludeWords": "spam,scam" }). Shape depends on the suggestion type.