If the embed script and dashboard are enough, start at AI chat on your site. This page summarizes the public API for custom integrations.
In short
- Base:
https://api.notifique.me/public/ai-widget - No workspace API Key. Security via widget public key, allowed domains, and session token.
- Full routes, headers, and responses: API reference on the Web chat tab.
Typical flow
- Get widget configuration (theme, copy, identification rules). The embed script does this on load.
- Create or resume session with
visitorClientIdand visitor data (if the mode requires it). - Send message with
sessionTokenandtextin the body (see examples below). - If the response status is
handofforautomation, use polling for new messages. - With OTP enabled: request code and verify code before unlocking chat.
Get configuration
Use the Get widget configuration operation in the API reference. Typical response:Create or resume session
Use the Create session operation in the API reference.
Site with login (automatic verification):
sessionToken from the response and send it in the body of following calls (sessionToken).
Typical response:
Send message
Use the Send message operation in the API reference.Fetch new messages (polling)
Use the List messages operation in the API reference, withafter (timestamp).
Recommended: poll every 2 s, for up to 3 minutes, when status is handoff or automation.
OTP
- Request code: Request OTP operation with
{ "sessionToken": "..." } - Confirm code: Verify OTP operation with
{ "sessionToken": "...", "code": "482913" }
Common errors
Dashboard (internal use)
Widget management endpoints (list, create, update, rotate keys) require dashboard login. Details in the API reference on the Web chat tab.All send types
In the API reference (Web chat tab), open Send widget message and pick an example in the playground: Session, Message, OTP.Next steps
- Security: identification modes
- Tips
- AI chat on your site

