### Answer
Based on the available documentation, Retell AI's custom functions support standard HTTP methods including POST, which you can use for GraphQL queries [(1) ](
) [(2) ](
) .
Retell's custom functions allow you to choose from several HTTP methods: GET, POST, PATCH, PUT, and DELETE . For GraphQL queries, you would typically use POST method .
However, there's an important consideration about how Retell sends requests. When a custom function is called, Retell doesn't send raw POST body content directly to your endpoint [(3) ](
) . Instead, Retell sends a structured payload that includes the tool_call_id, function name, call metadata, full transcript, timestamps, and other context information .
For GraphQL integration, you would need to set up your backend server to receive Retell's structured request and then make a separate GraphQL request to your target API (like Healthie) . Your backend would:
1. Receive the structured payload from Retell with the extracted parameters [(1) ](
) [(2) ](
)
2. Use those parameters to construct and send a proper GraphQL query to Healthie's API
3. Return the response back to Retell
You can define parameters for your custom function using JSON schema format, which works for POST, PATCH, and PUT requests . You can also set custom headers and query parameters that can include dynamic variables .
The documentation doesn't provide specific examples for GraphQL query structures within custom functions. For detailed GraphQL implementation patterns, you might want to check out the additional resources or c