---
title: "Integrations - PubNub"
url: "https://docs.unified.to/integrations/pubnub"
description: "Build PubNub integrations faster with our Unified API — Messaging data, API key, real-time sync."
date: "2026-11-24T21:03:15.660Z"
updated: "2026-11-24T21:03:15.660Z"
---

# PubNub integration

> What this integration supports through the Unified.to API, by object. Live data: `GET https://api.unified.to/unified/integration?type=pubnub` with your workspace API key (or Core MCP `list_unified_integrations` with `type: "pubnub"`). All integrations: https://docs.unified.to/integrations.md

## Overview

- **Type:** `pubnub`
- **Categories:** [Messaging](https://docs.unified.to/messaging/overview.md), [HR & Directory](https://docs.unified.to/hris/overview.md), [Passthrough](https://docs.unified.to/passthrough/overview.md)
- **Website:** https://www.pubnub.com
- **Vendor API docs:** https://www.pubnub.com/docs/sdks/rest-api
- **Launched:** 2026-11-23

## How end users connect

- **API key** entered by the end user: `User ID`, `Subscribe Key`, `Publish Key`, `Access Manager Token (optional)`
    - A client identifier (UUID) of up to 92 characters that PubNub records as the sender of published messages, for example "unified-server".
    - The subscribe key of your keyset, from the PubNub Admin Portal (Apps → Keysets).
    - The publish key of the same keyset, from the PubNub Admin Portal.
    - Only if Access Manager is enabled on the keyset: a token granting read / write / delete / get / update on the channels and users you use.

## MCP tools

The Unified MCP server (https://docs.unified.to/mcp/core.md) gives an AI agent these tools for a PubNub connection. Preview the catalog, with input schemas, without an API key: `https://mcp-api.unified.to/mcp?integration_type=pubnub` (or `GET https://api.unified.to/tools?integration_type=pubnub`).

| Tool | Object | Method |
| --- | --- | --- |
| `list_hris_employees` | [hris_employee](#hris_employee) | list |
| `get_hris_employee` | [hris_employee](#hris_employee) | get |
| `update_hris_employee` | [hris_employee](#hris_employee) | update |
| `remove_hris_employee` | [hris_employee](#hris_employee) | remove |
| `list_messaging_channels` | [messaging_channel](#messaging_channel) | list |
| `get_messaging_channel` | [messaging_channel](#messaging_channel) | get |
| `update_messaging_channel` | [messaging_channel](#messaging_channel) | update |
| `remove_messaging_channel` | [messaging_channel](#messaging_channel) | remove |
| `list_messaging_messages` | [messaging_message](#messaging_message) | list |
| `get_messaging_message` | [messaging_message](#messaging_message) | get |
| `create_messaging_message` | [messaging_message](#messaging_message) | create |
| `remove_messaging_message` | [messaging_message](#messaging_message) | remove |

## Supported objects

| Object | Methods | Webhooks |
| --- | --- | --- |
| [hris_employee](#hris_employee) | list, get, update, remove | created, updated |
| [messaging_channel](#messaging_channel) | list, get, update, remove | created, updated |
| [messaging_message](#messaging_message) | list, get, create, remove | none |
| [passthrough](#passthrough) | none | none |

Values below come from the integration's support data. "Required list filters" must be sent on list calls; "Required on create" fields must be sent when creating. Webhook events are `native` (pushed by the vendor) or `virtual` (polled by Unified.to). Anything not listed is not supported; an unsupported method returns `501`.

### hris_employee

- **Methods:** `list`, `get`, `update`, `remove`
- **MCP tools:** `list_hris_employees`, `get_hris_employee`, `update_hris_employee`, `remove_hris_employee`
- **Webhooks:** `created` (virtual), `updated` (virtual)
- **Virtual webhook filters:** `virtual_webhook_limit`, `virtual_webhook_updated_gte`
- **List filters:** `list_limit`, `list_offset`, `list_query`, `list_updated_gte`
- **Readable fields:** `emails`, `employee_number`, `first_name`, `id`, `image_url`, `last_name`, `name`, `updated_at`
- **Writable fields:** `emails`, `employee_number`, `image_url`, `name`
- **Vendor objects:** `user`
- **Model:** https://docs.unified.to/hris/employee/model.md

### messaging_channel

- **Methods:** `list`, `get`, `update`, `remove`
- **MCP tools:** `list_messaging_channels`, `get_messaging_channel`, `update_messaging_channel`, `remove_messaging_channel`
- **Webhooks:** `created` (virtual), `updated` (virtual)
- **Virtual webhook filters:** `virtual_webhook_limit`, `virtual_webhook_updated_gte`
- **List filters:** `list_limit`, `list_offset`, `list_query`, `list_updated_gte`
- **Readable fields:** `description`, `id`, `name`, `updated_at`
- **Writable fields:** `description`, `name`
- **Vendor objects:** `channel`
- **Model:** https://docs.unified.to/messaging/channel/model.md

### messaging_message

- **Methods:** `list`, `get`, `create`, `remove`
- **MCP tools:** `list_messaging_messages`, `get_messaging_message`, `create_messaging_message`, `remove_messaging_message`
- **Webhooks:** none
- **List filters:** `list_end_lt`, `list_limit`, `list_offset`, `list_start_gte`
- **Required list filters:** `list_channel_id`
- **Readable fields:** `author_member`, `channels`, `created_at`, `id`, `message`
- **Writable fields:** `channels`, `message`
- **Required on create:** `channels`, `message`
- **Vendor objects:** `message`
- **Model:** https://docs.unified.to/messaging/message/model.md

### passthrough

- **Methods:** none
- **Webhooks:** none
- **Readable fields:** none
- **Writable fields:** none
