Skip to content

docs: add websocket authentication and generic handler documentation#746

Open
mattshep wants to merge 5 commits intomainfrom
ms/generic-websockets-handler-hmac-auth
Open

docs: add websocket authentication and generic handler documentation#746
mattshep wants to merge 5 commits intomainfrom
ms/generic-websockets-handler-hmac-auth

Conversation

@mattshep
Copy link
Copy Markdown
Contributor

New pages:

  • WebSocket Authentication guide: config, token flow, delivery methods, telephony intermediary pattern
  • Generic WebSocket guide: endpoint format, auth modes, when to use

Updates:

  • deploy.mdx: add websocket_auth to pcc-deploy.toml reference
  • security-and-compliance.mdx: add WebSocket Security section
  • openapi-start.json: add "websocket" transport, token/wsUrl response fields
  • docs.json: register new pages in navigation

New pages:
- WebSocket Authentication guide: config, token flow, delivery methods,
  telephony intermediary pattern
- Generic WebSocket guide: endpoint format, auth modes, when to use

Updates:
- deploy.mdx: add websocket_auth to pcc-deploy.toml reference
- security-and-compliance.mdx: add WebSocket Security section
- openapi-start.json: add "websocket" transport, token/wsUrl response fields
- docs.json: register new pages in navigation
@mattshep mattshep self-assigned this Apr 17, 2026
@mintlify
Copy link
Copy Markdown

mintlify bot commented Apr 17, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
daily 🟢 Ready View Preview Apr 17, 2026, 7:55 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

- Default is now "none" (opt-in to auth), not "token"
- Replace intermediary server pattern with Twilio Function example
  showing how to call /start directly from the webhook handler
- Remove old/new service default distinction (all default to none)
@mattshep mattshep requested a review from markbackman April 20, 2026 16:50
@mattshep mattshep marked this pull request as ready for review April 20, 2026 16:50
@@ -0,0 +1,87 @@
---
title: Telephony Overview
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this new guide to help tie together the telephony section. It's not related to the change, but was a good opportunity to add it.

@@ -0,0 +1,55 @@
---
title: Generic WebSocket
Copy link
Copy Markdown
Contributor

@markbackman markbackman Apr 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new top-level page highlighting the generic websocket endpoint.

I'm keeping this separate from the auth page since we're linking to the auth page from a few places.

The generic WebSocket endpoint isn't telephony-specific — it also
supports server-to-server and custom client integrations. Move it to a
top-level guide and group it with websocket-authentication in the
sidebar. Add a Pipecat Cloud telephony overview that compares the
WebSocket providers, generic fallback, and Daily PSTN options so readers
land somewhere orienting instead of Twilio by default. Redirect the old
URL to keep existing links working.
@markbackman markbackman force-pushed the ms/generic-websockets-handler-hmac-auth branch from e0a0a8e to c12f017 Compare April 21, 2026 01:31
Copy link
Copy Markdown
Contributor

@markbackman markbackman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants