GET /me
What is left, and when the free part expires. Free.
What is left, and when the free part expires. Free.
curl -H "Authorization: Bearer $KCID_KEY" ".../me"
{
"credits": 50,
"paid": 0,
"free": 50,
"free_expires_at": 1788863557,
"disclaimer": "…"
}
credits | Usable now — purchased plus free that has not expired. This is the number every other endpoint spends against |
|---|---|
paid | Purchased. Does not expire |
free | What is left of the signup allowance, 0 once it has expired even though the grant is still on the ledger |
free_expires_at | Unix seconds, or null when there is no
unexpired free balance. Spending draws from the free part first, so it is used before it
can be lost |
Missing an endpoint or a field? Say what you were trying to do — it is read by the person who builds this.