Skip to content
View as Markdown
Enter your site to enable Send. Requests are sent from your browser, so the site must allow cross-origin calls (CORS).

POST Export Automation​

POST
/funnels/{id}/export

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​

ApplicationPasswords

WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password

Type
API Key (header: Authorization)

Parameters​

Path Parameters

id*

Automation (funnel) ID.

Type
integer
Required

Request Body​

application/x-www-form-urlencoded
object

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.

application/json

Playground​

Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI