Publishing
send_webhook
Send data to configured webhooks (Make.com, n8n, Zapier, Slack)
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| webhook_type | string | Required | — | Which webhook to use: 'default', 'make', 'n8n', 'zapier', 'slack' |
| payload | object | Optional | — | Data to send in the webhook |
| message | string | Optional | — | For Slack: formatted message text |
Example
Send Slack notification:
Request
{
"webhook_type": "slack",
"message": "New article published: React Hooks Guide\n\nURL: https://your-site.com/react-hooks-guide"
}Response
{
"status": "success",
"webhook_type": "slack",
"response": {
"ok": true
}
}Tips
Best Practices
- Configure webhook URLs in credentials file
- Use 'default' for general-purpose webhooks
- Slack webhook sends formatted messages
- Payload is JSON-encoded automatically