Follow
Generating An API Key For Non Admin Users

Question

How Do You Generate An API Key For a Non-Admin User?

Answer

1- If using SSO, an administrator must first edit the user's profile and temporarily uncheck the "Only Allow SAML 2.0 Authentication" (or similar) checkbox.

2- To Generate the API Key, enter the followowing API call from the URL of the browser or using an external app:

<domain>.my.workfront.com/attask/api/v7.0/user?action=generateApiKey&username=username&password=password&method=PUT

  • Ensure the <domain>  is correct and the email address and password that follow the = match the user's Workfront credentials, not SSO credentials.
  • Be sure to run this as a "PUT" and not a "POST".

3- Edit the user's profile and re-check the box from step 1 requiring them to authenticate with SSO

 

In order to "GET" this information later on if for any reason the user misplaces their API Key and doesn't wish to generate a new one, they can run this GET command:

<domain>.my.workfront.com/attask/api/v7.0/user/getApiKey?username=user@user.com&password=password&method=GET