r_vh02
09/11/2025, 2:00 PMAI Evy
09/11/2025, 2:00 PMAI Evy
09/11/2025, 2:00 PMclient.call.createPhoneCall({ ...params }) [(3) ]() .
If you continue getting 404 errors despite correct configuration, it may be a workspace-specific API access issue that requires contacting support [(2) ]() .AI Evy
09/11/2025, 2:00 PMAI Evy
09/11/2025, 2:00 PMAI Evy
09/11/2025, 2:03 PMAI Evy
09/11/2025, 2:03 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const conversationFlowResponse = await client.conversationFlow.retrieve('conversation_flow_id') ;
console.log(conversationFlowResponse.conversation_flow_id) ;
[(2) ]()
For creating phone calls, the endpoint is documented as POST /create-phone-call [(1) ]() . The API requires an Authorization header with your API key in the format "Bearer YOUR_API_KEY" .
If you're getting a 404 error, it could be similar to the issue mentioned in the Discord where someone was trying to use an incorrect URL format [(3) ]() . Make sure you're using the correct base URL and endpoint path as documented in the official API reference [(1) ]() .AI Evy
09/11/2025, 2:03 PMAI Evy
09/11/2025, 2:03 PM