Custom Function API - Note that the final POST req...
# support
b
I'm trying to set up a simple function to update the status of a record in my crm without using Make or pipedream. I have an endpoint in my crm that works when POST to it from Postman BUT when I try it from the "Send a sample payload" tab it just errors out. Says Network error. According to the Note on the payload tab, the POST request will include call information? How do I strip that off and just send the payload I want?
c
Update the status of the record? Are you not "GET" the callID?
b
I want to send a POST request to my CRM. That will update a record in my CRM.
s
You want that data during the call?
b
Here is the scenario - My Vapi assistant receives a call from someone who says "do not call me again". I have the assistant confirm the response and I want to update that caller's record in my CRM to "Do Not Call". I use Zoho for my CRM and I can create a webhook there to receive the POST request to update the record but when I test it from the Vapi custom function setup it fails.
c
You can get that from the end of call report or summary - it does not need to be a function.