Support widget API & integration
Create or sign in to your enterprise business portal, configure your widget and copy its embed code. Download the WordPress plugin.
FNF website support widget — integration and API
Configure in FNF
Open the administrator console → Support widgets. Create a support account with name, email, mobile (country code included) and username. FNF generates a private six-digit temporary PIN, shown once. Give it privately to the support person. They sign in to FNF, change that PIN, finish their profile and approve additional devices themselves. Creating an account does not claim the phone/email have been verified.
Create a widget with a display name and exact HTTPS website origins, for example https://shop.example.com. No wildcards. Add the executive's FNF username and routing priority (lower first). One account may use multiple approved devices; leave its device list empty for all eligible devices or enter selected device UUIDs. Add other executives/accounts at later priorities. Enable the widget when ready. Configuration is restricted to super administrators.
Eligibility requires an active account, non-revoked signed-in device, encryption approval where required, and recent support presence or a registered push endpoint. Open FNF on each device initially. Existing FNF push setup supports background ringing. Flagged accounts are excluded from website voice routing; this release does not bypass the existing requirement for explicit recording/moderation consent. Normal account/private E2EE calling is not converted into guest calling.
Simple website embed
Copy the exact snippet from that widget's Embed code action:
<script src="https://fnfmeet.com/assets/support-loader.js"
data-fnf-support="YOUR_26_CHARACTER_WIDGET_ID" defer></script>
The floating panel asks for name, mobile number including country code, email and reason. The visitor accepts the business-support privacy notice, then can chat or press Call support. Microphone permission is requested only for a call. The supplied phone/email are self-reported, not a verified FNF identity. This is an internet voice call, not a cellular/PSTN call to the typed number.
The loader adds an iframe with allow="microphone". On a site with CSP, allow https://fnfmeet.com in script-src, style-src, frame-src and connect-src; the iframe handles its own API/media. The parent site's Permissions-Policy must permit delegation of microphone access to https://fnfmeet.com; a restrictive microphone=(self) header prevents this cross-origin iframe from calling. Keep the website and FNF on HTTPS. The support form can be opened without the visitor signing in to FNF.
The widget ID is publishable. It is not a credential. Browser framing/origin checks, intake limits, queue limits and session capability tokens protect the public widget, but an allowed-origin list is not bot authentication. Use backend-only mode with your site's CAPTCHA/abuse checks when appropriate.
Backend-only session creation
Disable public browser intake in widget settings. Keep the generated server key in your other project's server environment; never put it, a staff PIN or FNF credentials into HTML/JavaScript.
Add a same-origin endpoint on that website, such as /api/support-session, to validate its own CSRF/CAPTCHA/rate limits and forward intake to FNF:
POST https://fnfmeet.com/api/v1/support-widgets/WIDGET_ID/server-session
Authorization: Bearer PRIVATE_WIDGET_SERVER_KEY
Content-Type: application/json
{"site_origin":"https://shop.example.com","name":"Visitor name","phone":"+919876543210","email":"visitor@example.com","reason":"Question about my order","consent":true,"recording_notice_ack":true}
Return only FNF's session result to the browser; do not return the server key. The result contains session_id, a private visitor token and expires_in (7200 seconds). The token has access only to that visitor's support session. It is not a general FNF login or account-creation token.
Then use:
<script src="https://fnfmeet.com/assets/support-loader.js"
data-fnf-support="WIDGET_ID"
data-fnf-session-endpoint="/api/support-session" defer></script>
The form stays inside the FNF panel; the loader passes intake to your same-origin backend. The endpoint must return the FNF JSON response or its data object. Your backend should use the configured, fixed site_origin rather than trust an arbitrary client-provided site value. Server keys are scoped to one widget, hash-stored and rotatable. Rotation invalidates the old key for new sessions; existing visitor tokens retain their own expiry.
Visitor API
Prefix: /api/v1/support-widgets/{widget_id}. Responses are { "ok":true, "data":... }; failures contain an error message and HTTP status. JSON POST requests use Content-Type application/json.
| Endpoint | Purpose | |---|---| | GET /config | Public widget name, enabled state, intake mode and privacy text; no staff credentials | | POST /sessions | Public intake, if enabled; same intake fields as above | | POST /server-session | Private-key authenticated intake from your backend | | GET /sessions/{id}/state?after=0&signal_after=0 | Private visitor's messages, queue/call state and incoming signaling | | POST /sessions/{id}/messages | {message,client_message_id}; text only, up to4000 chars | | POST /sessions/{id}/call | Enter the sequential voice-call queue; idempotent while already queued/ringing/connected | | GET /sessions/{id}/ice | Short-lived ICE configuration, only after a call assignment | | POST /sessions/{id}/signals | {call_id,type,payload,request_id}; own active call only; UUID request_id gives transactional idempotency | | POST /sessions/{id}/end | Cancel/end voice while leaving chat available | | POST /sessions/{id}/close | End the visitor session and revoke its capability |
Visitor endpoints require X-FNF-Support-Token: TOKEN. For unload cleanup only, the close endpoint also accepts token in its JSON body. Tokens are never placed in page URLs and the provided iframe keeps its visitor token in memory. Refreshing the iframe starts a new session; the support team retains the previous thread. Sessions expire after two hours.
Default limits: public intake6 requests per source IP/5 minutes, private backend intake300 per source IP/5 minutes,300 new sessions/widget/hour,240 visitor requests/minute,30 text sends/minute and6 call requests/5 minutes. Admin configures queue capacity1–200, ringing10–45 seconds and maximum waiting up to600 seconds. The defaults are50 queued visitors,20 seconds per ring and120 seconds maximum waiting. A paused widget rejects new sessions/calls while active calls may finish.
Routing and privacy behavior
Intake is delivered into an FNF chat, with name and typed number in the visitor label and explicit self-reported labels in the intake message. A visitor does not receive ownership of any registered phone number or an FNF authentication session. Guest identities are excluded from ordinary account search and People listing. The visitor capability cannot read other visitors, private chats, contacts or general account APIs.
Calls reserve one available device atomically. Busy devices are skipped; another signed-in device on the same support account can serve a different visitor simultaneously. Ringing and call details/push notifications go only to the assigned device; other devices cannot answer, read setup data or send signaling for it. Unanswered/declined attempts move to the next eligible device and are not immediately re-rung on the same device for that request. Queue order is FIFO. When everyone is busy the widget says it is waiting for another customer-care executive. If no one answers before the configured wait limit, the visitor can leave a message or try again. A legacy private/group call conservatively marks that account busy for new support routing.
Support text is a disclosed server-readable business conversation; do not describe it as private E2EE chat. Website voice uses WebRTC encrypted transport, P2P when available with the existing TURN fallback. The website visitor does not have a verified FNF device identity. This release is text plus live voice, not attachments, voice notes, video, PSTN dialing or automatic recording. Staff voice/video controls cannot turn a website support call into an unsupported video session.
Support chats remain in FNF after a visitor closes the widget. Admins can pause/enable selected widgets, view routing devices, rotate keys and close selected visitor sessions; linked chat/call/audit records are retained. UTC timestamps are stored and admin session displays include UTC/IST. Protect visitor contact data under your website's own privacy notice and access policies.
Recorded support and audit dashboard (0.9.3)
The panel shows a clear recorded-support policy and Continue & connect. That action stores the shown notice and timestamp; it replaces the former checkbox. New support calls are recorded in the visitor browser after an executive answers. Executives see Recorded support before answering; no separate moderation popup is used for this company service. This does not change private FNF calls or flagging rules. Visitor microphone access remains an explicit browser permission. Unsupported recording browsers cannot place a recorded call.
Executives receive masked intake phone/email fields; full self-reported intake is protected for authorized owner review. Free-text reasons/messages may still contain details the visitor types. The Support audit dashboard has calendar dates, UTC/IST, per-device routing attempts, who answered, duration since answer, preserved message transcript and edit/delete events. Chat activity is explicitly an estimate, with idle gaps capped at five minutes. Audio access requires an administrative reason and is audited. Existing recording retention/holds apply. Interrupted uploads may produce partial or unavailable audio; the dashboard must not be read as proof that every second was captured. Older calls cannot be recorded retroactively.
Widget wording is editable per widget through Widget wording. Essential recorded-service facts remain visible. Private support keys and temporary PINs are never part of branding or public copy.