Publisher Webhook API
Send articles straight to Plus234Feed. Each one goes through the AI pipeline and is on the site within minutes.
On this page
Reference
Authentication
Every request carries your API key in the Authorization header with the Bearer scheme.
Authorization: Bearer p234_a1b2c3d4e5f6...Key format
- Keys start with
p234_and are 69 characters long (prefix plus 64 hex characters). - Keys are hashed server-side with SHA-256. The raw key is never stored, so a lost key cannot be recovered: ask for a replacement.
- Keep it secret. Never put it in client-side code, public repositories or URLs. If it leaks, ask us to rotate it.
Submit one article
POST/api/webhook/article
Submit a single article. It goes through cleaning, AI classification, entity extraction, summarisation and image optimisation before publishing.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Required | Article headline (at least 10 characters) |
content | string | Required | Full article body (at least 50 characters) |
url | string | Required | Canonical URL of the original article (http or https) |
category | string | Required | Article category (see the list below) |
published_at | string | Required | Publication date in ISO 8601 |
image_url | string | Optional | URL of the featured image |
author | string | Optional | Author name |
tags | string[] | Optional | Relevant tags |
excerpt | string | Optional | Short description or summary |
Example request
curl -X POST https://article-processor.plus234feed.com/api/webhook/article \
-H "Authorization: Bearer p234_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"title": "Federal Government Announces New Economic Policy Framework",
"content": "The Federal Government of Nigeria today unveiled a comprehensive...",
"url": "https://example.com/articles/new-economic-policy",
"category": "politics",
"published_at": "2026-02-10T08:00:00Z",
"image_url": "https://example.com/images/economic-policy.jpg",
"author": "John Doe",
"tags": ["economy", "policy", "FG"]
}'Success response
{
"success": true,
"message": "Article received and processed",
"data": {
"tracking_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"title": "Federal Government Announces New Economic Policy Framework",
"category": "politics",
"ai_summary": "The Federal Government has introduced a new economic...",
"processing_time_ms": 3420,
"source": "Example News"
}
}Submit a batch
POST/api/webhook/articles/batch
Up to ten articles in one request. They are queued and processed asynchronously; you get a tracking ID for each at once.
Request body
{
"articles": [
{
"title": "Article One Title Here",
"content": "Full content of article one...",
"url": "https://example.com/article-one",
"category": "sports",
"published_at": "2026-02-10T08:00:00Z"
},
{
"title": "Article Two Title Here",
"content": "Full content of article two...",
"url": "https://example.com/article-two",
"category": "business",
"published_at": "2026-02-10T09:00:00Z"
}
]
}Success response
{
"success": true,
"message": "Batch of 2 articles accepted for processing",
"data": {
"accepted": 2,
"tracking_ids": [
"a1b2c3d4-e5f6-7890-abcd-000000000001",
"a1b2c3d4-e5f6-7890-abcd-000000000002"
]
}
}- At most ten articles per batch.
- Each article is validated on its own. Invalid ones are skipped and reported in the response.
- Processing is asynchronous. Use the status endpoint to check progress.
- Each article counts towards your hourly rate limit.
Check status
GET/api/webhook/status
Your publisher account: rate limit, total submissions and allowed categories.
curl https://article-processor.plus234feed.com/api/webhook/status \
-H "Authorization: Bearer p234_your_api_key_here"{
"success": true,
"publisher": {
"name": "Example News",
"source_name": "Example News",
"is_active": true,
"allowed_categories": ["*"],
"rate_limit_per_hour": 50,
"total_articles_submitted": 142,
"last_submission_at": "2026-02-10T08:30:00Z"
}
}Categories
Send one of these. A category that does not match exactly is mapped through its aliases; anything unrecognised becomes general. Your account may be limited to certain categories by your publisher agreement.
| Category | Aliases |
|---|---|
politics | govt, government |
business | biz, finance |
technology | tech, science |
entertainment | showbiz, music, movies, nollywood |
sports | football, soccer |
health | wellness, medical |
education | – |
lifestyle | fashion, food, travel |
opinion | editorial, column |
world | international, africa, global |
security | crime, defence, defense |
environment | climate |
religion | faith, church, mosque |
general | fallback for unrecognised categories |
Rate limits and errors
The default limit is 50 requests an hour per key. A batch counts each article (a batch of five is five). Over the limit, the API answers 429 Too Many Requests. Ask us for a higher limit if your publication needs one.
HTTP status codes
| Code | Meaning | What to do |
|---|---|---|
200 | Success | Article accepted and processed |
202 | Accepted | Batch accepted for asynchronous processing |
400 | Bad request | Check the errors array in the response body |
401 | Unauthorised | Missing or invalid API key |
403 | Forbidden | Account deactivated or category not allowed |
429 | Rate limited | Wait and retry. Check rate_limit_per_hour via /status |
500 | Server error | Retry after a short delay. Contact us if it persists |
Error response
{
"success": false,
"errors": [
"title is required and must be at least 10 characters",
"published_at must be a valid date (ISO 8601)"
]
}WordPress plugin
The official plugin sends each newly published post to Plus234Feed. No code needed.
Installation
- Get the
plus234feed-publisherplugin folder from the team. - Upload it to
/wp-content/plugins/. - Activate it under Plugins in wp-admin.
- Open Settings, then Plus234Feed, and enter your API key.
- Press Test Connection.
- Publish a post. It appears on Plus234Feed.
Settings
| Setting | Description |
|---|---|
| API key | Your publisher key, starting p234_ |
| Webhook URL | Pre-filled. Change only if the team says so. |
| Default category | Used when no WordPress category maps |
| Enable | Turn sending off without deactivating the plugin |
How it works
On Publish, the plugin extracts the title, content, featured image, categories and tags, maps the WordPress category to a Plus234Feed one, sends the article through a scheduled event, and marks the post so it is not sent again on update. Only newly published posts are sent.
Category mapping
| WordPress category | Plus234Feed category |
|---|---|
| News, Breaking | general |
| Politics, Government | politics |
| Business, Economy | business |
| Technology, Tech | technology |
| Entertainment | entertainment |
| Sports, Football | sports |
| Health, Wellness | health |
| Education | education |
| Lifestyle, Fashion | lifestyle |
| Opinion, Editorial | opinion |
| World, International | world |
| Security, Crime | security |
Full example
Submit an article, then check your status.
1. Submit
curl -X POST https://article-processor.plus234feed.com/api/webhook/article \
-H "Authorization: Bearer p234_abc123def456..." \
-H "Content-Type: application/json" \
-d '{
"title": "Lagos State Launches Free Wi-Fi Initiative in Public Spaces",
"content": "The Lagos State Government has announced a new initiative to provide free wireless internet access in over 200 public spaces across the state...",
"url": "https://lagosnews.ng/2026/02/10/free-wifi-initiative",
"category": "technology",
"published_at": "2026-02-10T10:00:00+01:00",
"image_url": "https://lagosnews.ng/images/wifi-launch.jpg",
"author": "Adebayo Ogunlesi",
"tags": ["Lagos", "WiFi", "Smart Lagos", "digital"]
}'2. Check status
curl https://article-processor.plus234feed.com/api/webhook/status \
-H "Authorization: Bearer p234_abc123def456..."3. Node.js
const response = await fetch(
'https://article-processor.plus234feed.com/api/webhook/article',
{
method: 'POST',
headers: {
'Authorization': 'Bearer p234_your_api_key_here',
'Content-Type': 'application/json',
},
body: JSON.stringify({
title: 'Lagos State Launches Free Wi-Fi Initiative',
content: 'The Lagos State Government has announced...',
url: 'https://lagosnews.ng/2026/02/10/free-wifi',
category: 'technology',
published_at: new Date().toISOString(),
}),
}
);
const data = await response.json();
console.log(data);4. Python
import requests
from datetime import datetime
response = requests.post(
"https://article-processor.plus234feed.com/api/webhook/article",
headers={
"Authorization": "Bearer p234_your_api_key_here",
"Content-Type": "application/json",
},
json={
"title": "Lagos State Launches Free Wi-Fi Initiative",
"content": "The Lagos State Government has announced...",
"url": "https://lagosnews.ng/2026/02/10/free-wifi",
"category": "technology",
"published_at": datetime.utcnow().isoformat() + "Z",
},
)
print(response.json())