GET/social-media/{socialMediaId}/youtube-playlists

Retrieves all YouTube playlists for a connected YouTube account. Use the playlistId field when setting youtubePlaylistId on a YouTube post.

https://api.postfa.st/Auth: pf-api-keyRate limit: 90 requests per hour

Usage

Use the playlistId field when setting youtubePlaylistId in the controls object when creating YouTube posts.

Syncing new playlists

If you create new playlists on YouTube, they will not appear automatically. Visit the Accounts page in your PostFast dashboard, find your YouTube account, and click Sync Playlists to refresh the list.

Path parameters

socialMediaIdstring (UUID)required

The id of the connected YouTube social media account (UUID format).

Response

200 OK An array of objects, each representing a YouTube playlist.

idstringoptional

Internal PostFast playlist id.

playlistIdstringoptional

YouTube's native playlist id (use this for youtubePlaylistId).

titlestringoptional

Playlist title.

descriptionstring | nulloptional

Playlist description.

thumbnailUrlstring | nulloptional

Playlist thumbnail image URL.