Public Posts
Published posts are accessible to anyone without authentication. Use these endpoints to display PingRep content on external websites, build content aggregators, or resolve short share links.
Get a published post
/api/v1/public/posts/{username}/{slug}Retrieve a published post by the author's username and post slug.
Response
titlestringRequiredPost title.
slugstringRequiredURL-safe post identifier.
bodyMarkdownstringRequiredFull post content in Markdown.
tagsstring[]RequiredTopic tags.
coverImageUrlstringRequiredCover image URL.
suggestedQuestionsstring[]RequiredAI Representative prompt suggestions for this post.
publishedAtstring (ISO 8601)RequiredPublication timestamp.
authorobjectRequiredAuthor profile summary.
namestringRequiredAuthor name.
slugstringRequiredAuthor profile slug.
photoUrlstringRequiredAuthor photo URL.
titlestringRequiredAuthor professional title.
List a user's published posts
/api/v1/public/posts/{username}List all published posts for a given user.
Returns posts ordered by publication date (newest first). Only published posts are included.
Resolve a short URL
/api/v1/public/s/{shortCode}Resolve a short share code to the full post URL. Returns a 302 redirect.
When users share posts, PingRep generates short URLs for easy distribution. This endpoint resolves the short code and redirects to the full post.
Short URLs are generated automatically when a post is published. You do not need to create them manually. The short code is included in the post response object.