Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Can't create new user (using the JWT Grant flow and scopes that mentioned in API overview)

I have a problem with creating another user by Admin API. I don’t have an organization_id property in /userinfo response. I need it to create new users via my app. There I also use recommended scopes.

This response I have after call /userinfo

{
    "sub": "xxx",
    "name": "Some Name",
    "given_name": "Name",
    "family_name": "Name",
    "created": "2022-02-02T16:38:29.457",
    "email": "some.email@gmail.com",
    "accounts": [
        {
            "account_id": "xxx",
            "is_default": true,
            "account_name": "Name",
            "base_uri": "https://demo.docusign.net"
        }
    ]
}

Also when I used Quickstart App I faced the same problem. I can’t create users via this app. Because an organization_id property is missed.
Quickstart App error

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Thanks.

#docusignapi

>Solution :

To use the Admin API you have to have an organization for your account.

Once you create an organization – you will have an organizationId which is used for this API call.

How to create an organization for your DocuSign account.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading