Proxy to wp2tutor-bot Deep Chat
POST/wp-json/wp2app/ai-chat/v1/chat
Deep Chat proxy for the SPA: the bot secret stays on the server and is not sent by the client. Logged-in users by default (can_chat filter). Unconfigured is 503; upstream failure is 502. Widget-shaped body, no fixed schema.
Request
Responses
- 200
- 401
- 403
- 502
- 503
OK
Not authenticated. WordPress REST: rest_not_logged_in / rest_forbidden. Use cookie + X-WP-Nonce or Application Password.
Insufficient capability or invalid REST nonce. WordPress REST: rest_forbidden / rest_cookie_invalid_nonce.
wp2app_ai_chat_upstream
Channel or secret is missing