API REFERENCE
API: widget
Canonical routes for widget (from ApiRoutes).
Routes
| Method | Path | Auth / notes |
|---|---|---|
| POST | /widget/sessions/anonymous | Public key or session token (widgetSessionAnonymous) |
| POST | /widget/sessions/authenticated | Public key or session token (widgetSessionAuthenticated) |
| POST | /widget/chatbots/{botId}/message | Public key or session token (widgetMessage) |
Example
POST https://api.startupcore.com/widget/sessions/anonymous
Errors
401 UNAUTHORIZED, 403 FORBIDDEN, 403 FEATURE_NOT_ENTITLED, 404 NOT_FOUND, 400 VALIDATION_ERROR.