Maurizio Isendoorn
06/04/2026, 7:42 PMAI Evy
06/04/2026, 7:42 PMAI Evy
06/04/2026, 7:42 PMContent-Type: application/json
Request Body (for POST, PUT, and PATCH requests) :
- `name`: the name of the custom function
- `call`: the call object for context, including real-time transcript up to when the request is sent
- `args`: the arguments for the custom function, as a JSON object
Important Note: If Payload: args only is enabled for a function, the body contains only the argument object with no name, call, or args wrapper . In this case, parameters appear at the top level of the JSON request .
Response Format:
Response should have a status code between 200-299 to indicate success [(2) ]() . The response can be in various formats (string, buffer, JSON object, blob) , and all will be converted to string before sending to the LLM . The function result is capped at 15,000 characters .AI Evy
06/04/2026, 7:42 PMAI Evy
06/04/2026, 7:42 PMMaurizio Isendoorn
06/04/2026, 7:44 PMAI Evy
06/04/2026, 7:44 PMAI Evy
06/04/2026, 7:44 PMcall object, but it doesn't explicitly differentiate between voice agents and chat agents for this payload structure .
I'd recommend testing with a chat agent to see the actual payload structure, or reaching out through one of these support channels for clarification:
- Visit [Documentation]()
- Visit [Hire certified Retell partner]()
Would you like a general answer based on my knowledge instead?AI Evy
06/04/2026, 7:44 PMAI Evy
06/04/2026, 7:44 PM