Neeflow API Documentation
Automate your social media publishing across 10+ platforms. Create posts, upload media, generate AI content, and monitor performance — all via a simple REST API.
Base URL
https://neeflow.com/api/v1Authentication
All API requests require an API key passed via the X-API-Key header.
Create your API key in the Developer Dashboard after logging in.
curl -H "X-API-Key: ask_xxxxxxxxxxxxxxxx" \ https://neeflow.com/api/v1/channels
Rate Limits
API calls are quota-limited per plan per month. Check your limits in the response headers:
X-RateLimit-LimitMonthly quota
X-RateLimit-RemainingCalls remaining
X-RateLimit-ResetReset timestamp (ISO 8601)
When your quota is exhausted, the API returns 429 Too Many Requests.
Response Format
All responses follow a consistent JSON envelope:
✓ Success (200 / 201)
{
"success": true,
"data": { ... }
}✕ Error (4xx / 5xx)
{
"success": false,
"error": {
"code": "ERROR_CODE",
"message": "Description"
}
}Automation Flow
Here's a typical end-to-end automation workflow using the Neeflow API:
/api/v1/media/uploadUpload images or videos to the media library
/api/v1/ai/generateGenerate AI-powered captions using your brand voice
/api/v1/postsCreate a post with media + AI content
/api/v1/posts/{id}/publishPublish immediately or schedule for later
/api/v1/analyticsMonitor publishing results and performance
/api/v1/posts/{id}/retryAuto-retry any failed platform publishes
Content Pillars — Workflow Guides
How pillars, planner items and posts fit together end to end — the flows behind the Content Pillars endpoints below.
Assignment & Statuses
Two ways to assign an item. pic holds a CUSTOM person by name — the channel planner keeps its own people list (freelancers, roles) in the planner settings pics array; set pic to one of those names or any free-form name. assigneeId holds a REAL Neeflow user: list the channel members first (List Channel Members), then set assigneeId to a member userId when creating or updating an item. Item responses resolve it into an assignee summary { id, name, email }; send assigneeId: null to unassign. An assigneeId that is not a channel member is rejected with a 400.
Statuses are free-form strings on items. The channel status vocabulary lives in the planner settings (Get Planner Settings) as rich objects with id, label and color — Update Planner Settings adds custom statuses or custom pics. Known built-in statuses: idea, pending, filming, edit, in_review, approved, scheduled, published.
For a status overview without listing every item, read itemStatusCounts on List Content Pillars and Get Content Pillar: a live map of status to item count for each pillar.
1. From a pillar item to a real Post
A planner item is a plan, not a post. It becomes a real Post the first time you run an action on it (schedule, send_for_approval or publish_now). The created Post ID is stored back on the item as postId, and every later action reuses that same Post instead of creating a duplicate — one item maps to one Post for its whole life.
The Post content is the item content (falling back to the item title). The Post metadata records plannerItemId, the pillar name, the angle and targetPlatforms; if the item metadata contains contentPerPlatform, it is copied onto the Post so each platform can carry its own caption.
Platforms are set by NAME on the item (platforms: ["facebook", "instagram"]). When an action runs, Neeflow resolves each name to the channel active connected accounts and creates one pending delivery status per account — this is what makes the post actually go out. A named platform with no active account on the channel is skipped.
mediaUrls on an item are planning references and stay on the item; actions do not attach media files to the Post. To publish media, create the Post through the Posts API with mediaIds, or attach media in the dashboard composer. Item status mirrors the flow (schedule -> scheduled, send_for_approval -> in_review, publish_now -> published) while the Post moves through its own statuses independently.
2. Approval flow (send_for_approval)
Only the action field is required. approverId (optional) is the Neeflow user ID of a channel member who should review the post — when given, that user is assigned to the Post. approverName (optional) is the reviewer display name and is also shown on the planner item as its person-in-charge. note (optional) is stored in the Post metadata as the approval note, together with the submission timestamp. No field is needed if your team reviews from a shared queue.
State changes: the Post is created or updated to PENDING_APPROVAL (keeping the resolved airDate as its scheduled time) and the item moves to in_review. Per-platform delivery statuses are prepared as pending, but nothing is published while the post awaits a decision.
Reviewers act in the dashboard approval queue, or through the API: POST /api/v1/posts/{id}/approve and POST /api/v1/posts/{id}/reject (the caller must be a channel member whose role can approve; an API key acts as its owner user). Approval history is available at GET /api/v1/posts/{id}/approvals.
After approval: if the Post has a scheduled time it becomes SCHEDULED and publishes automatically when the time arrives; otherwise it becomes APPROVED and waits for POST /api/v1/posts/{id}/publish. After rejection the Post becomes REJECTED — edit it with PUT /api/v1/posts/{id} and resubmit. Approve and reject decisions do not change the planner item status automatically; PATCH the item (for example back to edit, or to approved) to keep the planner in sync.
3. Scheduling (schedule)
The air date resolves in this order: the airDate in the request body, then the item stored airDate, then now + 24 hours. A plain date-time string is parsed in the CHANNEL timezone; an ISO string with an explicit offset is honored as given.
The action creates the Post if needed (or updates the existing one) with status SCHEDULED and the resolved scheduledAt, syncs the item (status scheduled, airDate set, visible on the calendar), and creates the per-platform delivery statuses AT SCHEDULE TIME — one pending status for each active account of every platform named in item.platforms.
When the time arrives, the scheduler picks the post up automatically and publishes it to every pending platform. Follow delivery through GET /api/v1/channels/{channelId}/pillars/{pillarId}/posts or GET /api/v1/posts/{id}.
4. publish_now and anti-burst spacing
publish_now queues the Post for immediate publishing (status PUBLISHING) through the same worker pipeline as POST /api/v1/posts/{id}/publish, with the per-platform delivery statuses prepared first.
Anti-burst spacing: if another post went to the SAME social account moments ago, the traffic shaper spaces them out — typical windows are 3-8 minutes for Facebook and Instagram, 5-10 minutes for TikTok, 10-20 minutes for YouTube. In that case the response returns status SCHEDULED with the safe publish time and a safeBuffer notice instead of PUBLISHING. The post is not lost; it publishes automatically at that slot.
Send forceImmediate: true only when a post genuinely cannot wait (for example breaking news). There is no daily post cap anywhere in the API — spacing is the only automatic adjustment, and explicitly scheduled posts are never moved.
Channels
2Posts
5Post Actions
3Automation
1Media
2Approvals
2AI Content
2Monitoring
2Account
1Content Pillars
14Ready to automate?
Create a free account to get your API key and start publishing to 10+ platforms.