Free setup on annual plans

Sign up today!

Costs and Subscription

Costs and Subscription

API Reference: Costs and Subscription endpoints

The Costs and Subscription API covers the current plan, effective subscription limits, storage quota state and customer cost reports.

Overview

Use these endpoints for account-level reporting: the current subscription, storage usage and OpenAI/Twilio/Google cost reporting over requested UTC date ranges.

Current endpoints

Subscription and storage endpoints

MethodPathAccessPurpose
GET/api/Subscription/meBearer JWTReturn current subscription plan, effective limits and enabled features.
GET/api/Customers/storage-statusBearer JWTReturn lightweight storage quota status.
GET/api/Customers/storage-usageViewReportsReturn detailed storage usage and notification timestamps.
POST/api/Customers/storage-usage/recalculateViewReportsRecalculate and return storage usage.

Customer cost report endpoints

MethodPathAccessPurpose
GET/api/customer-costs/dailyViewReportsReturn daily OpenAI, Twilio, Google and total costs for a UTC range.
GET/api/customer-costs/monthlyViewReportsReturn monthly costs for a UTC range.
GET/api/customer-costs/yearlyViewReportsReturn yearly costs for a UTC range.

Fields and DTOs

DTO structure

SubscriptionPlanResponseDto

Returned by GET /api/Subscription/me.

AreaFieldsNotes
Plan identitysubscriptionPlanID, planName, monthlyFee, isCustomPlan, isActiveCurrent plan metadata and active state.
Effective limitsmaxUsers, effectiveMaxUsers, storageLimitGb, effectiveStorageLimitGbEffective values include custom overrides.
Phone AI budgetaiPhoneBudgetPercent, effectiveAiPhoneBudgetPercent, aiPhoneBudgetEur, effectiveAiPhoneBudgetEurBudget fields used by phone AI usage controls.
Featuresfeatures.hasChat, hasEmail, hasPhone, hasMultilingualSignatures, hasFineTunedModels, hasApiCalls, hasSchedulesOfConditionEnabled feature flags.

CustomerStorageStatusDTO and CustomerStorageUsageDTO

Returned by storage status/usage endpoints.

AreaFieldsNotes
UsageusedBytes, limitBytes, usedGb, limitGb, usagePercentCurrent storage usage and limits.
Remaining and stateremainingBytes, remainingGb, notificationState, isOverLimitDetailed usage endpoint fields.
TimestampslastRecalculatedUtc, lastWarn20SentUtc, lastWarn10SentUtc, lastOverLimitSentUtcRecalculation and notification timestamps.

Customer cost DTOs

Daily, monthly and yearly cost report rows.

AreaFieldsNotes
Date bucketdate, month, yearBucket differs by endpoint granularity.
Cost columnsopenAiCost, twilioCost, googleCost, totalCostReported for the authenticated customer and requested UTC date range.

Access and errors

Protected endpoints use JWT Bearer authentication and remain scoped to the authenticated customer.

Table of Contents

AnswerPal: AI-powered customer service solutions to elevate your support and communication effortlessly.

Contact

For all support, sales, and partnership inquiries, email us at info@answerpal.eu

AnswerPal
Bisschoppenhoflaan 380
2100 Antwerp
Belgium

+32.36416685

BE 0862.692.858