Skip to content

Latest commit

 

History

History
78 lines (55 loc) · 3.22 KB

File metadata and controls

78 lines (55 loc) · 3.22 KB
title Send an SMS message
titleSuffix Azure Communication Services
description This article describes how to send an SMS message using Azure Communication Services. See code examples in C#, JavaScript, Java, and Python.
author sundiraman
manager chpalm
services azure-communication-services
ms.author sundraman
ms.date 05/25/2022
ms.topic quickstart
ms.service azure-communication-services
ms.subservice sms
ms.custom tracking-python, devx-track-js, mode-other, kr2b-contr-experiment, devx-track-extended-java, devx-track-python
zone_pivot_groups acs-azcli-js-csharp-java-python-logic-apps

Send an SMS message

Important

SMS capabilities depend on the phone number you use and the country/region that you're operating within as determined by your Azure billing address. For more information, see Subscription eligibility.


[!VIDEO https://www.youtube.com/embed/YEyxSZqzF4o]

::: zone pivot="platform-azcli" [!INCLUDE Send SMS with Azure CLI] ::: zone-end

::: zone pivot="programming-language-csharp" [!INCLUDE Send SMS with .NET SDK] ::: zone-end

::: zone pivot="programming-language-javascript" [!INCLUDE Send SMS with JavaScript SDK] ::: zone-end

::: zone pivot="programming-language-python" [!INCLUDE Send SMS with Python SDK] ::: zone-end

::: zone pivot="programming-language-java" [!INCLUDE Send SMS with Java SDK] ::: zone-end

::: zone pivot="programming-language-power-platform" [!INCLUDE Send SMS with Power Platform] ::: zone-end

Troubleshooting

To troubleshoot issues related to SMS delivery, you can enable delivery reporting with Event Grid to capture delivery details.

Clean up resources

If you want to clean up and remove a Communication Services subscription, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it. Learn more about cleaning up resources.

Toll-free verification

To use a new toll-free number for sending SMS messages, you must complete a toll-free verification process. For guidance on how to complete the verification of your toll-free number, see the Quickstart for submitting a toll-free verification. Only fully verified toll-free numbers are authorized to send out SMS traffic. Any SMS traffic from unverified toll-free numbers directed to US and CA phone numbers are blocked.

Next steps

This article described how to send SMS messages using Azure Communication Services.

[!div class="nextstepaction"] Receive and reply to SMS

[!div class="nextstepaction"] Enable SMS analytics

[!div class="nextstepaction"] Phone number types

[!div class="nextstepaction"] Look up operator information for a phone number