Support for workflow-level token restrictions?
# support
s
Hey folks 👋 Quick question — I see token restrictions support things like allowedOrigins, allowedAssistantIds, and allowTransientAssistant. Is there anything similar for workflows, like allowedWorkflowIds or allowTransientWorkflow? Do these fields already exist or are they not supported yet? For example, something like: const payload = { orgId: process.env.ORG_ID, token: { tag: "public", restrictions: { enabled: true, allowedOrigins: ["https://example.vapi.ai"], // hypothetical workflow-level restrictions allowedWorkflowIds: ["a1b2c3d4-5678-90ef-ghij-1234567890ab"], allowTransientWorkflow: false } } };
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
Hi Samyak Jain, For your inquiry about workflow-level token restrictions, Vapi currently supports the integration of OAuth 2 authentication for custom LLM models and webhooks. This can help manage access tokens and ensure secure authentication. You can configure authentication using the
authenticationPlan
within your server's webhook setup. For more details, you may refer to the [December 6, 2024 changelog documentation](https://docs.vapi.ai/changelog/2024/12/6) where OAuth 2 authentication is described for secure access. If you have further questions about configuring or any issues specific to your setup, please let me know.
2 Views