Skip to content
VoiceMint Developers

Get Credit Summary

GET/credits/summary

Get credit usage summary for current billing period.

Authentication

Authorization: Bearer vm_sk_… with the media.read permission (or all.read). See Authentication.

Response

200 application/json

FieldTypeDescription
balance*CreditBalanceResponseCredit balance response.
period_summary*objectSummary by transaction type for current period
{
  "balance": {
    "allocated": 0,
    "bonus": 0,
    "lifetime_used": 0,
    "quota": 0,
    "remaining": 0,
    "total_available": 0,
    "used_this_period": 0
  },
  "period_summary": {}
}

Errors

401Missing, wrong, revoked or expired key.
403The key lacks media.read, the route is not available to keys, or the key's IP allow-list refuses this client.
429Over a rate limit; retry after `Retry-After` seconds.

All statuses: Errors.

Example

curl -X GET "https://api.voicemint.io/api/v1/credits/summary" \
  -H "Authorization: Bearer $VOICEMINT_API_KEY"