# Pingback — Pipedream Connect

> Marketing Automation Platform

- API slug: `pingback` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Marketing
- Website: https://pingback.com
- This page (HTML): https://pipedream.com/apps/pingback
- Tools: 5 actions · 0 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: pingback`

```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": "pingback",
      },
    },
  },
)

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

const { tools } = await mcp.listTools()

// e.g. run Add Subscriber To Segmentation Lists:
const result = await mcp.callTool({
  name: "pingback-add-subscriber-to-segmentation-lists",
  arguments: {
    email: "Email",
    segmentationLists: ["Segmentation Lists"],
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.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: "pingback-add-subscriber-to-segmentation-lists",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    pingback: { authProvisionId: "apn_xxxxxxx" },
    email: "Email",
    segmentationLists: ["Segmentation Lists"],
  },
})
```

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

## Actions (5)

### `pingback-add-subscriber-to-segmentation-lists` — Add Subscriber To Segmentation Lists (Write)

Add a subscriber to segmentation lists by email See the documentation

Full schema: https://pipedream.com/apps/pingback/actions/add-subscriber-to-segmentation-lists.md

### `pingback-create-subscriber` — Create Subscriber (Write)

Create a new subscriber See the documentation

Full schema: https://pipedream.com/apps/pingback/actions/create-subscriber.md

### `pingback-get-subscriber` — Get Subscriber (Read-only)

Get a subscriber by email See the documentation

Full schema: https://pipedream.com/apps/pingback/actions/get-subscriber.md

### `pingback-remove-subscriber-from-segmentation-list` — Remove Subscriber From Segmentation List (Write)

Remove a subscriber from a segmentation list by email See the documentation

Full schema: https://pipedream.com/apps/pingback/actions/remove-subscriber-from-segmentation-list.md

### `pingback-update-subscriber` — Update Subscriber (Write)

Update a specific subscriber by email See the documentation

Full schema: https://pipedream.com/apps/pingback/actions/update-subscriber.md

---

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