Can we use Vapi for multitenant Saas?
# support
s
Hey, My question is pretty clear that could I use Vapi for multi-tenant Saas application I'm planning to build, I've seen in the docs api that we need to create org: https://docs.vapi.ai/api-reference/orgs/org-controller-find-all I need to understand that if this is feasible or not?
v
@Sarmed Absolutely, you can use Vapi for a multi-tenant SaaS application. Vapi is designed to be flexible and scalable, making it suitable for applications that serve multiple organizations or tenants. The organization (org) feature you mentioned allows you to segregate data and configurations for different tenants within your application. Each tenant would be represented as an 'org' in Vapi, and you can manage voice capabilities for each tenant independently. This setup ensures that each tenant's data and interactions are isolated and secure, which is particularly important for compliance with standards like HIPAA. If you need more detailed guidance on how to implement this or have specific questions about the process, please let me know, and I'd be happy to assist further!
You can continue this conversation by mentioning me in the message.
s
So while creating an asistant, I should be sending the orgid of the user logined, to create assistant in their org, but I can't see orgid in the request of the api: https://docs.vapi.ai/api-reference/assistants/create Let me know how things are working, show me one case study of how muti-tenant app would work with vapi apis
@Vapi
v
@Sarmed I apologize for any confusion. In a multi-tenant SaaS application using Vapi, the
orgId
is indeed a crucial piece of information to ensure that resources like assistants are correctly associated with the respective tenant. While the API reference for creating an assistant might not explicitly mention
orgId
in the request body, it is typically included in the API call's header or as a part of the URL path as a means to specify the context of the operation. This is a common practice in multi-tenant systems to maintain the separation of data and configurations. Here's a simplified case study to illustrate how a multi-tenant app could work with Vapi APIs: 1. **Tenant Onboarding**: When a new tenant signs up for your SaaS application, you create a new
org
in Vapi to represent this tenant. This
org
will have a unique
orgId
. 2. **Assistant Creation**: When the tenant wants to create a new assistant, your application backend makes an API call to Vapi to create an assistant. The
orgId
of the tenant is included in the API call to ensure the assistant is created within the correct tenant's context. 3. **Voice Interaction**: As users within the tenant's organization interact with the assistant, all voice data and configurations are scoped within the tenant's
org
. This ensures data isolation and security. 4. **Management and Analytics**: The tenant can manage their assistants and view analytics specific to their organization, all scoped by their
orgId
. If the API documentation does not provide clarity on how to include the
orgId
, it would be best to reach out to Vapi's support for more detailed technical guidance on the API's usage in a multi-tenant context. They can provide you with the necessary information on how to structure your API calls correctly. Please let me know if you need further assistance or have any more questions!
s
@Vapi how to reach to support?? I’m already reaching out
v
@Sarmed I apologize for any confusion. To reach out to Vapi support for more detailed technical guidance, you can typically do so through the following channels: 1. **Support Email**: Send an email to the support address provided by Vapi, which is usually found in the documentation or on their website. 2. **Support Ticket**: If Vapi has a support ticket system, you can create a new ticket detailing your query about the multi-tenant setup and the use of
orgId
. 3. **Live Chat**: Some services offer live chat support on their website. If Vapi provides this, you can chat with a support representative in real-time. 4. **Community Forums**: If Vapi has a community forum, you can post your question there where other developers and support staff can respond. 5. **Phone Support**: If Vapi offers phone support, you can call their support number during the business hours they provide. Since you're already reaching out, if you're referring to this platform as a means to get support, please let me know how I can assist you further, or if there's a specific question you have that I can help clarify. If you need to contact Vapi's technical support team directly and the above options are not available or suitable, please ask support for more info on this.
s
Create a ticket for me @Vapi
v
@Sarmed Sweet. Have a great day!
7 Views