calls

Schedule a new call

Changed on

Queues an outbound call. Creates the record in QUEUED status (or NOT_STARTED if scheduled for a future time). Runs validation: phone format and country checks (rejects VOIP/premium/shared-cost numbers for US/CA), destination-country restriction (your phone numbers must match the destination country), rate limits, balance check against maxDurationMinutes, and a content safety review. If the goal is ambiguous, the response may be NEEDS_CLARIFICATION with a follow-up question instead of a scheduled call — set force: true to skip clarification.

post/calls/schedule

Request

  • Base URL
    https://be.skipcalls.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

phoneNumberstring required

Phone number to call

goalstring required

Goal of the call

scheduledAtstring

ISO 8601 date-time for scheduling the call

timezonestring

Timezone for scheduling the call (e.g. America/Los_Angeles)

additionalContextstring

Additional context for the call

maxDurationMinutesnumber

Maximum duration of the call in minutes

doWeNeedToRetryboolean

Do we need to retry the call

voicestring

Voice to use for the call

retryAfterMinutesnumber

Number of minutes to wait before retrying if call fails

forceboolean

Force call creation without clarification

askForClarificationboolean

Allow to ask for clarification (if user is online)

includePrivateDataboolean

Include private data in the call prompt

agentIdstring

Agent ID to use for the call

titlestring

Title of the call (for campaign)

firstMessagestring

First message to use for the call (for campaign)

cronSchedulestring

Cron expression for recurring calls (e.g., "0 9 * * MON" for every Monday at 9 AM)

Response

Call scheduled successfully

successboolean required

Success

Example response

{
  "call": {
    "agent": {
      "tools": [
        {
          "tool": {
            "toolType": "HTTP",
            "inputSchema": {
              "name": "function_params",
              "type": "object",
              "description": "Function input parameters",
              "children": [
                {
                  "name": "query",
                  "type": "string",
                  "description": "Search query",
                  "validations": {
                    "required": true,
                    "min": 1,
                    "max": 100
                  },
                  "label": "Search Query"
                },
                {
                  "name": "category",
                  "type": "enum",
                  "description": "Category filter",
                  "enumValues": [
                    "news",
                    "weather",
                    "sports"
                  ],
                  "validations": {
                    "required": false
                  }
                }
              ]
            }
          }
        }
      ],
      "phoneNumbers": [
        {
          "createdAt": "2021-01-01T00:00:00Z",
          "updatedAt": "2021-01-01T00:00:00Z",
          "phoneNumber": "+1234567890",
          "country": "US",
          "agentId": "123",
          "direction": "INCOMING"
        }
      ]
    },
    "matchedFields": [
      "phone",
      "summary",
      "title",
      "goal"
    ],
    "contactId": "123e4567-e89b-12d3-a456-426614174000"
  }
}

Changes

    • breaking

      the call/allOf[#/components/schemas/CallDto]/agent/allOf[#/components/schemas/AgentDto]/emailAddress response's property type changed from no type to object for status

    • info

      the response property call/allOf[#/components/schemas/CallDto]/agent/allOf[#/components/schemas/AgentDto]/postCallActionRules/items/id became required for the status

    • breaking

      the response property call/allOf[#/components/schemas/CallDto]/agent/allOf[#/components/schemas/AgentDto]/postCallActionRules/items/id became optional for the status

    3 more changes in this revision