I am trying to create a webhook in smooch app. Whenever I try to add a target endpoint with https such as:
URL : https://www.api.someurl.com/some/path/messageHook
I receive an Error message "No service found at target url's domain"
But When I do the same without HTTPS
URL : http://www.api.someurl.com/some/path/messageHook
It gets added, although this, still, does not work.
Spoke to the Customer service and they said:
When you create a Webhook Smooch sends a HEAD request to the root of the >domain to make sure that there is a server present. So if your target is >https://example.com/webhook-url/app-id then Smooch will send a HEAD >request to https://example.com/ and expect a response with a status code >in the 200, 400, or 500 range, excluding 502.
Moreover, our validation request will fail for self-signed or missing >certificates if the endpoint is HTTPS
For the first part : my endpoint; https://www.api.someurl.com/ returns the 200 status code
And for the second (Certification) part : I am using LetsEncrypt to signed certificates and https://www.sslshopper.com/ doesn't spot any issues in it
As mentioned in the comments, this was a bug on Smooch's side. A fix has been deployed, you should be able to create webhooks pointing to your domain now