Outbound Call not using Assistant
# support
r
I'm making the following API call to my assistant (f4fe421d-bdee-4721-8f1f-b73f73080577) to create an outbound phone number call with my registered phone number (e997b55c-3c6a-428d-9f10-7e8bf7355df1). curl -X POST 'https://api.vapi.ai/call' -H 'Authorization: Bearer XXXXXXXX' -H 'Content-Type: application/json' -d '{"assistant": null, "assistantId": "f4fe421d-bdee-4721-8f1f-b73f73080577", "assistantOverrides": {"analysisPlan": null, "artifactPlan": null, "backgroundDenoisingEnabled": null, "backgroundSound": null, "clientMessages": null, "compliancePlan": null, "credentialIds": null, "credentials": null, "endCallMessage": null, "endCallPhrases": null, "firstMessage": null, "firstMessageMode": null, "maxDurationSeconds": null, "messagePlan": null, "metadata": null, "model": null, "modelOutputInMessagesEnabled": null, "monitorPlan": null, "name": null, "server": null, "serverMessages": null, "silenceTimeoutSeconds": null, "startSpeakingPlan": null, "stopSpeakingPlan": null, "transcriber": null, "transportConfigurations": null, "variableValues": {"first_name": "Test", "last_name": "Name", "member_id": "XXXXXX", "plan_prefix": "XXX", "date_of_birth": "XXXXXXX", "provider_npi": "XXXXXXX"}, "voice": null, "voicemailDetection": null, "voicemailMessage": null}, "customer": {"extension": null, "name": "Test Call", "number": "+1XXXXXXXX", "numberE164CheckEnabled": true, "sipUri": null}, "customerId": null, "name": "test_make_vapi_call", "phoneNumber": null, "phoneNumberId": "e997b55c-3c6a-428d-9f10-7e8bf7355df1", "squad": null, "squadId": null}' Vapi correctly calls the destination phone number, but the assistant is using the generic OpenAI virtual assistant, and doesn't include any information from the dashboard where it was created. What's going on here? Why isn't my assistant using its prompt?
c
Can you provide more detail about what you mean by assistant is using the generic OpenAI virtual assistant?
4 Views