I'm trying to generate an access_token using DocuSign API using code (https://developers.docusign.com/platform/auth/authcode/authcode-get-token)
I'm calling POST request to: https://account-d.docusign.com/oauth/token
with the following body (application/x-www-form-urlencoded): { "grant_type": "authorization_code", "code": "code that I got after login with the user" }
Authorization: "Basic encodedBase64(integrationKey:SecretKey)"
The error I'm getting is: { "error": "invalid_grant", "error_description": "unauthorized_client" }
I really need help here. Thanks so much