hergustone
08/13/2025, 7:00 PMAI Evy
08/13/2025, 7:00 PMAI Evy
08/13/2025, 7:00 PMjson
{
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "The city of the weather"
}
},
"required": [
"city"
]
}
2. Select POST as your HTTP method when configuring the custom function .
3. Retell automatically sends the request with the following structure :
- Header: Content-Type: application/json
- Body contains: name, call, and args as JSON
The args field in the JSON body will contain the parameters you defined in your schema . Parameters are only available for POST, PATCH, and PUT requests .
**Important note**: Make sure your endpoint URL doesn't have a trailing slash, as this can cause issues with POST requests being converted to GET requests [(3) ]() .AI Evy
08/13/2025, 7:00 PMAI Evy
08/13/2025, 7:00 PM