> ## Documentation Index
> Fetch the complete documentation index at: https://docs.engagefabric.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sync blog posts from marketing build



## OpenAPI

````yaml /api-reference/openapi.json post /superadmin/blog-posts/sync
openapi: 3.0.0
info:
  title: EngageFabric API
  description: >-
    EngageFabric is a multi-tenant SaaS gamification framework. This API
    provides endpoints for managing players, tracking events, quests,
    adventures, leaderboards, lobbies, and real-time features.
  version: 1.0.0
  contact:
    name: EngageFabric Support
    url: https://engagefabric.com
    email: support@engagefabric.com
  license:
    name: Proprietary
    url: https://engagefabric.com/terms
servers:
  - url: https://api.engagefabric.com
    description: Production
  - url: http://localhost:3000
    description: Development
security: []
tags:
  - name: auth
    description: Authentication endpoints
  - name: tenants
    description: Tenant management
  - name: projects
    description: Project management
  - name: players
    description: Player management and game state
  - name: events
    description: Event ingestion and tracking
  - name: quests
    description: Quest management and progress
  - name: adventures
    description: Adventure/season management
  - name: leaderboards
    description: Leaderboard rankings
  - name: lobbies
    description: Multiplayer lobby management
  - name: chat
    description: Real-time chat
  - name: rules
    description: Rules engine configuration
paths:
  /superadmin/blog-posts/sync:
    post:
      tags:
        - Super Admin
      summary: Sync blog posts from marketing build
      operationId: SuperadminController_syncBlogPosts
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BlogPostSyncDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlogPostSyncResponseDto'
components:
  schemas:
    BlogPostSyncDto:
      type: object
      properties:
        posts:
          description: Array of blog posts to sync
          type: array
          items:
            $ref: '#/components/schemas/BlogPostSyncItemDto'
      required:
        - posts
    BlogPostSyncResponseDto:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        created:
          type: number
        updated:
          type: number
        total:
          type: number
      required:
        - success
        - message
        - created
        - updated
        - total
    BlogPostSyncItemDto:
      type: object
      properties:
        slug:
          type: string
          description: Post slug (directory name)
        title:
          type: string
          description: Post title
        excerpt:
          type: string
          description: Post excerpt
        author:
          type: string
          description: Post author
        tags:
          description: Post tags
          type: array
          items:
            type: string
        featured:
          type: boolean
          description: Whether post is featured
        postDate:
          type: string
          description: Post date (ISO string)
        draft:
          type: boolean
          description: Draft status from MDX
      required:
        - slug
        - title
        - tags
        - featured
        - postDate
        - draft

````