Creates a new FeedbackClient instance.
Initialization options including baseUrl and appKey.
Retrieves public application settings, features, and styling configuration.
Optionaloptions: RequestOptions | AbortSignalApplication metadata and visual theme configuration.
UnexpectedStatusException If the app key is invalid or unpublished.
Retrieves published changelog entries and release notes sorted by publication date descending.
Optionaloptions: RequestOptions | AbortSignalChronological list of release notes.
Retrieves all Kanban roadmap columns configured for the application, sorted by position.
Optionaloptions: RequestOptions | AbortSignalList of active roadmap columns in display order.
Retrieves all discussion comments for a feature request.
ID of the feature request.
Optionaloptions: RequestOptions | AbortSignalList of discussion comments.
Fetches paginated feature requests with optional milestone filtering and keyword search.
Query parameters including userToken, limit, offset, versionId, and query.
Optionallimit?: numberMaximum number of items to return per page (default: 50).
Optionaloffset?: numberPage offset index (default: 0).
Optionalquery?: stringOptional search query string.
Optionalsignal?: AbortSignalOptional abort signal to cancel the request.
OptionaltimeoutMs?: numberOptional timeout in milliseconds for this request.
Unique user token to evaluate hasVoted and isOwnRequest states.
OptionalversionId?: stringOptional version ID filter.
Paginated list of feature request items.
Retrieves the public developer profile, authored applications, and recent comment history.
Target user or developer identifier.
Optionaloptions: RequestOptions | AbortSignalPublic profile details.
Retrieves all release version milestones for the application, sorted by position.
Optionaloptions: RequestOptions | AbortSignalArray of version milestones.
Posts a new discussion comment or reply on a feature request.
ID of the target feature request.
Comment message content, author info, and optional reply pointers.
User token of the commenter.
Optionaloptions: RequestOptions | AbortSignalThe created comment record.
Evaluates app configuration and fetches entries for the What's-New modal sheet.
Optionaloptions: PrepareChangelogOverlayOptions
Optional filtering settings including onlyIfUnseen.
Overlay payload or null if changelog feature is disabled, empty, or already seen.
Submits a user feedback draft, bug report, or feature inquiry.
The feedback payload including title, description, and optional attachments.
OptionaluserToken: string
Optional persistent anonymous or authenticated user token.
Optionaloptions: RequestOptions | AbortSignalA promise resolving to the submission result metadata.
UnexpectedStatusException If the server returns a non-2xx status code.
InvalidResponseException If a network failure occurs or JSON parsing fails.
Proposes a new public feature request.
Feature request proposal details (title, description, requesterName).
Current user identifier token.
Optionaloptions: RequestOptions | AbortSignalSubmission confirmation and moderation pending status.
Subscribes an email address to future changelog and release note announcements.
Target email address to subscribe.
Current user token.
Optionaloptions: RequestOptions | AbortSignalSubscription status confirmation.
Toggles an upvote on a specified feature request for the given user token.
ID of the target feature request.
User token performing the vote.
Optionaloptions: RequestOptions | AbortSignalUpdated vote status and total vote count.
Unsubscribes an email address from changelog notification emails.
Email address to remove.
Optionaloptions: RequestOptions | AbortSignalConfirmation result.
Reports customer tier, subscription plan, or revenue metrics for a user token.
User attributes including subscription status, plan name, and MRR.
Update confirmation.
Uploads a file, image, or log attachment to CupThread storage.
Attachment file payload, filename, and MIME type options.
The uploaded attachment descriptor ready to attach to FeedbackDraft.attachments.
RequestTimeoutException If upload times out.
UnexpectedStatusException If upload endpoint responds with an error.
UnreadableUploadResponseException If response body is malformed.
InvalidResponseException If network transport fails.
Primary API client for interacting with CupThread backend services.
Remarks
The
FeedbackClientmanages network transport, serialization, user authentication tokens, error mapping, and platform targeting across all CupThread API surfaces.Example