Skip to content

SocialPost

The SocialPost entity represents individual social media posts scheduled and tracked via Ayrshare integration.

Overview

Fields

FieldTypeDescription
contenttextPost text content
postTypeenumType of post
platformenumTarget platform
statusenumCurrent status
scheduledAtdatetimeWhen to publish
ayrshareIdvarcharAyrshare post ID
mediaUrlurlAttached media
contentProductionIdlinkRelated content
clipIdlinkRelated clip

Post Types

TypePurposeBest For
PromoAnnounce new contentEpisode releases
ReminderRemind about upcomingLivestream alerts
ClipShare video clipShort-form content
Episode LinkLink to full contentDrive traffic
QuoteQuotable momentEngagement
Behind ScenesBTS contentCommunity building
EngagementQuestions, pollsAudience interaction

Status Flow

StatusDescriptionAyrshare State
DraftWork in progressNot sent
ScheduledReady to publishQueued
PublishedLive on platformPublished
FailedError occurred

Supported Platforms

PlatformCharacter LimitMedia Types
X/Twitter280Images, Videos, GIFs
Facebook63,206Images, Videos, Links
Instagram2,200Images, Videos, Reels
LinkedIn3,000Images, Videos, Documents
YouTube5,000Videos only
TikTok4,000Videos only

Ayrshare Integration

Scheduling Flow

Cancellation Flow

Analytics Tracking

Published posts have performance tracked:

Metrics Tracked

MetricDescription
impressionsTimes shown to users
likesLike/favorite count
commentsComment count
sharesRetweet/share count
clicksLink clicks
engagement_rateInteractions / Impressions

Relationships

Linked to ContentProduction

Linked to Clip

API Operations

Create SocialPost

http
POST /api/v1/SocialPost
Content-Type: application/json

{
  "content": "🎙️ New episode out now! Check out our conversation with...",
  "postType": "Episode Link",
  "platform": "X",
  "status": "Scheduled",
  "scheduledAt": "2026-02-10T15:00:00.000Z",
  "mediaUrl": "https://cdn.example.com/thumbnail.jpg",
  "contentProductionId": "content-id-here"
}

Update to Draft (Cancel Schedule)

http
PUT /api/v1/SocialPost/{id}
Content-Type: application/json

{
  "status": "Draft"
}

This triggers the Bridge to cancel the Ayrshare scheduled post.

Get Post with Analytics

http
GET /api/v1/SocialPost/{id}

Templates

Create consistent posts with templates:

Episode Announcement

🎙️ NEW EPISODE

{title}

📺 Watch now: {link}

#podcast #newepisode

Livestream Reminder

🔴 GOING LIVE in 1 hour!

{title}

Join us at {time}
📺 {link}

Quote Post

💬 "{quote}"

— {guest}, on {show}

Full episode: {link}

Best Practices

Optimal Posting Times

  • X/Twitter: 9am, 12pm, 3pm
  • Facebook: 1pm - 4pm
  • Instagram: 11am, 2pm
  • LinkedIn: 7am - 8am, 12pm, 5pm - 6pm

Platform-Specific Content

Don't copy-paste the same post everywhere. Adapt for each platform's style.

Avoid Over-Posting

Space posts at least 2-3 hours apart to avoid overwhelming followers.

Use Media

Posts with images/videos get 2-3x more engagement than text-only.

Schedule Ahead

Schedule your week's posts on Monday. Aim for consistent posting rhythm.

MediaMagic CRM Documentation