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

HeaderValue
Content-Typeapplication/json
x-api-key(your key)

Request Body

FieldTypeRequired
titlestring
slugstring
contentstring (Markdown)
excerptstringNo
channelstring (slug)No
author.namestringNo
author.avatarstring (initials)No
author.headlinestringNo
tagsstring[]No
publishedAtISO 8601 dateNo
{
  "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-aiTechnology & AI
design-uxDesign & UX
business-strategyBusiness & Strategy
career-growthCareer & Growth
finance-economyFinance & Economy

Quick 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

StatusMeaning
200Article published successfully
400Missing required fields (title, slug, content)
401Invalid or missing API key
500Server error — contact admin

Need an API key? Contact admin