schedulePlan Not Working
# support
g
The call is not triggered even though the schedulePlan is set as follows. How can I resolve this issue? "schedulePlan": { "earliestAt": "2025-12-06T10:05:00Z", "latestAt": "2025-12-06T10:11:00Z" }
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
v
Suggestion: Make sure your API request includes either an
assistantId
or a
workflowId
along with your
schedulePlan
. If neither is set, the call will not be triggered. Example payload:
Copy code
json
{
  "assistantId": "your-assistant-id",
  "schedulePlan": {
    "earliestAt": "2025-12-06T10:05:00Z",
    "latestAt": "2025-12-06T10:11:00Z"
  }
}
Check that one of these IDs is present in your request, as required by the API documentation ([see details](https://docs.vapi.ai/api-reference/calls/create?explorer=true)). Source: - [Vapi API Reference: Create Call](https://docs.vapi.ai/api-reference/calls/create?explorer=true)
c
Hi Gokhan, To troubleshoot the issue where the call is not being triggered, please check the following: 1. **Assistant or Workflow ID**: Ensure that your API request includes either an
assistantId
or a
workflowId
, as one of these is required for the call to trigger. Example payload:
Copy code
json
   {
     "assistantId": "your-assistant-id",
     "schedulePlan": {
       "earliestAt": "2025-12-06T10:05:00Z",
       "latestAt": "2025-12-06T10:11:00Z"
     }
   }
2. **Valid Dates**: Verify that the
earliestAt
and
latestAt
fields are set with valid future ISO date-time strings. 3. **Resource Availability**: Confirm that your phone number, assistant, and customer's number are correctly configured and active at the time the call is scheduled. 4. **Examine Call Logs**: Review the Vapi call logs for any errors or messages associated with the scheduling. This can provide insight into potential issues. For more detailed instructions, refer to the [Create Call API documentation](https://docs.vapi.ai/api-reference/calls/create?explorer=true).
g
Hi, I successfully POST the call. However, when I post like this, it usually calls me back an hour later. In this example, it calls me back at 19:21 "schedulePlan": { "earliestAt": "2025-12-08T18:10:00Z", "latestAt": "2025-12-08T18:17:00Z" } My scenario is as follows: If a user requests a call back in 10 minutes, I add 10 minutes to the earliestAt and +7 minutes to the current time for the latestAt. Because the community says these calls are triggered every 5 minutes. However, I've never been able to get it to trigger the call at the time I want. How can I resolve this issue? At what interval are calls triggered with schedulePlan?
Is there anyone who can help with this? schedulePlan definitely isn't working properly. @User
@Sahil can you help with this, please?
s
do you have any call_id to share?
g
ID: 019b0988-9c0b-7bba-a17f-6171c6ff9b08
@Sahil Have you had a chance to look at this? I can't get a response from anyone.
s
yes, like it is an architecture issue where sometimes this happens.
I would suggest you to directly hit the /call endpoint with some automation on your end
to fix it