API REFERENCE

API: widget

Canonical routes for widget (from ApiRoutes).

Routes

MethodPathAuth / notes
POST/widget/sessions/anonymousPublic key or session token (widgetSessionAnonymous)
POST/widget/sessions/authenticatedPublic key or session token (widgetSessionAuthenticated)
POST/widget/chatbots/{botId}/messagePublic 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.