I have set up an integrator key and am happily sending envelopes via REST API ; all seems to be working.
But when I try to fetch the status of an envelope some time later I get:
{"errorCode":"PARTNER_AUTHENTICATION_FAILED","message":"The specified Integrator Key was not found or is disabled. An Integrator key was not specified."}
I'm hoping this is because the integrator key is still in demo status but am just a bit nervous I've misunderstood the various account IDs.
The account ID returned from https://account-d.docusign.com/oauth/userinfo using the oAuth token turns out to be my API account ID
and its that I'm passing in the url, i.e.:
https://demo.docusign.net/restapi/v2.1/accounts/{accountid}/envelopes/status.
In the real world this application (a win32 .exe
) will be logging in (via oAuth) to the various docusign accounts belonging to my customers, so I would have expected '../userinfo' to be returning the customer's "User ID" instead? Or am i supposed to get that direct from the customer themselves?
The integrator key is set to "Authorization Code Grant".