docGenAPIUserKey API is used to retrieve the session key. The session key is generated for the user credentials stored in the Merge Server API Credentials. Billing administrators can use the session key to call the Merge Service API.
API
Signature
DocGenApiUserKey
static String DocGenApiUserKey()
This API returns the session key for Doc Gen. This API returns the session key only if the API credentials are configured. You can configure the API credentials from the Billing Console Page by clicking Merge Service API Credentials link under Setup.