Azure Communication Services SMS POST URL format

cbron 26 Reputation points
2021-02-05T20:23:16.267+00:00

Having an issue with Azure Communication Services. I'm not sure what the format of the REST URL should be. When I try the method outlined here https://learn.microsoft.com/en-us/rest/api/communication/sms/send… replacing {endpoint} with my copied endpoint in this template:

{endpoint}/sms?api-version=2020-07-20-preview1

I get the message "Illegal characters in path." I didn't add anything to it; it's just the Primary Key Connection string. What is the complete format of the URL, including my key?

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
812 questions
{count} votes

2 answers

Sort by: Most helpful
  1. ajkuma 24,971 Reputation points Microsoft Employee
    2021-02-08T18:58:30.317+00:00

    @cbron , In that example you need just the endpoint, not the full connection string (which also includes the access key, kindly try this and let us know.

    0 comments No comments

  2. Jameela Esa 166 Reputation points Microsoft Employee
    2021-03-04T18:39:31.89+00:00

    Correct, and example would be https://myacsresource.communication.azure.com/sms?api-version=2020-07-20-preview1

    You can find your endpoint on the Azure Portal>> 'Overview' tab for your Azure Communication Services resource.

    0 comments No comments