Expand description
Routine webhook deliver channel: one JSON POST to a session’s preconfigured routine URL.
Moved here from mail4agent’s post_routine_json (2026-10-13): the messenger no longer makes
HTTP calls to routines; the host (hatchery node) delivers through this.
One attempt, 8 seconds, no redirects. 2xx means the routine took the letter. The key goes as
Authorization: Bearer and X-Automation-Key; neither the key nor the URL is ever put in an
error.
Enums§
- Routine
Error - Why a routine POST failed.
Displaynever carries the URL or the key.
Functions§
- bearer_
token Some(token)for a usable key,Nonefor blank;Errfor an unsafe one.- post_
routine_ json - POSTs
bodyonce tourlwith the optional routine key. - url_ok
http(s)://host[...], no userinfo, no control characters, bounded length.