# Zamzar — Pipedream Connect

> Online file conversion website.

- API slug: `zamzar` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: File Storage
- Website: https://developers.zamzar.com/
- This page (HTML): https://pipedream.com/apps/zamzar
- Tools: 3 actions · 3 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: zamzar`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "zamzar",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Create Content File:
const result = await mcp.callTool({
  name: "zamzar-create-content-file",
  arguments: {
    name: "File Name",
    content: "Source File Path or URL",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a Zamzar endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.zamzar.com/v1/account

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuemFtemFyLmNvbS92MS9hY2NvdW50?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "zamzar-create-content-file",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    zamzar: { authProvisionId: "apn_xxxxxxx" },
    name: "File Name",
    content: "Source File Path or URL",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (3)

### `zamzar-create-content-file` — Create Content File (Write)

Creates a file from the provided content. See the documentation

Full schema: https://pipedream.com/apps/zamzar/actions/create-content-file.md

### `zamzar-retrieve-job` — Retrieve Job (Read-only)

Finds the file that has been processed under the specified job id. See the documentation

Full schema: https://pipedream.com/apps/zamzar/actions/retrieve-job.md

### `zamzar-start-job-from-file` — Start Job From File (Write)

Starts a conversion job and upload a source file in a single request. See the documentation

Full schema: https://pipedream.com/apps/zamzar/actions/start-job-from-file.md

## Triggers (3)

### `zamzar-new-conversion-job` — New Conversion Job (Polling)

Emit new event when a conversion job has completed. See the documentation

Full schema: https://pipedream.com/apps/zamzar/triggers/new-conversion-job.md

### `zamzar-new-file` — New File (Polling)

Emit new event when a file has been converted successfully. See the documentation

Full schema: https://pipedream.com/apps/zamzar/triggers/new-file.md

### `zamzar-watch-completed-conversion-jobs` — Watch Completed Conversion Jobs (Polling)

Emit new event as soon as a conversion job has been completed. See the documentation

Full schema: https://pipedream.com/apps/zamzar/triggers/watch-completed-conversion-jobs.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
