Skip to main content

Hi all,

I’m using a JWT Grant flow in PHP (RS256).
The token works perfectly against the sandbox endpoint:

https://demo.docusign.net/restapi/v2.1/accounts

But when I send the exact same JWT to the Maestro (developer) endpoint:

https://api-d.docusign.com/v1/accounts

DocuSign returns:

“Jwt payload is an invalid JSON”

Does anyone know why the payload is accepted in demo but rejected in Maestro/API-D?

What’s different ?

Thanks in advance for any help 🙏

Hi ​@ganesh.stha ,

 

There is a small difference when authenticating with the Docusign Maestro API and the eSignature API.  When requesting the access token in your OAuth2 JWT flow to use with the Docusign Maestro API, you must request the signature scope and a special Docusign Maestro scope called aow_manage.

 

Please consult the link below to learn more about the supported Maestro API endpoints.

https://developers.docusign.com/docs/maestro-api/reference/

 

 

 

 


Hi ​@Achille.Nisengwe Thanks a lot for your help!

I added both signature and aow_manage scopes, and now it’s working.

I didn’t see anything about the aow_manage scope in the documentation, so your message really helped.

Thanks again!


Reply