API Reference
Publish to ExpertLinkup
from any platform
ExpertLinkup has a simple REST API. POST your article from any CMS, static site, CLI tool, or custom workflow. Here's everything you need.
API Key Needed
Endpoint
POST https://expertlinkup.com/api/publish
Headers
| Header | Value |
|---|---|
| Content-Type | application/json |
| x-api-key | (your key) |
Request Body
| Field | Type | Required |
|---|---|---|
| title | string | ✅ |
| slug | string | ✅ |
| content | string (Markdown) | ✅ |
| excerpt | string | No |
| channel | string (slug) | No |
| author.name | string | No |
| author.avatar | string (initials) | No |
| author.headline | string | No |
| tags | string[] | No |
| publishedAt | ISO 8601 date | No |
{
"title": "Your Article Title",
"slug": "your-article-slug",
"content": "# Markdown content here...\n\nYour article body.",
"excerpt": "A short preview of your article.",
"channel": "technology-ai",
"author": {
"name": "Author Name"
},
"tags": [
"tag1",
"tag2"
]
}Channel Slugs
technology-ai→ Technology & AIdesign-ux→ Design & UXbusiness-strategy→ Business & Strategycareer-growth→ Career & Growthfinance-economy→ Finance & EconomyQuick Examples
cURL
curl -X POST https://expertlinkup.com/api/publish \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"title": "Hello World",
"slug": "hello-world",
"content": "# Hello\n\nThis is my first post.",
"channel": "technology-ai"
}'JavaScript / Node.js
const res = await fetch('https://expertlinkup.com/api/publish', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': 'YOUR_API_KEY',
},
body: JSON.stringify({
title: 'Hello World',
slug: 'hello-world',
content: '# Hello\n\nMy first post.',
channel: 'technology-ai',
}),
})
console.log(await res.json())
// { success: true, slug: "hello-world" }Python
import requests
res = requests.post(
'https://expertlinkup.com/api/publish',
headers={
'Content-Type': 'application/json',
'x-api-key': 'YOUR_API_KEY',
},
json={
'title': 'Hello World',
'slug': 'hello-world',
'content': '# Hello\n\nMy first post.',
'channel': 'technology-ai',
},
)
print(res.json())
# {'success': True, 'slug': 'hello-world'}Response
| Status | Meaning |
|---|---|
| 200 | Article published successfully |
| 400 | Missing required fields (title, slug, content) |
| 401 | Invalid or missing API key |
| 500 | Server error — contact admin |
Platform-specific guides
StarLaker CMSStep-by-step webhook setup for StarLaker users.
→WordPressUse WP Webhooks or a custom plugin to POST on publish.
→Ghost CMSAdd a custom integration webhook in Ghost admin.
→Zapier / MakeTrigger on RSS, webhook, or schedule to POST articles.
→Custom ScriptUse cURL, Python, or Node.js — see examples above.
→Need an API key? Contact admin