0
votes

From the userinfo API, GET /v2.1/accounts/{accountId}/users/{userId}/profile, this is not returning attributes like company name,title api url:

https://demo.docusign.net/restapi/v2.1/accounts/xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx/users/xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx/profile

1

1 Answers

1
votes

This endpoint (/profile) is only meant to get the profile image.

Either do a GET on the user directly to get basic information:

https://developers.docusign.com/docs/esign-rest-api/reference/users/users/get/

Or do a /settings/ call to get user settings:

https://developers.docusign.com/docs/esign-rest-api/reference/users/users/getsettings/