Skip to content

VAP15-54 docs: document subsystem server credentials - #1223

Draft
jeffrey-hoekman-vapi wants to merge 3 commits into
mainfrom
jeffhoekman/vap15-54-message-options-server-overrides
Draft

jeffrey-hoekman-vapi wants to merge 3 commits into
mainfrom
jeffhoekman/vap15-54-message-options-server-overrides

Conversation

@jeffrey-hoekman-vapi

@jeffrey-hoekman-vapi jeffrey-hoekman-vapi commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Documents credential withholding for subsystem server URLs (tools, knowledge bases, custom voices, handoff and transfer destinations, custom endpointing, apiRequest tools, and MCP), per VAPSEC-627.

Draft, not ready to merge. The behavior lands with the VAPSEC-627 stack, which is still open.

Changes

  • fern/server-url/server-authentication.mdx, new #### Subsystem server URLs subsection:
    • the requests that go to a subsystem's own URL rather than the assistant's webhook URL
    • the rule: when a transient assistant or assistantOverrides supplies a server URL or credentialId for any subsystem, the org credential is withheld from every subsystem request on that assistant whose URL differs from the webhook URL, including the saved assistant's own tools, voice, and knowledge base
    • what a withheld request carries: no org secret / headers / credential, a request credentialId ignored, the caller's own secret and headers still sent, payload redacted
    • chat sessions keep the setting across resume and handoff
    • a <Warning> on the saved-assistant consequence
  • Same file, #### Confirming a withheld send in your logs: the second log entry, Assistant credentials withheld from <destination>: this assistant carries server configuration this request supplied.
  • fern/squads/handoff/destinations.mdx: a <Warning> before the dynamic-handoff examples linking to that anchor, the missing Authorization header on the intelligent-routing example, and YOUR_API_KEY renamed to YOUR_WEBHOOK_TOKEN in both examples so it doesn't read as a Vapi API key.

Merge gate

Merge only after all of these have merged:

  • VAPSEC-627: VapiAI/vapi#19542, VapiAI/vapi#19596, VapiAI/vapi#19630, VapiAI/vapi#19823, VapiAI/vapi#25960
  • VAPSEC-792 (MCP tool discovery at call start): VapiAI/vapi#26291. The MCP bullet assumes this ships with the 627 stack.
  • The 627 creation-cutoff PR. A rollout <Note> for this section gets added here once that PR is up. Until then the 2026-09-23 Note above this section reads as if it applies here, so do not merge without it.

Re-verify before merge

These come from the 627 PR descriptions, not from merged code:

  • "Overrides that set only variableValues don't trigger this": VapiAI/vapi#19542 also excludes a server block carrying only secret / headers; decide whether to document that
  • withholding applies only when the request URL differs from the assistant's webhook URL (VapiAI/vapi#19596)
  • whether the VapiAI/vapi#19596 sender path logs the second entry or reuses the webhook one

Notes

Refs VAP15-54, VAPSEC-627, VAPSEC-792.

🤖 Generated with Claude Code

@github-actions

Copy link
Copy Markdown
Contributor


Some webhooks go to a URL owned by a subsystem rather than to your assistant's webhook URL - a tool, a knowledge base, a custom voice, a dynamic handoff or transfer destination, or a custom endpointing provider each carry their own `server` block:

| Webhook | Server it is sent to |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

consider a one-dimensional list here, unless you feel that makes the behavior of function-call unclear

Comment thread fern/squads/handoff.mdx Outdated
"url": "https://api.example.com/intelligent-routing"
"url": "https://api.example.com/intelligent-routing",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

this should probably be renamed to distinguish it from the Vapi org API key. Maybe something like WEBHOOK_AUTH_SIGNATURE or OUTBOUND_PROVIDER_AUTH_KEY?

@jeffrey-hoekman-vapi
jeffrey-hoekman-vapi force-pushed the jeffhoekman/vap15-53-webhook-credentials-withheld-caller-supplied-server-url branch from 056e643 to a2c1858 Compare September 16, 2026 18:01
@jeffrey-hoekman-vapi
jeffrey-hoekman-vapi force-pushed the jeffhoekman/vap15-54-message-options-server-overrides branch from cfe3c41 to 779ae5a Compare September 16, 2026 18:22
@jeffrey-hoekman-vapi jeffrey-hoekman-vapi changed the title VAP15-54 docs(server-url): document credential withholding for subsystem server urls VAP15-54 docs: document subsystem server credentials Sep 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@jeffrey-hoekman-vapi
jeffrey-hoekman-vapi force-pushed the jeffhoekman/vap15-54-message-options-server-overrides branch from 779ae5a to 76b3bd2 Compare September 16, 2026 19:40
@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

jeffrey-hoekman-vapi and others added 3 commits November 12, 2026 10:38
Extends VAP15-53 to the webhooks that go to a subsystem's own server
rather than the assistant's webhook url - tools, knowledge bases,
custom voices, dynamic handoff and transfer destinations, and custom
endpointing providers.

The rule is provenance inheritance: a subsystem server follows the
assistant carrying it. A saved assistant keeps org credentials; a
transient assistant or assistantOverrides is caller-authored and gets
none. Calls out the mixed case, a saved assistant with an overridden
voice, tools or knowledge base.

Also gives the intelligent-routing handoff example an Authorization
header. It was the only dynamic-destination example teaching a bare
unauthenticated server url, directly under one that has auth. That
content now lives in squads/handoff/destinations.mdx, which main split
out of the handoff page.

Provisional: VAPSEC-627 (#19542) is unreviewed and still changing.
Re-verify the table and the inheritance rule against the merged
behavior before this ships.

Refs VAP15-54, VAPSEC-627

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Same §9 fix Steve applied across VAP15-53: a spaced hyphen standing in
for a dash becomes a period, with the colon left to introduce the table.
Also fixes the number disagreement the dash was hiding - "a tool, a
knowledge base ... each carry" now reads as plurals throughout.

Refs VAP15-54

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Withholding is decided per assistant: one caller-supplied server in
assistantOverrides withholds the org credential from every subsystem
request on that assistant, saved tools included. Add apiRequest and MCP
requests, list what is withheld, document the second log entry, and
rename the handoff example token placeholder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jeffrey-hoekman-vapi
jeffrey-hoekman-vapi changed the base branch from jeffhoekman/vap15-53-webhook-credentials-withheld-caller-supplied-server-url to main November 12, 2026 15:40
@jeffrey-hoekman-vapi
jeffrey-hoekman-vapi force-pushed the jeffhoekman/vap15-54-message-options-server-overrides branch from 11f7f9f to 019d656 Compare November 12, 2026 15:40
@github-actions

Copy link
Copy Markdown
Contributor

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants