AppgramClient
Methods
constructor→ AppgramClientconfig: AppgramClientConfig
addSupportMessage→ Promise<ApiResponse<object>>Add a message to a support ticket
ticketId: stringtoken: stringcontent: string
checkVote→ Promise<ApiResponse<VoteCheckResponse>>Check if a fingerprint has voted on a wish
wishId: stringfingerprint: string
checkWaitlistStatus→ Promise<ApiResponse<WaitlistStatus>>Check if an email is on the waitlist
email: string
createComment→ Promise<ApiResponse<Comment>>Create a comment
data: object
createVote→ Promise<ApiResponse<object>>Create a vote
wishId: stringfingerprint: stringvoterEmail: stringoptional
createWish→ Promise<ApiResponse<Wish>>Create a new wish (feature request)
data: object
deleteVote→ Promise<ApiResponse<object>>Delete a vote
voteId: string
getBlogCategories→ Promise<ApiResponse<BlogCategory[]>>Get blog categories
getBlogPost→ Promise<ApiResponse<BlogPost>>Get a single blog post by slug
slug: string
getBlogPosts→ Promise<ApiResponse<BlogPostsResponse>>Get public blog posts with optional filters
filters: BlogFiltersoptional
getBlogPostsByCategory→ Promise<ApiResponse<BlogPostsResponse>>Get blog posts by category slug
categorySlug: stringoptions: objectoptional
getBlogPostsByTag→ Promise<ApiResponse<BlogPostsResponse>>Get blog posts by tag
tag: stringoptions: objectoptional
getComments→ Promise<ApiResponse<CommentsResponse>>Get comments for a wish
wishId: stringoptions: objectoptional
getContactForm→ Promise<ApiResponse<ContactForm>>Get a contact form by ID via portal endpoint
formId: string
getFeaturedBlogPosts→ Promise<ApiResponse<BlogPost[]>>Get featured blog posts
getHelpArticle→ Promise<ApiResponse<HelpArticle>>Get a help article by slug
slug: stringflowId: string
getHelpCollection→ Promise<ApiResponse<object>>Get help center collection for the project
getHelpFlow→ Promise<ApiResponse<HelpFlow>>Get a help flow by slug
slug: string
getPageData→ Promise<ApiResponse<object>>Get all public page data in one request
getPublicForm→ Promise<ApiResponse<ContactForm>>Get a public contact form by ID (legacy endpoint)
formId: string
getPublicStatusOverview→ Promise<ApiResponse<StatusPageOverview>>Get public status page overview (services, active updates, overall status)
slug: stringoptional
getPublicSurvey→ Promise<ApiResponse<Survey & object>>Get a public survey by slug
slug: string
getPublicSurveyCustomization→ Promise<ApiResponse<Record<string, unknown>>>Get survey customization settings
surveyId: string
getPublicWishes→ Promise<ApiResponse<WishesResponse>>Get public wishes for the project
filters: WishFiltersoptional
getRelatedBlogPosts→ Promise<ApiResponse<BlogPost[]>>Get related blog posts for a given post
slug: string
getRelease→ Promise<ApiResponse<Release>>Get a single release by slug
releaseSlug: string
getReleaseFeatures→ Promise<ApiResponse<ReleaseFeature[]>>Get features for a release (public endpoint)
releaseSlug: string
getReleases→ Promise<ApiResponse<Release[]>>Get public releases for the project
options: objectoptional
getRoadmapData→ Promise<ApiResponse<RoadmapData>>Get roadmap data for the project
getSupportTicket→ Promise<ApiResponse<SupportRequest>>Get a specific support ticket using magic link token
ticketId: stringtoken: string
getWaitlistCount→ Promise<ApiResponse<WaitlistCount>>Get the total count of users on the waitlist
getWish→ Promise<ApiResponse<Wish>>Get a single wish by ID
wishId: string
joinWaitlist→ Promise<ApiResponse<WaitlistEntry>>Join the waitlist
data: WaitlistJoinInput
leaveWaitlist→ Promise<ApiResponse<object>>Leave the waitlist
email: string
searchBlogPosts→ Promise<ApiResponse<BlogPostsResponse>>Search blog posts
query: stringoptions: objectoptional
sendSupportMagicLink→ Promise<ApiResponse<object>>Request a magic link to access support tickets
userEmail: string
submitContactForm→ Promise<ApiResponse<ContactFormSubmission>>Submit a contact form
projectId: stringformId: stringdata: ContactFormSubmitInput
submitSupportRequest→ Promise<ApiResponse<SupportRequest>>Submit a support request
data: SupportRequestInput
submitSurveyResponse→ Promise<ApiResponse<SurveyResponse>>Submit a survey response
surveyId: stringdata: SurveySubmitInput
trackContactFormView→ Promise<ApiResponse<object>>Track a contact form view (call when form is displayed)
formId: string
uploadFile→ Promise<ApiResponse<object>>Upload a file via public portal (no auth required)
file: File
verifySupportToken→ Promise<ApiResponse<object>>Verify magic link token and get user's support tickets
token: string