Sign in

Create alert

documented

Create a new alert for the given account.

POST /api/accounts/{account_id}/alertsAlertsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.mention.net/api/accounts/{{$account_id}}/alerts" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept-Version: 1.19" \
  -d '{"name": "{{$name}}", "query": {"type": "basic", "included_keywords": ["{{$keyword1}}", "{{$keyword2}}"]}, "languages": ["{{$languages}}"], "countries": ["{{$countries}}"], "sources": ["{{$sources}}"], "blocked_sites": ["{{$blocked_site}}"], "noise_detection": {{$noise_detection}}, "reviews_pages": ["{{$reviews_pages}}"] }'"