Workfront API Authentication Error "You are not currently logged in." while trying to access via Postman
Hello all,
I'm trying to use Workfront APIs but it keeps throwing the following authentication error. "You are not currently logged in."
Note: I am using it in a sandbox environment with a system admin user. API version 15.0
From what I have understood from the documentation, there are 2 ways for authentication.
1. SessionId - I tried using the login API to obtain a sessionId. I used the below mentioned URL for a POST call.
https://mysandboxdomain.my.workfront.com/attask/api/v15.0/login?username=useremail&password=userpassword
Unfortunately, it keeps giving me the unauthorized error. I even tried using url encoding for my credentials as they have some special characters but that doesn't seem to work either
2. API Key - I tried using the project API with an API key that I generated from the sandbox instance but that didn't work either. Below is the URL I used for a GET call.
https://mysandboxdomain.my.workfront.com/attask/api/v15.0/project/projectSpecificURI?apiKey=apikeyGeneratedFromTheSandbox
I tried by using a newly generated API key but none of that seems to work.
Note: The project API works perfectly from the browser when I'm logged in to the instance