POST Export Automation
Download an automation (funnel) with its sequences as importable JSON (<title>-<id>.json). Requires the manage_options WordPress capability — stricter than the rest of the funnel routes. Submit as a form with a _wpnonce REST nonce; the server streams the file and ends the request.
Required capability: manage_options
Enforced by FunnelPolicy::exportFunnel().
Authorizations
WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password
Parameters
Path Parameters
Automation (funnel) ID.
Request Body
A wp_rest nonce (wp_create_nonce('wp_rest')). Required — without a valid one the route returns 403 before any data is read. The admin UI submits it in a temporary form body so it never appears in a URL.
Responses
The export streams back as a file attachment (<title>-<id>.json); the response is not wrapped in the usual JSON envelope.