Default values in request body parameters in api r...
# support
d
Hi, I am setting a default valud in an api request's body parameters and sometimes the parameter is not populated. It's not always. Any ideas on how to make it work consistently?
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
v
Thanks for your question! To help diagnose why default values in your API request body aren't always being used, could you share a specific example of how you're setting the default value and in which environment (e.g., OpenAPI spec, backend code, or client)? This will help me provide more targeted advice.
d
I use the UI to create a tool for an API request. I set an object property and inside that object there is a timeZone property. I set the value to "Europe/Athens" and sometime the timeZone property is not populated during the call.
i
Use external request
d
@Igor_70 Hi, I am not sure what you mean. Can you explain please?
4 Views