Expand my Community achievements bar.

The Community Advisors application is now OPEN for the second class of 2024. Apply to become a part of this exclusive program!

User Creation with API

Avatar

Level 1
Hi, If I try to create a new user with this API call: "https://kellogg.my.workfront.com/attask/api/v9.0/user?updates=" https://kellogg.my.workfront.com/attask/api/v9.0/user?updates= {"firstName":"TestFirstName","lastName":"TestLastName","username":"e@mail.com", ","emailAddr":" "mailto:wcdeich@gmail.com" e@mail.com "}&method=post&apiKey=APIKEY Is the userID in the response my userID? Or the userID for the newly created user? William Deich
1 Reply

Avatar

Level 10
If you are doing a POST call, you do not put the ID in. For the support site: " POST inserts a new object. The syntax is identical to PUT, but with a few exceptions. Because the new object does not yet exist, it does not have an ID. For this reason, the URL does not include the ID." ( https://experience.workfront.com/s/article/API-Basics-638808549#post-behavior ) Anthony Imgrund FCB