Get Plan Details
Use getConversivePlanDetails() when you need account-level subscription visibility inside Salesforce.
What this API can tell you
The Confluence page documents that this method can return:
- account-level subscription details
- plan type and plan label
- credit information
- license allocation and usage
- inbound number allocation and usage
- plan expiry information
Method signature
Inputs
This API takes no input parameters.
Response type
Top-level response fields
planDetails structure
Top-level planDetails fields
Plan entry structure
Plan entry fields
License details structure
Inbound number details structure
Example
Example success response
Example error response
Error behavior
The documented failure pattern is:
response = 'ERROR'responseMessageexplains the issueplanDetailsmay be null or incomplete depending on the failure
Because this method returns nested structures, the safest implementation is to:
- guard all nested list reads
- check
responsebefore readingplanDetails - log both
responseMessageandplanDetailsduring troubleshooting
Good use cases
- admin consoles
- subscription verification
- entitlement checks
- license usage reviews
- inbound number allocation reviews
- support troubleshooting
