POST · alerts:write
Create alert
Create an email alert rule targeting keyword groups, individual keywords, or one exact mentioning account, while enforcing the workspace alert cap and owner-only recipient policy. No separate email verification is required. Digests and custom alerts share a daily limit of 3 emails for trial workspaces and 30 for paid workspaces, resetting at midnight UTC.
REST
/api/v1/alertscurl "https://www.stalkr.ai/api/v1/alerts" \
--request POST \
--header "Authorization: Bearer $STALKR_API_KEY" \
--header "Content-Type: application/json" \
--header "Idempotency-Key: unique-operation-key"MCP
Tool name: create_alert
The MCP tool accepts the same input schema and returns the same structured { data, meta } result as REST.
Input
projectIdrequiredstring | null
namerequiredstring
typerequiredstring
activerequiredboolean
channelsrequiredarray
Exactly one email channel; Stalkr delivers alerts only to the workspace owner
digestobject
filtersobject
idempotencyKeystring
Unique key used to safely retry this write operation
Safe retries
idempotencyKey to the MCP tool or Idempotency-Key to REST when retrying this write.Authorization
Required scope: alerts:write.
Scope authorization is followed by resource authorization. Project operations check current membership and the minimum role required by the underlying workflow.