Skip to main content

List Draft Posts

Overview

The List Draft Posts endpoint allows you to retrieve a list of posts that are currently saved as drafts. This is useful for building a draft queue or preview view in your own application.

Base URL:

https://www.oneupapp.io

Endpoint

GET /api/getdraftposts

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/getdraftposts?apiKey=YOUR_API_KEY&start=0"

Sample Response

{
"message": "OK",
"error": false,
"data": [
{
"email": "user@example.com",
"content": "My draft post content",
"source_url": "NA",
"date_time": "2026-07-25 17:37:00",
"category_name": "My Accounts",
"video_url": "https://cdn.example.com/video.mp4",
"post_id": 50301186,
"content_image": "NA",
"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), or "NA" if not set.
date_timeThe date and time the draft was last saved.
category_nameThe name of the category the post belongs to.
video_urlThe URL of the attached video (if applicable), or "NA" if not set.
post_idThe unique identifier for the post.
content_imageThe URL of the attached image (if applicable), or "NA" if not set.
social_network_usernameThe username of the social account associated with the draft.

Result: You have successfully retrieved your draft posts queue!