User

Get user profile

Retrieve the authenticated user's profile information and credit balance

get/api/user/profile

Request

  • Base URL: https://api.zvid.io
  • URL: https://api.zvid.io/api/user/profile
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Response

User profile retrieved successfully

Example response

{
  "user": {
    "id": 123,
    "email": "user@example.com",
    "firstName": "John",
    "lastName": "Doe",
    "emailVerified": true,
    "profileCompleted": true,
    "createdAt": "2025-01-01T00:00:00.000Z"
  },
  "credits": {
    "balance": 1800,
    "subscriptionCredits": 1200,
    "addonCredits": {
      "balance": 600,
      "totalEarned": 1000,
      "totalSpent": 400
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.