Connect your website with Rank Sector using our webhook integration.
To set up a webhook integration, you will need to specify:
For production environments, we strongly recommend implementing the webhook secret mechanism that helps to verify the authenticity and integrity of webhook payloads.
const crypto = require('crypto');
function verifySignature(payload, signature, secret) {
const hmac = crypto.createHmac('sha256', secret);
hmac.update(payload);
return hmac.digest('hex') === signature;
}When an article is published, Rank Sector sends an HTTP request to your webhook endpoint with a JSON payload.
{
"event_type": "content_publish",
"title": "How to Boost Your SEO Rankings",
"slug": "how-to-boost-your-seo-rankings",
"status": "published",
"content_html": "<h1>How to Boost...</h1>",
"meta_title": "SEO Rankings Guide 2025",
"meta_description": "Learn proven strategies...",
"created_at": "2025-01-15T10:30:00Z",
"featured_image": "https://...",
"tags": ["seo", "marketing"]
}After you have set up your webhook configuration, you can test it by publishing an article:
Ensure your webhook URL is publicly accessible and using HTTPS. Check your server logs and firewall rules.
Verify your secret token matches exactly what you configured in the integration settings. Check for extra spaces.