Issue with VAPI API Integration (
# general-english
a
Issue with VAPI API Integration (Initiate-VAPI) I have set up a database that retrieves user information during their calls (name, surname, etc.). The goal is to send this data to VAPI via the API, specifically through the Initiate-VAPI function, so that the UDAPT assistant can remember the user and continue the conversation seamlessly during the next call. However, I am facing a major issue: While the data is correctly sent to VAPI via the API, I do not receive any logs or confirmation that VAPI has successfully received this information. Additionally, during the next interaction with the assistant, it does not remember the user, which suggests that the information sent to VAPI is not being properly stored or processed. Questions: Is there a way to get logs or confirmation from VAPI when sending the data via the API? Are there any specific parameters or configurations that need to be adjusted so that VAPI can properly "remember" the user for future interactions? Are there any solutions to resolve the issue of the assistant not remembering the user, or is there an alternative approach to ensure that the conversation continues where it left off? I’m open to any suggestions or adjustments that can help ensure the integration works properly.
k
Use the get endpoint for logs and confirmation, then store user data with a unique user Id using vapi.memory.set() for consistent memory across sessions also manage session data externally or store call summaries
a
could you provide me an exemple of code please ?
k
a
thanks and tell me how can I send the data to the promp system ? my log : - Found user insights: { name: "Kevin", age: null, origin: null, messagesCount: 2, lastUpdated: "2025-04-18T14:25:42.775+00:00" }
System prompt preview: Voici les informations importantes concernant cet utilisateur. Utilise-les pour personnaliser tes réponses : L'utilisateur s'appelle Kevin. Résumés de conversations récentes : - [object Object] - [o...
4 Views