Expand my Community achievements bar.

Getting the session id from an api call

Avatar

Level 1

Hi,

 

I am trying to get this api call to work: 

https://xxxxxxx.my.workfront.adobe.com/attask/api/v18.0/session?apiKey=xxxxxxxxxxxxxxxxxxxxxxxxxx  

 

It only works when some one is already logged into Workfront. 

 

Any suggestions will be a massive help 

 

 

 

 

2 Replies

Avatar

Level 10

Hello,

 

it would help, if you would specify, what you are trying to achieve.

Do you want to include the API call into an external application / script, or do you just want to fetch some information "on the fly"?

 

Please have a look into this document to understand, how API authentication works.

 

 

Regards

Lars

Avatar

Level 1

Hi, we need an other application to connect to WF to download some documents using the WF API. the first part of the process is to get the session id since we use SSO. We had it working before we our WF url changed. From looking at the online documentation. It said to add "adobe" to the call. From this call  "https://xxxxxxx.my.workfront.com/attask/api/v18.0/session?apiKey=xxxxxxxxxxxxxxxxxxxxxxxxxx" to this call "https://xxxxxxx.my.workfront.adobe.com/attask/api/v18.0/session?apiKey=xxxxxxxxxxxxxxxxxxxxxxxxxx" . The problem is the call posted above only works when when an user is logged into WF. I need it work regardless of logged in status.