I've connected my app to DocuSign and have made the JWT, received my access token, and successfully made a request for user info (https://developers.docusign.com/docs/admin-api/admin101/application-auth/).
The primary purpose of connecting this app is to create envelopes.
The call for user info (as shown in the documentation linked above) has the URL: https://api-d.docusign.net/management/v2/organizations/{orgId}/[email protected].
The call for envelopes (calling get on this hits 'listStatusChanges' and calling a POST calls 'create') uses the following url: https://demo.docusign.net/restapi/v2.1/accounts/{accountId}/envelopes.
However, when I use my access token created above (which included the 'signature' scope') and use my 'API Account ID' as the accountId on the envelopes endpoint I receive the following error:
{ "errorCode": "AUTHORIZATION_INVALID_TOKEN", "message": "The access token provided is expired, revoked or malformed. Authentication for System Application failed." }
But after getting that error if I test my access_token by getting user info again, it works. So, despite requesting signature scope access, I can't use my access token on the signature endpoints. Is there another step to getting Application Authentication to work with signature endpoints? Am I using the wrong account id (my orgId and userId don't work either)?