Skip to main content

What are Posts?

Posts are the primary content type in Mighty Networks. They represent user-generated content including text, images, videos, and other media shared within your Network. Posts can be:
  • Created in specific spaces
  • Visible to the entire Network or specific spaces
  • Commented on and reacted to
  • Moderated by admins and hosts

Post Properties

Each post includes:
  • Post ID - Unique identifier
  • Content - Text content with rich formatting
  • Author - Member who created the post
  • Space - Where the post was created
  • Media - Attached images, videos, or files
  • Timestamps - Created and updated dates
  • Engagement - Comments, reactions, and views
  • Visibility - Public, members-only, or space-specific

Listing Posts

Get all posts in your Network:

Example Response

Getting a Specific Post

Retrieve details about a single post:

Creating Posts

Create a new post in your Network:

Creating Posts with Notifications

You can optionally notify Network members when creating a post:
Use the notify=true parameter to send push notifications and emails to Network members about the new post.

Common Use Cases

Automated Announcements

Post automated announcements to your Network:

Content Moderation

Monitor recent posts for moderation:

Engagement Analytics

Track post engagement metrics:

Scheduled Posts

Create a simple scheduled posting system:

Content Export

Export all posts for backup or analysis:

Working with Rich Media

Posts can include various types of media:

Images

At this time, images canโ€™t be added directly via API.

Videos

Videos can be embedded in posts, either through direct uploads or links to platforms like YouTube or Vimeo. URLs in post content are automatically detected and can be previewed with link cards.

Best Practices

  1. Use Pagination - Always paginate when fetching multiple posts
  2. Rate Limiting - Be mindful of rate limits when creating multiple posts
  3. Notify Sparingly - Only use notify=true for important announcements
  4. Validate Content - Check post content before creating to avoid errors
  5. Handle Errors - Implement proper error handling for failed post creation
  6. Cache Post Data - Store frequently accessed posts locally
  7. Monitor Engagement - Track comments and reactions for content insights

Next Steps

Spaces

Learn where posts are organized.

Members

Understand post authors and engagement.

Pagination

Master pagination for post lists.

Rate Limits

Understand API rate limiting.