Keywords
Watch a keyword
POST /v1/keywords keywords:write
Watch a query. If someone else already watches the identical query you join it; you cannot change its settings.
Request body
| Body field | Type | Meaning |
|---|---|---|
query * | string 1–500 | X search syntax, any language |
label | string | Echoed in every search.match |
response
201 created, 200 joined an existing keyword; note warns if the operator paused it. Location points at it.
Status: 201, 200, 400, 402, 403
request
curl -X POST https://api.xsignalfeed.com/v1/keywords \ -H "Authorization: Bearer xsf_your_key" -H "Content-Type: application/json" \ -d '{"query": "($SOL OR \"Solana\") -filter:retweets -filter:replies", "label": "solana"}'
response · 201 / 200
{
"id": 12,
"query": "($SOL OR \"Solana\") -filter:retweets -filter:replies",
"label": "solana",
"active": true,
"note": null
}