Set default YouTube playlist
Sets the default playlist used when publishing videos for this account. When a post does not specify a `playlistId`, the default playlist is not automatically used (it is stored for client-side convenience).
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Response Body
application/json
application/json
curl -X PUT "https://zernio.com/api/v1/accounts/string/youtube-playlists" \ -H "Content-Type: application/json" \ -d '{ "defaultPlaylistId": "PLxxxxxxxxxxxxx", "defaultPlaylistName": "Tutorials" }'{
"success": true
}{
"error": "Unauthorized"
}List YouTube playlists GET
Returns the playlists available for a connected YouTube account. Use this to get a playlist ID when creating a YouTube post with the `playlistId` field.
Get post analytics GET
Returns analytics for posts. With postId, returns a single post. Without it, returns a paginated list with overview stats. Accepts both Zernio Post IDs and External Post IDs (auto-resolved). fromDate defaults to 90 days ago if omitted, max range 366 days. Single post lookups may return 202 (sync pending) or 424 (all platforms failed). For follower stats, use /v1/accounts/follower-stats.