Skip to content

Latest commit

 

History

History
77 lines (55 loc) · 3.31 KB

File metadata and controls

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

Quickstart: 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.

[!INCLUDE Survey Request]


[!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 utilize a new toll-free number for sending SMS messages, it is mandatory to undergo a toll-free verification process. For guidance on how to complete the verification of your toll-free number, please refer to the Quickstart for submitting a toll-free verification. Note that only toll-free numbers that have been fully verified are authorized to send out SMS traffic. Any SMS traffic from unverified toll-free numbers directed to US and CA phone numbers will be blocked.

Next steps

In this quickstart, you learned 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