Download OpenAPI specification:
API documentation for publicly available endpoints.
This endpoint can be used to schedule one or many outbound calls to phone numbers. Each phone number must be unique and can only be scheduled once in this request. The request payload should include a list of calls to be scheduled, each with the necessary details. Optionally, a list of success metrics can be provided to track the outcome of each call.
Array of objects or null (Optional) List of success metrics, where each item is a key-value pair representing a metric. The name of the key (e.g., "was_service_provided") within success_metrics is up to you, allowing for flexibility to define custom metrics tailored to your specific requirements. The | |
required | Array of objects non-empty List of calls to be scheduled. Each phone number must start with "1" and have a minimum length of 10 digits. |
{- "successMetrics": [
- {
- "name": "was_service_provided",
- "type": "boolean",
- "description": "The objective is to determine if the service was provided"
}
], - "scheduleCalls": [
- {
- "customerName": "Francesco",
- "customerPhone": 15145918479,
- "serviceType": "Towing",
- "companyName": "Sun Life",
- "callStartTime": "2024-05-19 17:39:00 -04:00",
- "languageCode": "FR"
}
]
}{- "+15141234567": "8c1420cc-afa1-45f8-971e-14e0e5ba68a9",
- "+15147891234": "8426874e-7bfe-481f-a1e7-d86f030b94d0"
}