How to use x-api-user parameter
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!
