Hi,
To do a web API integration Appian require some authentication in the header of the request.
The webhook from a pusher has no way of editing the header but has both an app-key and a HMAC of the request body to validate that the webhook originated from Pusher.
Is there a way for me to provide verification to such webhooks on appian?
Many thanks,
Eric
Discussion posts and replies are publicly visible
Same thing want to ask
So I actually figured this out with the help from a colleague. You can use the following syntax in the endpoint to do Authentication. The only problem is that your password is essentially open for all who have access to your environment to see...
https://[first section of email]%40[email domain]:[password]@[appian endpoint]
Hope this helps!
Hi erics171,
I'm struggling with a similar issue. I have an Appian WebAPI that I want to set up as a webhook. I provide the url to register this webhook (required by external system) but I have no control over the authentication headers.
I have tried to use the following with no success:
https://[API Key]@[appian endpoint]
https://[username]:[password]@[appian endpoint]
Could you please give me a little more advice on how you got this working?
This just got brought to my attention, and I want to answer the question for posterity/future use cases.
There are four ways to pass API keys: https://docs.appian.com/suite/help/21.3/Web_API_Authentication.html#using-api-keys
You can use the URL syntax for basic auth as a workaround: http://username:password@example.com/
As mentioned in the Appian documentation, the username can be blank. So for a call to an Appian web API, the URL could look something like this:https://:apikeyhere@myurl.appiancloud.com/suite/webapi/mypath