Blinq Docs

Reference

Widget runtime API

The widget exposes a small global on window.blinq for cases where props are not enough.

identify(token)

Bind the active session to a verified user. Pass a JWT signed with your identity secret. See Identity verification for the payload shape.

window.blinq.identify(signedJwt);

resetUser()

Clear the verified identity and any cached tokens. Call on logout.

window.blinq.resetUser();

open() / close()

Programmatically toggle the chat panel. Useful for in-app help links such as “Ask Blinq” buttons.

window.blinq.open();
window.blinq.close();