Skip to main content
Participant
October 25, 2018
Answered

How to use x-api-user parameter

  • October 25, 2018
  • 3 replies
  • 6860 views

Hi,

I obtained access-token for master account with scope "account" but I can't make request to subaccounts.

1.) Our site get access-token for master account

2.) we try to POST /agreements (Adobe Sign REST API Version 5)

2a.) If we use access-token only then everything goes well

2b.) If we use access-token and x-api-user parameter we get error.

- email is valid

- subaccount with this email exists and is verified

Code (c#):

var userEmail = "subaccount@test.com";

request.AddHeader( "x-api-user", string.Format("email:{0}", userEmail) );

Response:

{"code":"INVALID_USER","message":"Invalid user ID or email provided in x-api-user header"}

What is wrong in this process?

Thanks for help!

This topic has been closed for replies.
Correct answer Meenakshi Negi

Hi Ufexu,

I have checked that you are using the Adobe Sign developer account.

I would recommend you contact Pre-Sales team to get the settings enabled.

They will be able to provide pre-sales technical assistance to you.

Please refer to this link Adobe Sign plans for individuals and businesses | Adobe Document Cloud to get in contact with them.

Hope that helps.

Let us know if you have any questions.

Regards,

Meenakshi

3 replies

Participant
October 14, 2022

In my case issue was with that the application owner doesn't have admin rights assigned which might be causing the issue.
1) Log in to the Adobe Admin Console as an administrator
2) Navigate to the Adobe Sign product page: Products > Document Cloud > Adobe Sign > {Product Profile}
3) When the product profile page opens:
Find your user id to edit and click the drop-down in the "Product Role" column
Change the product role to the desired value i.e. Sign Account Admin
Please refer to the below-mentioned article with screenshots and click on Edit an existing user's Product role.
https://helpx.adobe.com/enterprise/admin-guide.html/enterprise/using/dce-feature-administration.ug.html

Participant
August 3, 2021

Hi Ufexu, I don't know if that's your correct name but I am also having this same issue. Did you find out anything to solve this error?

Meenakshi Negi
Community Manager
Meenakshi NegiCommunity ManagerCorrect answer
Community Manager
October 26, 2018

Hi Ufexu,

I have checked that you are using the Adobe Sign developer account.

I would recommend you contact Pre-Sales team to get the settings enabled.

They will be able to provide pre-sales technical assistance to you.

Please refer to this link Adobe Sign plans for individuals and businesses | Adobe Document Cloud to get in contact with them.

Hope that helps.

Let us know if you have any questions.

Regards,

Meenakshi