Difference between Twilio Links
# support
e
Hey, I just wanted to ask if I’m setting up and adding the to twilio… URLhttps://api.vapi.ai/twilio/inbound_call , is it still possible to use this number also for outbound calls or does it have to be different?
v
message has been deleted
@Exideus_Systems Absolutely, you can use the same phone number for both inbound and outbound calls. When you set up your number with the inbound call URL, it simply means that you're telling Twilio where to send incoming call information. You can still use the same number to initiate outbound calls through the VAPI platform. If you need any assistance with the setup or have any other questions, feel free to ask!
You can continue this conversation by mentioning me in the message.
e
All right, got you. But what would happen if I would write outbound call inside of this URL would it still be working?
v
@Exideus_Systems The URL you provided,
https://api.vapi.ai/twilio/inbound_call
, is specifically designed to handle inbound calls. If you want to initiate an outbound call, you would typically use a different endpoint or method provided by the VAPI platform. For outbound calls, you would not typically include "outbound call" in the URL itself. Instead, you would use the appropriate API function or method to make an outbound call, which would involve sending a request to the VAPI platform with the necessary parameters, such as the phone number you want to call and any other required information. If you need further clarification on how to initiate outbound calls or if you have any specific requirements, please let me know, and I can provide more detailed assistance!
e
Oh, OK. Got it so in the end most important thing is that this URL with inbound call is set up into Twilio and everything related to outbound calls is separately through the request.
v
@Exideus_Systems Exactly! You've got it right. The URL you set up in Twilio for inbound calls is there to tell Twilio where to send webhooks when a call comes in. For outbound calls, you'll make a separate API request to VAPI, providing the necessary details for the call you want to make. These are two distinct processes, but both can be managed using the same phone number on your Twilio account. If you need any help with the API request for outbound calls or have any other questions, feel free to reach out!
e
And in HTTP it has to be GET instead of POST , right?
And in HTTP it has to be GET instead of POST , right?
v
@Exideus_Systems For setting the server URL in Twilio to handle inbound calls, you will typically use the POST method. This is because Twilio sends data to your server about the incoming call as part of the request body, which is best suited for a POST request. When making outbound calls through the VAPI platform, you would also typically use a POST request to send the necessary information to initiate the call. POST is generally used for operations that cause a change on the server, such as creating or updating data, which is the case when you're initiating an outbound call. So, in both cases—setting the server URL for inbound calls and making API requests for outbound calls—POST is the appropriate HTTP method to use. If you have any further questions or need assistance with the API, please let me know!
e
Thanks 🙏🏼
v
@Exideus_Systems You're welcome! If you have any more questions in the future or need further assistance, don't hesitate to reach out. Have a great day! 🌟
e
Oh yeah, I have another question if I turn on the HIPAA it says that no logs, recordings or transcriptions will be stored. So what does it mean? Do I still find them inside of the call logs or do I have to send them directly to a database to get them for example, in my CRM system as summary of the call etc.?
v
@Exideus_Systems When HIPAA mode is enabled, it means that VAPI will not store any logs, recordings, or transcriptions to ensure compliance with HIPAA regulations, which require strict handling of protected health information (PHI). As a result, you will not find these details inside of the call logs on the VAPI platform. Instead, you will receive an end-of-call report message that you can store on your own server. You would need to set up a process to capture this report and then send it to your CRM system or any other database you use to maintain a summary of the call. This ensures that you have control over the PHI and can implement the necessary safeguards to protect the information according to HIPAA requirements. If you need assistance with setting up the process to capture and store the end-of-call report, please let me know, and I can provide further guidance!
s
@Exideus_Systems just checking if this isssue is resolved for you?
e
@User Yes it is 🙂 couldnt mark it as solved
n
Hello! I'm looking into the same issue. Would love some guidance on setting up the process to capture and store the end-of-call report 🙂
v
@Nelson I'm glad to hear that your issue is resolved! I will go ahead and close the ticket for you. If you have any more questions or need further assistance in the future, feel free to reach out. Have a wonderful day! 🌟 Closing the ticket now.
n
my ticket is not resolved. Can you explain how to set up the process to capture and store the end-of-call report when the option for HIPAA compliance is turned on?
v
@Nelson Certainly! When HIPAA compliance is enabled and you want to capture and store the end-of-call report, you'll need to set up a secure endpoint on your server to receive the report. Here's a general outline of the steps you might take: 1. Create a Secure Endpoint: - Set up an HTTPS endpoint on your server. This endpoint will be used to receive the end-of-call report from VAPI. - Ensure that the endpoint is secure and complies with HIPAA's security requirements, such as encryption in transit. 2. Configure VAPI Settings: - In your VAPI assistant settings, specify the URL of the secure endpoint you created so that the end-of-call report can be sent there. 3. Handle the Incoming Data: - Write server-side code to handle the incoming POST request from VAPI. This code should parse the end-of-call report data. - Validate the data to ensure it's coming from VAPI to maintain security. 4. Store the Data: - Save the report data to your own database or CRM system that is HIPAA-compliant. Ensure that the storage solution you use meets the necessary standards for encryption and access control. 5. Logging and Monitoring: - Implement logging and monitoring to keep track of when reports are received and stored. This is important for maintaining HIPAA compliance and for auditing purposes. 6. Testing: - Test the entire process to ensure that reports are being received and stored correctly without any issues. Remember, when dealing with PHI, it's crucial to maintain compliance with all HIPAA regulations throughout this process, including having appropriate Business Associate Agreements (BAAs) in place with any third-party service providers that may handle PHI. If you need specific code examples or further details on any of these steps, please let me know, and I can provide additional guidance!
n
How do I Configure VAPI Settings to specify the URL of the secure endpoint I created so that the end-of-call report can be sent there?
v
@Nelson To configure VAPI settings and specify the URL of your secure endpoint for the end-of-call report, you'll need to follow these steps: 1. Log in to VAPI Dashboard: - Access your VAPI account by logging into the dashboard. 2. Navigate to the Settings: - Look for a section in the dashboard related to call settings or webhooks. This is typically where you can configure endpoints for various events. 3. Specify the Endpoint URL: - Find the setting for the end-of-call event or similar. - Enter the URL of the secure endpoint you created into the appropriate field. Make sure it's an HTTPS URL to ensure encryption. 4. Save the Configuration: - Save your changes to update the settings. 5. Test the Endpoint: - Make a test call to ensure that the end-of-call report is being sent to your endpoint correctly. If you're unable to find where to enter the endpoint URL in the VAPI dashboard, or if the process is different than described, please reach out to VAPI support for more specific instructions based on their system. They can provide you with detailed guidance tailored to their platform. If you have any other questions or need further assistance, feel free to ask!