Skip to main content

List Published Posts

Overview​

The List Published Posts endpoint allows you to retrieve a history of posts that have already been published. This is useful for auditing or displaying a publication history in your application.

Base URL:

https://www.oneupapp.io

Endpoint​

GET /api/getpublishedposts

Request Parameters​

ParameterRequiredDescription
apiKeyYesYour personal API key generated from the API Access page.
startNoThe starting index for pagination. Defaults to 0. Each request returns up to 50 posts.

Sample Request​

curl --location --request GET \
"https://www.oneupapp.io/api/getpublishedposts?apiKey=YOUR_API_KEY&start=0"

Sample Response​

{
"message": "OK",
"error": false,
"data": [
{
"email": "user@example.com",
"content": "My published post content",
"source_url": null,
"created_at": "2026-02-15 10:00:00",
"category_name": "My Category",
"video_url": null,
"post_id": "FB_123456789",
"content_image": "https://example.com/image.jpg",
"social_network_username": "my_social_handle"
}
]
}

Response Fields​

FieldDescription
emailThe account email associated with the post.
contentThe text content of the post.
source_urlThe source URL (if applicable).
created_atThe date and time when the post was published.
category_nameThe name of the category the post belongs to.
video_urlThe URL of the attached video (if applicable).
post_idThe platform-specific post ID (if available).
content_imageThe URL of the attached image (if applicable).
social_network_usernameThe username of the social account where the post was published.

✅ Result: You have successfully retrieved your published posts history!