GroundsocialDocs

API · YouTube

GET /youtube/posts/{id}

One YouTube community post: text, images, poll, attached video, likes.

RequestGET /v1/youtube/posts/{id}
Operation idyoutube.community_post.get
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

One YouTube community post: text, images, poll, attached video, likes.

Path parameters

NameTypeRequiredDescription
idstringyesA post id (Ugkx…) or youtube.com/post/… URL.

Responses

StatusMeaningSchema
200The post.YouTubePost
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The video, channel, playlist or post does not exist, was removed, or has nothing there.Error
429Too many requests. Wait for Retry-After seconds.Error
503YouTube is temporarily unavailable. Retryable; nothing was charged.Error

YouTubePost fields

FieldTypeDescription
kind"youtube#post"
idstring
urlstring
channelYouTubeChannelRefThe channel a video or post belongs to (not a Data API part).
textstring
publishedAtstringPosted (estimated from the label), ISO 8601 in UTC.
publishedTimeTextstring
likeCountinteger
likeCountIsApproximateboolean
commentCountinteger
imagesYouTubeThumbnail[]
videoobject
pollobject
linksstring[]
isMembersOnlyboolean

Errors use one shape everywhere; see Errors for every code and what to do.