Skip to main content
GET
/
api
/
v2
/
me
Get account & credit balance
curl --request GET \
  --url https://kodisc.com/api/v2/me \
  --header 'Authorization: Bearer <token>'
{
  "userId": "usr_2abZ9hP4q1nVx7mLk3",
  "keyId": "key_8c1d4e7f2a9b6c5d",
  "keyPrefix": "kdsc_live_9c1d",
  "credits": {
    "paid": 1840,
    "free": 200,
    "total": 2040
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.kodisc.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Send your API key in the Authorization header as Bearer kdsc_live_<...>. Generate keys from the developer dashboard. Keys are returned in plaintext only once at creation time — store them like a password.

Response

Account info and credits.

userId
string
required
keyId
string
required

Internal ID for the key being used to authenticate this request.

keyPrefix
string
required

First 16 characters of the API key (e.g. kdsc_live_9c1d). Safe to display in your UI to help users identify which key is in use.

credits
object
required