---
title: "Import & Export"
description: "Move webhooks and chains between sites as a portable JSON document."
url: "https://wpwebhooks.org/docs/import-export/"
---

[WP Webhooks](https://wpwebhooks.org/) / [Docs](https://wpwebhooks.org/docs/) / Import & Export

Feature since v2.4.0

# Import & Export

Move webhooks and chains between sites as a portable JSON document.

Export any webhook or chain — with its triggers, field mapping, conditions, and (with Pro) its Code Glue snippets — to a single JSON file, then import it into another site. Imports are validated against a strict schema and reported per item, so a malformed or partial document fails safely instead of half-applying. Reusable auth credentials travel as write-only references (never the secret), so nothing sensitive leaves the source site.

## What travels

Each exported webhook carries its endpoint, HTTP method, headers, URL params, retry/backoff settings, and every trigger with its field mapping and conditions. Chains carry their links and per-link conditions. With Webhook Actions Pro active, each trigger also carries its pre/post Code Glue snippets via the `fswa_export_trigger` filter, restored on the other side by `fswa_import_trigger`.

## Safe by design

The importer rejects unknown top-level keys unless a companion feature opts them in via `fswa_import_extra_root_keys`. Credentials are exported as references with a masked hint only — the encrypted secret is never included, so an imported webhook prompts you to supply or map its credential on the target site.

/ Related

[fswa\_export\_doc](https://wpwebhooks.org/docs/fswa-export-doc/)[fswa\_export\_trigger](https://wpwebhooks.org/docs/fswa-export-trigger/)[fswa\_import\_trigger](https://wpwebhooks.org/docs/fswa-import-trigger/)[Webhook Chains](https://wpwebhooks.org/docs/webhook-chains/)

/Ready

## Your next automation is  
one sentence away.

[Install Plugin→](https://wordpress.org/plugins/flowsystems-webhook-actions/) [See the Plugin →](https://wpwebhooks.org/wordpress-webhook-plugin/)

$ wp plugin install flowsystems-webhook-actions --activate

## Structured data

```json
{"@context":"https://schema.org","@type":"TechArticle","name":"Import & Export — Feature — Webhook Actions Docs","description":"Move webhooks and chains between sites as a portable JSON document.","url":"https://wpwebhooks.org/docs/import-export/","isPartOf":{"@type":"WebSite","name":"WP Webhooks","url":"https://wpwebhooks.org"},"about":{"@type":"SoftwareApplication","name":"Webhook Actions","applicationCategory":"WordPress Plugin"}}
```
