cURL
curl --request GET \ --url https://api.sociavault.com/v1/credits \ --header 'X-API-Key: <api-key>'
{ "credits": 950, "subscriptionStatus": "active", "subscriptionId": "sub_1234567890" }
Returns the current credit balance and subscription status for the authenticated user
API key for authentication. Format: sk_live_xxxxxxxxxxxxx
sk_live_xxxxxxxxxxxxx
Get your API key from the Dashboard.
Successful response
Remaining credits available
950
Current subscription status
active
inactive
cancelled
past_due
"active"
Subscription ID if active
"sub_1234567890"