Skip to main content

Overview

This guide walks you through the complete workflow of managing content in Haystack, from creating your organizational structure to publishing items.

Prerequisites

Before you begin, ensure you have:
  • A Haystack account with API access
  • Your API token (see Authentication)
  • At least one collection created

Step 1: Set Up Your Organization

Create Collections

Collections are the top-level categories for your content. Create them first:

Create Speakers

Add the people who deliver your content:

Create Topics

Define the topics/tags you’ll use to categorize content:

Step 2: Create a Series (Optional)

For multi-part content, create a series:

Upload Series Artwork

Add visual branding to your series:
Artwork requirements:
  • Square: 1:1 aspect ratio, minimum 1000x1000px
  • Wide: 16:9 aspect ratio, minimum 1920x1080px
  • Max file size: 15MB
  • Formats: JPG, PNG

Step 3: Create an Item

Now create your first content item:

Step 4: Add Item Artwork

Upload thumbnail images for the item:

Step 5: Add Scriptures (Optional)

Link Bible passages to your item:

Step 6: Publish the Item

Once everything is ready, publish the item:
Items must have at least one media asset attached before they can be published. See the Working with Media guide to learn how to upload media.

Updating Content

Update Item Metadata

Modify an existing item:

Unpublish an Item

Take an item offline:

Bulk Operations

Creating Multiple Items

When importing a library, create items in batches:
For large bulk imports (>100 items), consider batching your requests and implementing retry logic for failed imports.

Querying Content

List Items

Retrieve items with filtering and pagination:
Fetch an item with all related data:

Common Patterns

Checking if Item Exists

Finding Items by Speaker

Getting Latest Items

Best Practices

Design your collections before importing content. Changing an item’s collection later requires updating the item, which can affect analytics.
Maintain consistent naming conventions for speakers and topics to avoid duplicates.
  • ✅ “John Smith” (everywhere)
  • ❌ “John Smith”, “Pastor John”, “Rev. Smith” (creates duplicates)
Create items as drafts, add all metadata and media, then publish when complete.
Rich metadata (descriptions, topics, scriptures) improves search quality and user experience.

Error Handling

Always handle errors gracefully:

Next Steps

Working with Media

Learn how to upload and manage media for your items

API Reference

Explore the full API documentation