# Confluence Data Center — Pipedream Connect

> Enterprise teams rely on Confluence Data Center to collaborate around the clock and around the globe.

- API slug: `confluence_data_center` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Productivity
- Website: https://www.atlassian.com/enterprise/data-center/confluence
- This page (HTML): https://pipedream.com/apps/confluence-data-center
- Tools: 8 actions · 5 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: confluence_data_center`

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

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:
const result = await mcp.callTool({
  name: "confluence_data_center-create-content",
  arguments: {
    type: "Type",
    title: "Title",
  },
})
```

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

## API proxy

For a Confluence Data Center 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.example.com/v1/me

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuZXhhbXBsZS5jb20vdjEvbWU?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: "confluence_data_center-create-content",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    confluence_data_center: { authProvisionId: "apn_xxxxxxx" },
    type: "Type",
    title: "Title",
  },
})
```

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

## Actions (8)

### `confluence_data_center-create-content` — Create Content (Write)

Creates a new page or blogpost in Confluence Data Center. See the documentation

Full schema: https://pipedream.com/apps/confluence-data-center/actions/create-content.md

### `confluence_data_center-delete-content` — Delete Content (Write)

Deletes a page or blogpost in Confluence Data Center. See the documentation

Full schema: https://pipedream.com/apps/confluence-data-center/actions/delete-content.md

### `confluence_data_center-get-page-by-id` — Get Page by ID (Read-only)

Retrieve a page by its ID. See the documentation

Full schema: https://pipedream.com/apps/confluence-data-center/actions/get-page-by-id.md

### `confluence_data_center-get-pages` — Get Pages (Read-only)

Retrieve a list of pages in Confluence Data Center. See the documentation

Full schema: https://pipedream.com/apps/confluence-data-center/actions/get-pages.md

### `confluence_data_center-list-space-key-options` — List Space Key Options (Read-only)

Retrieves available options for the Space Key field.

Full schema: https://pipedream.com/apps/confluence-data-center/actions/list-space-key-options.md

### `confluence_data_center-list-type-options` — List Type Options (Read-only)

Retrieves available options for the Type field.

Full schema: https://pipedream.com/apps/confluence-data-center/actions/list-type-options.md

### `confluence_data_center-search-content` — Search Content (Read-only)

Search for content in Confluence Data Center. See the documentation

Full schema: https://pipedream.com/apps/confluence-data-center/actions/search-content.md

### `confluence_data_center-update-content` — Update Content (Write)

Updates a page or blogpost in Confluence Data Center. See the documentation

Full schema: https://pipedream.com/apps/confluence-data-center/actions/update-content.md

## Triggers (5)

### `confluence_data_center-blogpost-updated` — Blogpost Updated (Instant) (Instant)

Emit new event when a blogpost is updated in Confluence Data Center.

Full schema: https://pipedream.com/apps/confluence-data-center/triggers/blogpost-updated.md

### `confluence_data_center-new-blogpost-created` — New Blogpost Created (Instant) (Instant)

Emit new event when a new blogpost is created in Confluence Data Center.

Full schema: https://pipedream.com/apps/confluence-data-center/triggers/new-blogpost-created.md

### `confluence_data_center-new-page-created` — New Page Created (Instant) (Instant)

Emit new event when a new page is created in Confluence Data Center.

Full schema: https://pipedream.com/apps/confluence-data-center/triggers/new-page-created.md

### `confluence_data_center-new-webhook-event` — New Webhook Event (Instant) (Instant)

Emit new event when a webhook event is received from Confluence Data Center.

Full schema: https://pipedream.com/apps/confluence-data-center/triggers/new-webhook-event.md

### `confluence_data_center-page-updated` — Page Updated (Instant) (Instant)

Emit new event when a page is updated in Confluence Data Center.

Full schema: https://pipedream.com/apps/confluence-data-center/triggers/page-updated.md

---

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