How to log user and assistant messages ?

Hi i’ve setup a fastapi route at /api/vapi/log-conversation to log user and assistant messages.
I’d like to reciever every interaction (including transcript and reply) on this endpoint. Can you confirm where in the assistant settings i can add my event callbackurl, or if there’s a best practice to enable webhook logging for full transcription and assistant.
I an using ptthon for backend and FASTapi framework
Also using ngrok
Using mongoDB for logging data
Was this page helpful?