@replyke/node SDK gives you full programmatic access to the Replyke API from any Node.js environment. It is designed for server-side use only — backend endpoints, Next.js server actions, webhook handlers, cron jobs, and scripts.
This SDK requires a secret API key and must never be used in client-side
code or shipped to the browser.
Installation
Initialization
Create a singleReplykeClient instance at startup and reuse it throughout your application.
Configuration
Your Replyke project ID, found in the dashboard under Settings → General.
Your secret API key from the dashboard. Keep this in an environment variable —
never commit it to source control.
Set to
true when making internal/admin requests that bypass standard project
authorization. Defaults to false.Modules
Once initialized, all functionality is accessed through module namespaces on the client:Auth
Sign up, sign in, token management, password reset
Users
Fetch and update profiles, follows, connections
Entities
Create and manage content, reactions, drafts
Comments
Create and manage comments, reactions
Spaces
Space CRUD, navigation, slug management
Space Members
Membership, roles, approvals, bans
Space Moderation
Reports, content moderation, rules, digest
Search
Full-text search and AI-powered Q&A
Paginated Responses
Functions that return lists use a sharedPaginatedResponse<T> shape:
page and limit to any list function to control pagination.
