Skip to content

Blog Posts

Long-form content creation for multi-platform publishing.

API Endpoints

MethodEndpointDescription
GET/api/blogList blog posts
POST/api/blogCreate post
GET/api/blog/:idGet post
PUT/api/blog/:idUpdate post
DELETE/api/blog/:idDelete post
POST/api/blog/:id/publishPublish to destination

Data Model

prisma
model BlogPost {
  id           String
  companyId    String
  authorId     String
  title        String
  slug         String
  content      String   // Markdown or HTML
  excerpt      String?
  featuredImage String?
  status       String   // 'draft', 'published'
  publishedAt  DateTime?
  seo          Json?    // Meta title, description
  tags         String[]
  destinations BlogDestination[]
}

Publishing Destinations

Supports publishing to:

  • WordPress (REST API)
  • Medium (API)
  • Ghost (Admin API)
  • Webflow (CMS API)
  • Custom (webhook)

SEO Features

  • Meta title/description
  • Open Graph tags
  • Twitter cards
  • Schema.org markup
  • Canonical URL

AI Integration

  • Generate post from topic
  • Improve/rewrite content
  • Generate title variations
  • SEO optimization suggestions

TendSocial Documentation