REST API configuration for DocuSign Parameters
Hi
I'm setting an integration with DocuSign, OAuth 2.0 with JWT bearer token is expected, one of the API I should call is to get DocuSign access token.
Relatively to this specific step, DocuSign documentation is saying that request should be set like following:
curl --data "grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer&assertion=<YOUR_JSON_WEB_TOKEN>" --request POST https://account-d.docusign.com/oauth/token
You can see attachment API Parameter Detail to see its specification as per DocuSign website
Also a postman configuration is attached, you can check the second attachment "Postman Configuration".
I'm now trying to translate this call to DocuSign which is expected (I guess but not sure) as a JSON rest API but I'm not sure how to configure and how to pass the value
grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer&assertion=<YOUR_JSON_WEB_TOKEN>
The request does not look like a regular JSON payload while the API response it is:
Expected response:
{ "access_token": "ISSUED_ACCESS_TOKEN", "token_type": "Bearer", "expires_in": 3600 }
Values like grant_type and assertion looks like parameters but the whole configuration looks like something I can't figure out how to.
Any clue?