Skip to main content
This is the SDK reference for Hexclave’s Next.js SDK.
For setup instructions and how to use the SDK, see Setup & Installation. If you are using a framework or programming language other than Next.js, you can use our REST API.

General

TypeDescription
HexclaveClientAppClient-level permissions for frontend code
HexclaveServerAppServer-level permissions with full access
ProjectProject configuration and settings

Users & User Data

TypeDescription
CurrentUserClient-side authenticated user
ServerUserServer-side user with full access
CurrentServerUserCurrent user with server permissions
ContactChannelUser contact information (email, phone)
ServerContactChannelServer-side contact channel with extended control

Teams

TypeDescription
TeamTeam management and configuration
ServerTeamServer-side team with full access
TeamPermissionTeam-level permissions
ServerTeamPermissionServer-side team permissions
TeamUserTeam membership representation
ServerTeamUserServer-side team user
TeamProfileTeam-specific user profiles
ServerTeamProfileServer-side team profiles

Email

TypeDescription
SendEmailOptionsEmail sending configuration

Payments & Items

TypeDescription
CustomerCustomer billing interface
ItemClient-side resource management
ServerItemServer-side resource management with quantity operations

Hooks

HookDescription
useHexclaveAppReact hook to access the HexclaveClientApp instance
useUserReact hook to access the current user

API Keys

TypeDescription
ApiKeyAPI key management for programmatic access