Information
- OpenAPI version:
3.0.3
Channel webhooks and Deep Chat. {product}/{slug}/v1:
wp2tutor-bot/telegram/v1, wp2tutor-bot/vk/v1, wp2tutor-bot/deepchat/v1.
Webhooks are public (permission_callback always true). Telegram secret is header X-Telegram-Bot-Api-Secret-Token; VK is JSON field secret; Deep Chat POST is X-Wp2tutor-Bot-Secret. Deep Chat: POST + OPTIONS (CORS).
Telegram {bot_id} is the channel post ID (path name kept after migrating from wp2tutor_tg). VK and Deep Chat {channel_id} is the CPT wp2tutor_channel post ID.
Deep Chat channel secret (meta wp2tutor_bot_dc_secret). POST only; OPTIONS does not read it. Empty/wrong — 401 {error: Invalid secret.} if meta secret is set; empty channel secret — 503.
Security scheme type: apiKey
Header parameter name: X-Wp2tutor-Bot-Secret