Overview
Custom functions let your agent call any external API via HTTP request — enabling integrations with your CRM, database, booking system, or any other service.Setup
Select HTTP method and set the endpoint URL
Choose from: 
GET, POST, PATCH, PUT, or DELETE. Enter the full URL of your API endpoint.
Configure headers and query parameters
Add any required authentication headers, API keys, or query params.
Define parameters
For
POST, PATCH, and PUT requests, define your request body using JSON schema format.Enable Payload: args only to send only the function arguments as the JSON body, without an outer wrapper.Handle the response
Map API response values to dynamic variables for use later in the conversation. Response data is capped at 15,000 characters.Configure speech behavior during and after execution:
- Speak During Execution: Agent says something while waiting (e.g. “Let me check that for you.”)
- Speak After Execution: Agent discusses the result with the caller

Security
Every request includes anX-Retell-Signature header signed with your secret key. Verify this on your server to confirm requests are coming from UponAI.
Constraints
| Setting | Value |
|---|---|
| Timeout | 2 minutes (default) |
| Retries | Up to 2 attempts |
| Response cap | 15,000 characters |
| Function name format | Underscore-separated |
