Hi,
While I'm not sure how exactly you try to call our ASDK REST API, here is code sample, that is working fine for me (ASP.NET 4.x, c#):
1. for Windows auth, create handler
var handler = new HttpClientHandler { Credentials = new NetworkCredential(user, password) };
2. call ASDK with URL, where all required parameters are set:
using (var client = new HttpClient(handler))
{
var resp = client.GetAsync(url).Result;
resp.EnsureSuccessStatusCode();
var data = resp.Content.ReadAsStringAsync().Result;
...
}
-------------------------------------------
Original Message:
Sent: Sep 30, 2025 05:17 PM
From: Michael Lieder
Subject: Passing Authorization Credentials to API
We updated to 8.8 over the summer and are trying to get a connector to the ASDK REST API from our IT Service Management platform. I'm having trouble getting the credentials passed through and all my attempts are resulting in a 401. I've tried straight username/pass (We have a service account set up to use Windows Credentials), encrypting it, and setting it up as a credential on my ITSM. I've also tried using the new Access Tokens, but that menu just shows me the Token is not yet valid and doesn't give me an option to validate it yet. The documentation I've seen so far is pretty sparse, and there's nothing about it in the docs on my NS.
Has any had success getting this going yet?
-------------------------------------------