List your published posts with optional platform, profile, and date-range filtering, sorting, and cursor-based pagination, including per-platform status, analytics, and aggregated totals
GET
/
v1
/
projects
/
published
curl -X GET "https://api.submagic.co/v1/projects/published?platform=youtube&from=2026-05-01T00:00:00Z&to=2026-05-31T23:59:59Z&sortBy=views&direction=desc&limit=25" \ -H "x-api-key: sk-your-api-key-here"
const listPublishedProjects = async ({ platform, profileId, from, to, sortBy, direction, limit, cursor,} = {}) => { const params = new URLSearchParams(); if (platform) params.set("platform", platform); if (profileId) params.set("profileId", profileId); if (from) params.set("from", from); if (to) params.set("to", to); if (sortBy) params.set("sortBy", sortBy); if (direction) params.set("direction", direction); if (limit) params.set("limit", String(limit)); if (cursor) params.set("cursor", cursor); const response = await fetch( `https://api.submagic.co/v1/projects/published?${params}`, { headers: { "x-api-key": "sk-your-api-key-here", }, } ); const data = await response.json(); console.log(`Fetched ${data.data.length} publications`); return data;};// Fetch first page of YouTube publicationsconst page = await listPublishedProjects({ platform: "youtube", limit: 25 });// Fetch next pageif (page.pagination.nextCursor) { const nextPage = await listPublishedProjects({ platform: "youtube", limit: 25, cursor: page.pagination.nextCursor, });}
import requestsdef list_published_projects(platform=None, profile_id=None, date_from=None, date_to=None, sort_by=None, direction=None, limit=None, cursor=None): url = 'https://api.submagic.co/v1/projects/published' headers = { 'x-api-key': 'sk-your-api-key-here' } params = {} if platform: params['platform'] = platform if profile_id: params['profileId'] = profile_id if date_from: params['from'] = date_from if date_to: params['to'] = date_to if sort_by: params['sortBy'] = sort_by if direction: params['direction'] = direction if limit: params['limit'] = limit if cursor: params['cursor'] = cursor response = requests.get(url, headers=headers, params=params) data = response.json() print(f"Fetched {len(data['data'])} publications") return data# Fetch first page of YouTube publicationspage = list_published_projects(platform='youtube', limit=25)# Fetch next pagenext_cursor = page.get('pagination', {}).get('nextCursor')if next_cursor: next_page = list_published_projects( platform='youtube', limit=25, cursor=next_cursor )
Retrieve a paginated list of your published posts across YouTube, TikTok,
Instagram, X (Twitter), Facebook, and LinkedIn. Each entry includes
per-platform delivery status, post URLs, and analytics where available, plus a
totals rollup aggregated across the post’s platforms.
Filter to a single profile (UUID). Copy the id from the Copy profile ID
action in the publishing dashboard’s profile selector.
string
Start of the date range (ISO 8601). Filters by publishedAt. When omitted,
results include everything published up to now.
string
End of the date range (ISO 8601). Filters by publishedAt. Defaults to the
current time.
string
Sort field. Allowed values: publishedAt, views, engagement. Defaults to
publishedAt. views and engagement sort by the aggregated totals.
string
Sort direction: asc or desc. Defaults to desc.
number
Number of items to return per page (1-100). Defaults to 25.
string
Cursor for pagination. Pass the nextCursor value from a previous response
to fetch the next page of results.
Response
array
Array of publication objects
Hide Publication Object
string
Unique identifier of the publication
string
The unique identifier of the underlying project
string
ISO 8601 timestamp of when the publication was published or is scheduled
to publish
boolean
true if the publication was scheduled for a future time
string
Overall publication status: published, scheduled, processing, or
failed
object
Minimal project metadata
Show Project
string
Project UUID
string
Project title
object
Metrics aggregated across the publication’s platforms
Show Totals
number
Sum of views across all platforms
number
Sum of likes, comments, and shares across all platforms
number
Net followers gained around the publish time, summed across the
publication’s accounts. null when no follower snapshots are
available to compute the delta.
array
Array of per-platform post objects
Show Post Object
string
Platform identifier: youtube, tiktok, instagram, twitter,
facebook, or linkedin
string
The post ID assigned by the upstream platform
string
Public URL of the post on the platform
string
Per-platform delivery status: published, scheduled, processing,
or failed
string
Analytics sync status: synced, pending, or failed
string
Error message if the post failed to publish, otherwise null
object
Platform analytics (available once syncStatus is synced)
Show Analytics
number
Total views
number
Total likes
number
Total comments
number
Total shares
number
Total impressions
number
Unique accounts reached
number
Total link clicks
number
Engagement rate as a decimal (e.g. 0.125 = 12.5%)
object
Cursor-based pagination metadata
Hide Pagination
string
Cursor to pass as the cursor query parameter to fetch the next page.
null or omitted when there are no more results.
curl -X GET "https://api.submagic.co/v1/projects/published?platform=youtube&from=2026-05-01T00:00:00Z&to=2026-05-31T23:59:59Z&sortBy=views&direction=desc&limit=25" \ -H "x-api-key: sk-your-api-key-here"
const listPublishedProjects = async ({ platform, profileId, from, to, sortBy, direction, limit, cursor,} = {}) => { const params = new URLSearchParams(); if (platform) params.set("platform", platform); if (profileId) params.set("profileId", profileId); if (from) params.set("from", from); if (to) params.set("to", to); if (sortBy) params.set("sortBy", sortBy); if (direction) params.set("direction", direction); if (limit) params.set("limit", String(limit)); if (cursor) params.set("cursor", cursor); const response = await fetch( `https://api.submagic.co/v1/projects/published?${params}`, { headers: { "x-api-key": "sk-your-api-key-here", }, } ); const data = await response.json(); console.log(`Fetched ${data.data.length} publications`); return data;};// Fetch first page of YouTube publicationsconst page = await listPublishedProjects({ platform: "youtube", limit: 25 });// Fetch next pageif (page.pagination.nextCursor) { const nextPage = await listPublishedProjects({ platform: "youtube", limit: 25, cursor: page.pagination.nextCursor, });}
import requestsdef list_published_projects(platform=None, profile_id=None, date_from=None, date_to=None, sort_by=None, direction=None, limit=None, cursor=None): url = 'https://api.submagic.co/v1/projects/published' headers = { 'x-api-key': 'sk-your-api-key-here' } params = {} if platform: params['platform'] = platform if profile_id: params['profileId'] = profile_id if date_from: params['from'] = date_from if date_to: params['to'] = date_to if sort_by: params['sortBy'] = sort_by if direction: params['direction'] = direction if limit: params['limit'] = limit if cursor: params['cursor'] = cursor response = requests.get(url, headers=headers, params=params) data = response.json() print(f"Fetched {len(data['data'])} publications") return data# Fetch first page of YouTube publicationspage = list_published_projects(platform='youtube', limit=25)# Fetch next pagenext_cursor = page.get('pagination', {}).get('nextCursor')if next_cursor: next_page = list_published_projects( platform='youtube', limit=25, cursor=next_cursor )