# Universal API — Pipedream Connect

> Unlock the full potential of the IT universe with our one-stop API.

- API slug: `universal_api` (use in MCP headers and tool keys)
- Auth: OAuth (Pipedream-managed)
- Categories: Developer Tools
- Website: https://www.universalapi.io
- This page (HTML): https://pipedream.com/apps/universal-api
- Tools: 27 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: universal_api`

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

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

const { tools } = await mcp.listTools()

// e.g. run Create Consumer:
const result = await mcp.callTool({
  name: "universal_api-create-consumer",
  arguments: {
    name: "Name",
  },
})
```

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

## API proxy

For a Universal API 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: "universal_api-create-consumer",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    universal_api: { authProvisionId: "apn_xxxxxxx" },
    name: "Name",
  },
})
```

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

## Actions (27)

### `universal_api-create-consumer` — Create Consumer (Write)

Create a new consumer via the Platform API on Universal API. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/create-consumer.md

### `universal_api-create-distributor-order` — Create Distributor Order (Write)

Create a new order via the Distributors API on Universal API. Use List Distributor Products to discover valid product identifiers for the order items. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/create-distributor-order.md

### `universal_api-delete-connection` — Delete Connection (Write)

Permanently delete a connection identified by universalApi and serviceId via the Platform API on Universal API. This is irreversible. Run List Connections first to find the correct serviceId. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/delete-connection.md

### `universal_api-delete-consumer` — Delete Consumer (Write)

Permanently delete a consumer via the Platform API on Universal API. This is irreversible. Run List Consumers first to find the consumer ID. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/delete-consumer.md

### `universal_api-get-connection` — Get Connection (Read-only)

Retrieve a single connection identified by universalApi and serviceId from the Platform API on Universal API. Run List Connections first to find the correct serviceId. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/get-connection.md

### `universal_api-get-distributor-order` — Get Distributor Order (Read-only)

Retrieve a single distributor order by ID from Universal API. Run List Distributor Orders first to discover valid IDs. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/get-distributor-order.md

### `universal_api-get-distributor-product` — Get Distributor Product (Read-only)

Retrieve a single distributor product by ID from Universal API. Run List Distributor Products first to discover valid IDs. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/get-distributor-product.md

### `universal_api-get-hris-employee` — Get HRIS Employee (Read-only)

Retrieve a single HRIS employee by ID from Universal API. Run List HRIS Employees first to discover valid employee IDs. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/get-hris-employee.md

### `universal_api-get-mdm-apn-cert` — Get MDM APN Certificate (Read-only)

Retrieve the APN certificate from the MDM API on Universal API. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/get-mdm-apn-cert.md

### `universal_api-get-mdm-dep-token` — Get MDM DEP Token (Read-only)

Retrieve a single DEP token by ID from the MDM API on Universal API. Run List MDM DEP Tokens first to discover valid IDs. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/get-mdm-dep-token.md

### `universal_api-get-mdm-vpp-token` — Get MDM VPP Token (Read-only)

Retrieve a single VPP token by ID from the MDM API on Universal API. Run List MDM VPP Tokens first to discover valid IDs. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/get-mdm-vpp-token.md

### `universal_api-list-am-budgets` — List Asset Management Budgets (Read-only)

List budgets from the Asset Management (AM) API on Universal API. Returns an array of budget objects. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/list-am-budgets.md

### `universal_api-list-am-employees` — List Asset Management Employees (Read-only)

List employees from the Asset Management (AM) API on Universal API. Returns an array of AM employee objects (paginated internally, up to maxResults). This hits a different endpoint than List HRIS Employees. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/list-am-employees.md

### `universal_api-list-am-equipment-items` — List Asset Management Equipment Items (Read-only)

List equipment items from the Asset Management (AM) API on Universal API. Returns an array of equipment item objects (paginated internally, up to maxResults). See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/list-am-equipment-items.md

### `universal_api-list-am-orders` — List Asset Management Orders (Read-only)

List orders from the Asset Management (AM) API on Universal API. Returns an array of AM order objects. This hits a different endpoint than List Distributor Orders. See the documentation

Full schema: https://pipedream.com/apps/universal-api/actions/list-am-orders.md

### `universal_api-list-connections` — List Connections (Read-only)

List connections from the Platform API on Universal API. Returns an array; use the returned IDs with Get Connection, Update Connection, or Delete Connection. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/list-connections.md

### `universal_api-list-consumers` — List Consumers (Read-only)

List consumers from the Platform API on Universal API. Returns an array (paginated internally, up to maxResults); use the returned IDs with Delete Consumer. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/list-consumers.md

### `universal_api-list-distributor-orders` — List Distributor Orders (Read-only)

List orders from the Distributors API on Universal API. Returns an array; use the returned IDs with Get Distributor Order. This hits a different endpoint than List Asset Management Orders. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/list-distributor-orders.md

### `universal_api-list-distributor-products` — List Distributor Products (Read-only)

List products from the Distributors API on Universal API. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/list-distributor-products.md

### `universal_api-list-hris-employees` — List HRIS Employees (Read-only)

List employees from the connected HRIS integration on Universal API. Returns an array of employee objects (paginated internally, up to maxResults); use the returned IDs with Get HRIS Employee. Provide serviceId only when the consumer has multiple active HRIS integrations. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/list-hris-employees.md

### `universal_api-list-mdm-apn-certs` — List MDM APN Certificates (Read-only)

List APN (Apple Push Notification) certificates from the MDM API on Universal API. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/list-mdm-apn-certs.md

### `universal_api-list-mdm-dep-tokens` — List MDM DEP Tokens (Read-only)

List DEP (Device Enrollment Program) tokens from the MDM API on Universal API. Returns an array; use the returned IDs with Get MDM DEP Token. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/list-mdm-dep-tokens.md

### `universal_api-list-mdm-device-apps` — List MDM Device Apps (Read-only)

List device apps from the MDM API on Universal API. Returns an array of device-app objects. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/list-mdm-device-apps.md

### `universal_api-list-mdm-devices` — List MDM Devices (Read-only)

List devices from the MDM API on Universal API. Returns an array of device objects. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/list-mdm-devices.md

### `universal_api-list-mdm-vpp-tokens` — List MDM VPP Tokens (Read-only)

List VPP (Volume Purchase Program) tokens from the MDM API on Universal API. Returns an array; use the returned IDs with Get MDM VPP Token. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/list-mdm-vpp-tokens.md

### `universal_api-track-shipment` — Track Shipment (Read-only)

Retrieve tracking statuses for a shipment by tracking ID from the Shipment API on Universal API. Provide serviceId to pick the carrier when a consumer has multiple active shipment integrations. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/track-shipment.md

### `universal_api-update-connection` — Update Connection (Write)

Update a connection identified by universalApi and serviceId via the Platform API on Universal API (PATCH; only supplied fields are changed). Run List Connections first to find the correct serviceId. See the documentation.

Full schema: https://pipedream.com/apps/universal-api/actions/update-connection.md

---

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