> ## Documentation Index
> Fetch the complete documentation index at: https://docs.suprsend.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sync Assets

> Sync notification assets like workflows, schemas, events, categories, and translations from a source SuprSend workspace to a destination workspace.

Sync notification assets from one workspace to another. Pulls assets from the source workspace and pushes them to the destination. Supports syncing all asset types or a specific type (workflow, schema, event, category, translation). Source and destination workspaces must be different.

## Syntax

```bash theme={"system"}
suprsend sync [flags]
```

## Flags

| Flag | Description | Default |
| - | - | - |
| `-a, --assets string` | Asset types to sync: `all`, `workflow`, `template`, `schema`, `event`, `category`, or `translation` | `all` |
| `-f, --from string` | Source workspace to pull assets from | `staging` |
| `-m, --mode string` | Version mode: draft or live | `live` |
| `-t, --to string` | Destination workspace to push assets to | `production` |
| `-d, --dir string` | Local directory for intermediate file storage during sync | – |
| `-h, --help` | Show help for the command | – |

## Example

```bash theme={"system"}
# Sync all assets from staging to production
suprsend sync

# Sync all assets between custom workspaces
suprsend sync --from dev-staging --to dev-production

# Sync workflows from staging to production
suprsend sync --assets workflow

# Sync draft schemas from staging to production
suprsend sync --assets schema --mode draft
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.