Web - API

Hello, 

I am trying to create a web-api in order to query data and expose them to applications hosted outside of appian.

 However whatever I do I get the error : 443 Access Denied (authentication_failed).

So far I have done the following: 

1)Create a Web-API service (query records)

2)Create a service account with an API-Key.

3)Changed the security in Record, Web-API objects so that the service account is viewer/admin (tried both nothing worked).

4)Used Postman and curl methods to send get requests.

5)When using Postman I tried Basic Auth where I provided my credentials. When I used API-key authorization I used as a key : Appian-API-Key and as a value the key that was bined to the service account.

6) For the curl command I used everything that is mentioned here: https://docs.appian.com/suite/help/19.4/Web_API_Authentication.html#api-key-authentication.

7) I also went through the following post but nothing worked. (https://community.appian.com/discussions/f/integrations/18068/authentication-issue-with-web-api)

Any thoughts are welcome.

  Discussion posts and replies are publicly visible