I need help calling the Workfront Proj (Project) API V21.0. I'm working on my Sandbox (sb01). When I do the call in Postman, I get the following authentication error:
"error": {
"class": "com.attask.common.AuthenticationException",
"message": "Authentication Exception: Authentication Exception: {0}"
}
~~~Notes:
GET https://{{tenant}}.workfront.adobe.com/attask/api/v21.0/proj/search?status=CUR
Request Headers:
Accept: application/json
X-Requested-With: XMLHttpRequest
Authorization: Bearer XXXXXXXXXXXXXXXXXXXXX
User-Agent: PostmanRuntime/7.49.1
Postman-Token: 5c2d3fdc-d08d-4b5f-96c4-81bb8c4a3e16
Host: {{domain}}.sb01.workfront.adobe.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
I got the Bearer token by calling:
Request Headers
Content-Type: application/x-www-form-urlencoded
User-Agent: PostmanRuntime/7.49.1
Accept: */*
Postman-Token: d62bb7bc-7508-4166-b389-f7bab19c0933
Host: tristategt.sb01.workfront.adobe.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 804
▶Request Body
client_id: "{{OAuth 2 Application ID -Machine to Machine-}}"
client_secret: "{{ClientSecret}}"
jwt_token: "{{Encoded Token-See below My JWT token}}"
grant_type: "urn:ietf:params:oauth:grant-type:jwt-bearer"
Using jwt.io to decode My JWT, it shows:
Decoded Header
{
"alg": "RS256",
"typ": "JWT"
}
Decoded Payload
{
"iss": "{{CustomerId}}",
"sub": "{{UserID}}",
"aud": "https://{{tenant}}.sb01.workfront.com",
"exp": 1764880489,
"iat": 1764879889,
"jti": "jwt-1764879889"
}
Any pointers is more than welcome!