AccountCurrent user

GET /user

Return the authenticated user's account record. Useful as a token health-check.

curl https://api.chuger.com/user \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "id": 42,
  "name": "Jane Doe",
  "email": "[email protected]",
  "email_verified_at": "2026-01-12T15:30:00.000000Z",
  "created_at": "2026-01-12T15:25:00.000000Z",
  "updated_at": "2026-05-10T09:13:00.000000Z"
}

Return the authenticated user's account record. Useful for verifying that an API token is valid and discovering basic profile information.

GET https://api.chuger.com/user

Note the path — unlike the other endpoints, this one is not under /v1. The shape may evolve over time as your account model is extended.

Authentication

Bearer token in the Authorization header. See Authentication.

Cost

Free — no credits are deducted and the endpoint is not rate-limited.

Example

The exact fields returned reflect your account model and may include additional profile attributes over time. Treat unknown fields defensively.

Errors

StatusWhen
401Missing / invalid token

See Errors for the full reference.

Tips

  • Hit this endpoint as a quick health check from CI / startup code to confirm the token in your environment still works
  • Combine with /v1/credits to surface user + balance in a single dashboard widget