Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
You can use the CCaaS_CreateProactiveSMSDelivery API to create a proactive outbound SMS delivery by invoking the appropriate API within the Proactive Engagement service. It initiates an SMS outbound message via Messaging Runtime.
Several APIs are available to create proactive deliveries. Use the following guidance to choose the right one:
- CCaaS_CreateProactiveBulkDelivery: Use this API to send multiple records in a single request (approximately 15,000 records). It doesn't support account calling.
- CCaaS_CreateProactiveDelivery: This API is the most versatile. It supports all features and channels, and account calling (multiple contacts as part of the same request). Use this API for most scenarios.
- CCaaS_CreateSimpleProactiveDelivery: This version doesn't require complex JSON nesting and is best suited for surfaces like Power Automate.
- CCaaS_CreateProactiveVoiceDelivery: This API is a first-generation voice API that doesn't support newer features. While it's supported, migrate to CCaaS_CreateProactiveDelivery for the latest features.
- CCaaS_CreateProactiveSMSDelivery: This API is a first-generation SMS API that doesn't support newer features. While it's supported, migrate to CCaaS_CreateProactiveDelivery for the latest features.
Important
- If an organization uses the
CCaaS_CreateProactiveSMSDeliveryAPI to initiate an outbound SMS message, your organization is responsible for consent management. Make sure that the following conditions are met:- Consent is obtained before contacting customers.
- Customers are contacted during permitted hours only.
Note
This API doesn't support proactive engagement features like reattempts, contact windows, custom priority, and frequency capping. We recommend the CCaaS_CreateProactiveDelivery API if you want to use these features.
Prerequisites
- You must have the Omnichannel agent or Omnichannel supervisor role to call this API.
- Proactive engagement is configured. Learn more in Configure proactive engagement.
Request details
- URL:
https://<orgurl>/api/data/v9.2/CCaaS_CreateProactiveSMSDelivery - Method: POST
- Version: 1.0
- OData Operation: Action
- OData Type: Unbounded
- Request Authorization: Required. Must contain a valid Microsoft Entra ID Bearer token for the user making the API call. This token must be issued from the same Microsoft Entra ID tenant as the Customer Service instance.
Request parameters
| Key | Type | Required | Description |
|---|---|---|---|
| ApiVersion | String | Yes | The Omnichannel CCaaS API version. |
| ProactiveEngagementConfigId | String | Yes | ID of the proactive engagement configuration to use. This specifies the workstream to use. To get this ID, do the following steps:
|
| DestinationPhoneNumber | String | Yes | Phone number of the customer to send the SMS message. |
| Message | String | Yes | SMS message content to be sent to the recipient. |
| InputAttributes | JSON object of key-value strings | No | Variables that can be referenced within Copilot agent flows to drive behavior changes or to look up information from Dataverse for personalization purposes. |
Sample request
{
"ApiVersion": "1.0",
"ProactiveEngagementConfigId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"DestinationPhoneNumber": "+15550200",
"Message": "Your appointment is confirmed for tomorrow at 10:00 AM. Reply STOP to opt out.",
"InputAttributes": "{\"AppointmentTime\":\"10:00 AM\",\"CustomerNumber\":\"1234567\"}"
}
Related information
Use CCaaS_CreateProactiveDelivery API
Use CCaaS_CancelProactiveEngagement API
Use CCaaS_CreateProactiveVoiceDelivery API
Use CCaaS_CreateOperation API
Use proactive engagement tables for reporting