Skip to main content
Fetch a post by its share code.

Behavior

  • Albums (posts with more than one file) include urls and isAlbum: true.
  • Video posts include thumbnailUrl, a generated still frame. For private posts it is a signed URL with the same 24-hour expiry as the file URL.
  • The author object describes the post’s uploader. author is null if the user has been deleted.
  • Use fileName from the files array when calling /deleteUpload to address a specific file. On albums, /deleteUpload removes just that file; on single-file posts it deletes the post.
  • Hits to this endpoint count a view toward the post. Views are deduplicated per IP and post: up to 3 counted views per IP per post per hour. Views are only counted on public, non-moderated posts.
  • Private posts are only visible to the owner. Requests for another user’s private post return 404.
  • URLs for private posts are returned as signed URLs with a 24-hour expiry. After that, request the endpoint again for a fresh signed URL.
  • Moderated posts are only fully returned to their owner, with moderated: true on the post. Requests by anyone else return 403 with moderated: true.
  • Restricted posts carry restricted: true on the post when returned to their owner. A restricted post is forced to unlisted and cannot be set back to public; see Edit Upload.
  • priority is true when the post’s video is served over priority delivery, and false for standard delivery.

Examples

Fetch a post by code:

Responses

Single-file post:
Album post (includes urls and isAlbum):