API: Get Current User
Retrieve the authenticated user’s profile, including email, current plan, and credit balances.
Endpoint
GEThttps://podwise.ai/api/open/v1/me
Response
type Response = {
success: true,
result: {
// The authenticated user's unique ID
userId: string,
// The user's registered email address
email: string | null,
// Current subscription plan: "Free", "Standard", "Pro", or "Enterprise"
plan: string,
credits: {
// Remaining view credits for the current billing period (-1 means unlimited)
view: number,
// Remaining AI processing credits for the current billing period, resets monthly (-1 means unlimited)
aiProcessing: number,
// Remaining purchased AI processing credits (never expire)
aiProcessingAddOn: number,
},
},
}Last updated on