PATCH
/
v2
/
alerts
/
{alert_id}
Update one market alert
curl --request PATCH \
  --url https://api-v2.watchcollect.com/v2/alerts/{alert_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "enabled": true,
  "view_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "filters": {}
}
'
{
  "status": "accepted",
  "event_ids": [
    "018f06e2-4f8d-7c01-8a0d-cc6fd78f7002"
  ],
  "request_id": "018f06e2-4f8d-7c01-8a0d-cc6fd78f7001"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

alert_id
string<uuid>
required

Body

application/json
name
string
enabled
boolean
view_id
string<uuid> | null
filters
object

Alert filter object. resource: "messages" matches canonical message text without waiting for classification; resource: "watch_listings" matches classified market listings. Other keys reuse saved-view filters.

Response

Alert update event accepted. The read model is updated asynchronously by the alert projector.

status
enum<string>
required
Available options:
accepted,
duplicate_accepted,
rejected,
conflict,
noop
event_ids
string<uuid>[]
required
request_id
string
required
resource_id
string | null