Webhook trigger endpoint returns 401

Same issue here. I trigger automations programmatically from a self-hosted agent running on a VPS. Started getting the same ERROR_NOT_LOGGED_IN / 500 responses on April 3-4.

Confirmed:

  • API key authenticates fine (GET /v0/agents returns 200)

  • POST to both api2.cursor.sh/automations/webhook/ and api.cursor.com/v0/agents return 500

  • Manual trigger from the dashboard UI still works

  • Regenerating API keys doesn’t help

  • Plan upgrade doesn’t help

Appreciate the quick acknowledgement. Following for the fix.