WRITE · 4 operations · may change data
Push an app notification, system SMS or system email to an internal agent, or fire an opportunity alert.
Recipients are always internal agents, never leads.
agent_id targets a specific teammate for channel: "sms" and channel: "email" only — the
teammate must be on the caller’s own team. app_push and opportunity_alert never accept a
redirect: app_push always notifies the assignee of the given task_id, and
opportunity_alert always resolves its recipient from the named lead_id. This is by design,
not a gap — both of those exist to notify the person actually responsible for a task or a lead,
and letting a caller redirect that to an unrelated third party would defeat the point of the
channel rather than extend it.
Each channel also needs its own extra parameter: