Calling Workfront API with Bearer Token | Community
Skip to main content
Sven-iX
Community Advisor
Community Advisor
March 12, 2025
Solved

Calling Workfront API with Bearer Token

  • March 12, 2025
  • 2 replies
  • 616 views

I am playing with the JWT module and with help from support got it to where I can exchange it for a bearer token. 

According to documentation, to authenticate on the API I'd send it as "Authorization" header - but so far the API just errors out with an authentication failure. 

 

Have you successfully called the Workfront API with a bearer token? 

Best answer by ninoskuflic-ibm

Posting this here in case it helps anyone else: 

 

Once you make the exchange via https://example.my.workfront.com/integrations/oauth2/api/v1/jwt/exchange , you use the access_token to make API calls but instead of putting "Authorization: Bearer XXX" add "SessionID" as the header and the access_token for value.

 

Attached is a sample scenario which shows everything in 3 steps. To get the Client ID, Customer ID, User ID and Client Secret, you will need to create an OAuth2 (Machine to Machine) application here: https://example.my.workfront.com/setup/oauth2-apps .

2 replies

Sven-iX
Community Advisor
Sven-iXCommunity AdvisorAuthor
Community Advisor
March 13, 2025

well heck: Per Authorization code flow for custom OAuth 2 applications | Adobe Workfront i just send a sessionID header with the value of the access_token!

Thanks to my brothers in arms @20818 Handel and @1993764 Skuflic  : D

ninoskuflic-ibm
ninoskuflic-ibmAccepted solution
Level 2
March 13, 2025

Posting this here in case it helps anyone else: 

 

Once you make the exchange via https://example.my.workfront.com/integrations/oauth2/api/v1/jwt/exchange , you use the access_token to make API calls but instead of putting "Authorization: Bearer XXX" add "SessionID" as the header and the access_token for value.

 

Attached is a sample scenario which shows everything in 3 steps. To get the Client ID, Customer ID, User ID and Client Secret, you will need to create an OAuth2 (Machine to Machine) application here: https://example.my.workfront.com/setup/oauth2-apps .