# Seven — Pipedream Connect

> Professional solutions for your SMS sending and receiving. Online, via API, by email or directly in your app.

- API slug: `seven` (use in MCP headers and tool keys)
- Auth: OAuth (Pipedream-managed)
- Categories: Communication
- Website: https://www.seven.io/en/
- Managed OAuth scopes: `analytics` · `balance` · `contacts` · `lookup` · `hooks` · `sms` · `status` · `subaccounts` · `voice`
- This page (HTML): https://pipedream.com/apps/seven
- Tools: 7 actions · 2 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: seven`

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

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

const { tools } = await mcp.listTools()

// e.g. run Get Analytics:
const result = await mcp.callTool({
  name: "seven-get-analytics",
  arguments: {
    start: "Start Date",
    end: "End Date",
  },
})
```

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

## API proxy

For a Seven 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://oauth.sms77.io/me

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9vYXV0aC5zbXM3Ny5pby9tZQ?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: "seven-get-analytics",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    seven: { authProvisionId: "apn_xxxxxxx" },
    start: "Start Date",
    end: "End Date",
  },
})
```

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

## Actions (7)

### `seven-get-analytics` — Get Analytics (Read-only)

Retrieve account statistics (SMS, RCS, voice, HLR, usage). See the documentation

Full schema: https://pipedream.com/apps/seven/actions/get-analytics.md

### `seven-list-subaccounts-options` — List Subaccounts Options (Read-only)

Retrieves available options for the Subaccounts field.

Full schema: https://pipedream.com/apps/seven/actions/list-subaccounts-options.md

### `seven-lookup-cnam` — Lookup CNAM (Read-only)

Look up caller name information via Seven. See the documentation

Full schema: https://pipedream.com/apps/seven/actions/lookup-cnam.md

### `seven-lookup-format` — Lookup Format (Read-only)

Look up phone number formatting via Seven. See the documentation

Full schema: https://pipedream.com/apps/seven/actions/lookup-format.md

### `seven-lookup-hlr` — Lookup HLR (Write)

Look up home location register information via Seven. See the documentation

Full schema: https://pipedream.com/apps/seven/actions/lookup-hlr.md

### `seven-make-tts-call` — Make TTS Call (Write)

Make a text-to-speech call via Seven. See the documentation

Full schema: https://pipedream.com/apps/seven/actions/make-tts-call.md

### `seven-send-sms` — Send SMS (Write)

Send SMS via Seven. See the documentation

Full schema: https://pipedream.com/apps/seven/actions/send-sms.md

## Triggers (2)

### `seven-new-incoming-call-instant` — New Incoming Call (Instant) (Instant)

Emit new event when a voice call occurs. See the documentation

Full schema: https://pipedream.com/apps/seven/triggers/new-incoming-call-instant.md

### `seven-new-incoming-sms-instant` — New Incoming SMS (Instant) (Instant)

Emit new event when a new inbound SMS is received. See the documentation

Full schema: https://pipedream.com/apps/seven/triggers/new-incoming-sms-instant.md

---

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