Publish Webhook
Local/live receiver used by the hybrid publisher connector.
POST /api/publish/webhook
Accepts publish payloads from Komenin live mode. Optional bearer token via SOCIAL_PUBLISH_WEBHOOK_TOKEN.
curl -X POST http://localhost:3000/api/publish/webhook -H "Authorization: Bearer $SOCIAL_PUBLISH_WEBHOOK_TOKEN" -H "Content-Type: application/json" -d '{
"platform": "instagram",
"username": "brand",
"body": "We just shipped a safer approvals flow.",
"hashtags": ["komenin", "socialops"]
}'Response
{
"ok": true,
"id": "dlv_...",
"externalPostId": "hook_...",
"message": "Webhook accepted"
}Operator tips
- Point SOCIAL_PUBLISH_WEBHOOK_URL at this receiver or your n8n/custom worker.
- Use /app/settings/publisher Test webhook before enabling live campaigns.
- Keep SIMULATOR_MODE=true until deliveries look correct.
Need the product UI? Open command center