Invitations and Wink Sites

Two ways to collect a user's data without embedding the Wink Widget in your app. Both need only a Wink Template — you never write widget code.

MethodWhat you buildWhat you configure
Send invitationsA POST /invites call — or nothing at all, using the Developer PortalAn Invite Template and a Wink Template
Publish a Wink SiteNothingA Wink Site and a Wink Template

Either way the user completes the flow on a Smile-hosted page, and the data reaches you exactly as it does with the embedded widget: the account appears under /accounts, GET /accounts/{id}/payload returns the datapoints, and the webhooks fire.


Invitations


Send invitations

Smile sends the user a message with a link to a Smile-hosted landing page, where they complete the same Wink Widget flow — no client code on your side.

You send an invitation either through the Invites API or manually from the Users section of the Developer Portal (Production mode only). An invitation needs an Invite Template for the email content and a Wink Template for the widget your users will see:

AttributeTypeDescription
fullNamestringThe full name of the person to be invited. Required
firstNamestringThe first name of the person to be invited
lastNamestringThe last name of the person to be invited
emailstringThe email address the invite should be sent to. Required
templateIdstringThe invite template ID to use, usually in the format tpl-123abc456def789abc123def456abc78. Required
winkTemplateIdstringThe Wink Widget template ID to use, usually in the format wtpl-123abc456def789abc123def456abc78

Invited users are ordinary Wink users: the account shows up under /accounts, the data is available through the same endpoints (including GET /accounts/{id}/payload), and the same webhooks fire.


Wink Site


Publish a Wink Site

A Wink Site is a hosted version of the widget flow that needs no integration at all. You create it in the Developer Portal, pick a Wink Template, and send users the resulting URL.

Wink Widget Site 2.0 lets you set the site name, a redirect URL for after the user finishes, your preferred Wink Template and your company logo, and optionally include a landing page and a result page — each with customisable copy.

Because a Wink Site runs the same Wink Widget, the data is delivered the same way as the embedded path: the account appears under /accounts, GET /accounts/{id}/payload returns the datapoints, and the same webhooks fire. See the Developer Portal guide for the setup screens.