Family SDK

Family SDK

Put k-ID's parental consent, parent linking and family controls inside your own product.

The Family SDK puts k-ID's verifiable parental consent (VPC) and parent linking (VPL) inside your own product. A parent signs in, approves a child for your product, and later manages that child's permissions, preferences, screen time and purchases, all without leaving your app or site.

The screens, rules and copy are the same ones the k-ID Family Portal uses. Your app decides where they appear and how they look.

How it differs from the CDK widgets

The CDK widgets are hosted pages you open in an iframe or a new tab, and the custom workflow calls the k-ID API from your server. The Family SDK renders the parent-facing flows as native UI in your own app or site:

CDK widgetsFamily SDK
Where it runsA k-ID page in an iframe, pop-up or redirectYour own UI, built with the SDK for your platform
Who uses itThe player, at the age gate, and a parent following a linkThe parent, signed in to your product
Look and feelCompliance Studio brandingYour own styles, theme and copy
Parent managementFamily Portal, on k-ID's domainIn your app, or on a page you choose
KeySecret API key, from your serverPublishable key in your app, plus your secret key to confirm results

The two work together. A child can still start at your age gate; the consent email k-ID sends the parent can link to your own page, where the Family SDK takes over (see Email links).

Supported platforms

PlatformPackage
React (web)@k-id/family-react

The guides below use the React SDK for their examples.

What a parent can do

The widget and hook names below are the React SDK's.

CapabilityWhat the parent can doDrop-in widgetBuild your own with
Sign inSign in or up with an emailed one-time code. There's no password and no separate k-ID account to create.KidTrustedAdultAuthuseKidTrustedAdultAuth
Approve a childPick one of their children or add one, read your product's disclosures, choose permissions, preferences and screen time, verify their age, and approve.KidChildSetupuseKidChildSetup and the step widgets
Answer k-ID emailsOpen a consent request, parent invite or upgrade from a k-ID email, straight into your product.KidFamilyRouterparseKidFamilyRoute
See their childrenList the children who use your product.KidChildListuseKidManageChildren
Manage a childChange permissions and preferences, set screen-time limits and quiet hours, answer extra-time requests, approve or deny purchases, see activity, and choose the activity email.KidChildManagementuseKidChildManagement and the area hooks
Remove accessRevoke the child's access to your product, or unlink their account.KidRevokeAccess, KidUnlinkAccountuseKidChildManagement

Each widget's hook exposes the same state and actions, so you can start with the widgets and replace any one of them with your own UI later.

How it fits together

What the parent sees comes from your product's configuration in Compliance Studio: its permissions, data notices, preferences, screen-time controls, purchase controls and activity types. A tab or step your product doesn't configure is not shown.

Availability

Please contact k-ID to have this capability enabled for your organization.

Next steps

On this page