cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SNS Callback Url format

KDederichs
New Contributor

Hi,

 

the docs say you can "Callback using AWS SNS by provisioning the callback URL with an Access Key ID, Secret Key and Region." but sadly doesn't define an example of HOW that would look in the end.

 

Could anyone kindly provide an example of how an URL should look if I want to get webhooks via SNS?

1 ACCEPTED SOLUTION

Accepted Solutions

Sam_Williams
Community Manager
Community Manager

Hello again!

 

The SMS team got back to us with more information. When delivering callbacks via AWS SNS, Sinch acts as a publisher to your configured SNS topic. The Access Key ID, Secret Key, and Region are available in your Amazon SNS account.

 

When configuring your solution to receive callbacks delivered using AWS SNS, you will need the ARN of the topic (which will look like this example ARN from Amazon's documentation site: arn:aws:sns:us-east-2:123456789012:your_topic). For more information on SNS topics, see Amazon's documentation on Creating an Amazon SNS topic.

 

Please let us know if you have any other questions.

 

Thank you!

Sam Williams, Sinch Documentation Engineer

View solution in original post

4 REPLIES 4

Sam_Williams
Community Manager
Community Manager

Hello, thank you for reaching out!

 

As you noted, our documentation details that the SMS REST API offers callback support using AWS SNS. This feature is available upon request, and you can reach out to your account manager for support. They will be able to help you gain access to this functionality.

 

In the meantime, I've contacted our SMS team to get more information on this issue. Depending on the response, I'll either update this post directly or send you a direct message with further information.

 

Thanks again!

Sam Williams, Sinch Documentation Engineer

Sam_Williams
Community Manager
Community Manager

Hello again!

 

The SMS team got back to us with more information. When delivering callbacks via AWS SNS, Sinch acts as a publisher to your configured SNS topic. The Access Key ID, Secret Key, and Region are available in your Amazon SNS account.

 

When configuring your solution to receive callbacks delivered using AWS SNS, you will need the ARN of the topic (which will look like this example ARN from Amazon's documentation site: arn:aws:sns:us-east-2:123456789012:your_topic). For more information on SNS topics, see Amazon's documentation on Creating an Amazon SNS topic.

 

Please let us know if you have any other questions.

 

Thank you!

Sam Williams, Sinch Documentation Engineer

flomomo
New Contributor

what is the process to get a callback url with authentication and personnal header with SMS API ?

Thank you for your follow-up question, flomomo!

 

Our documentation details that a number of callback features are available upon request, including:

 

  • Callbacks with basic authentication by provisioning the callback URL with a username and password.

  • Callbacks with OAuth 2.0 by provisioning the callback URL with a username, a password, and the URL to fetch an OAuth access token.

In order to enable these features, you must reach out to your account manager for support. They will be able to help you gain access to this functionality.

 

If you have any other questions, or would like to provide additional context for your question, please feel free to respond to this post.

 

Thank you!

Sam Williams, Sinch Documentation Engineer