We are currently integrating with the DocuSign click API. We are are using JSON Web Token Bearer (JWT) grant and the following calls are working fine.
GET /clickapi/v1/accounts/{accountId}/clickwraps?status=active
GET /clickapi/v1/accounts/{accountId}/clickwraps/{clickwrapId}/users?client_user_id=<clientUserID>
To hide {accountId} and {clickwrapId} from the UI, I was trying to follow this approach React Docusign Clickwrap Credentials
But I am getting response 401-Unauthorized when I tried to call api POST /clickapi/v1/accounts/{accountId}/clickwraps/{clickwrapId}/agreements with body
{
"clientUserId": "..."
}
These are the authentication scopes set: impersonation,signature and click.manage.
In API Documentation there is nothing related with that POST api. Is that a valid API? why I am getting 401?