Get Credit History
GET/credits/history
Get credit transaction history.
Authentication
Authorization: Bearer vm_sk_… with the media.read permission (or all.read). See Authentication.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
transaction_type | query | string | Filter by type (not supported upstream, ignored) |
start_date | query | string | Not supported upstream, ignored |
end_date | query | string | Not supported upstream, ignored |
skip | query | integer | |
limit | query | integer |
Response
200 application/json
| Field | Type | Description |
|---|---|---|
limit* | integer | Number of items per page |
skip* | integer | Number of skipped items |
total* | integer | Total number of transactions |
transactions* | CreditTransactionResponse[] |
{
"limit": 0,
"skip": 0,
"total": 0,
"transactions": [
{
"amount": 0,
"balance_after": 0,
"balance_before": 0,
"created_at": "2026-12-05T10:00:00Z",
"description": "string",
"transaction_id": "string",
"transaction_type": "string"
}
]
}Errors
401 | Missing, wrong, revoked or expired key. |
403 | The key lacks media.read, the route is not available to keys, or the key's IP allow-list refuses this client. |
422 | The request failed validation; `detail` lists the fields. |
429 | Over a rate limit; retry after `Retry-After` seconds. |
All statuses: Errors.
Example
curl -X GET "https://api.voicemint.io/api/v1/credits/history" \
-H "Authorization: Bearer $VOICEMINT_API_KEY"