This endpoint creates a new Lead and places an outbound call using the specified Schedule.
Enforces CPS (calls per second) limits.
Checks DNC and contact suppression rules before dialing.
Returns a serialized Call record if successful.
Raises errors for invalid numbers, inactive schedules, suppressed contacts, or duplicate concurrent leads.

Request Example

curl -X POST "https://[your-subdomain].trackdrive.net/api/v1/schedules/make_call"   -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY"   -H "Content-Type: application/json"   -d '{
    "schedule_id": "123",
    "to": "+17195551234",
    "data": {
      "first_name": "John",
      "last_name": "Doe",
      "custom_field": "example"
    }
  }'

Params

Param name
Description
Validations
schedule_id
Required

The ID of the Schedule to use for the outbound call. Must belong to the current company and be active.

Validations:

to
Required

Destination phone number to dial. Must be a valid number and not suppressed.

Validations:

  • Must be a String

data
Optional

Optional hash of additional lead attributes.

Validations:

  • Must be a Hash