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
| Parameter | Required | Description |
|---|---|---|
apiKey | Yes | Your personal API key generated from the API Access page. |
start | No | The 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
| Field | Description |
|---|---|
email | The account email associated with the post. |
content | The text content of the post. |
source_url | The source URL (if applicable), or "NA" if not set. |
date_time | The date and time the draft was last saved. |
category_name | The name of the category the post belongs to. |
video_url | The URL of the attached video (if applicable), or "NA" if not set. |
post_id | The unique identifier for the post. |
content_image | The URL of the attached image (if applicable), or "NA" if not set. |
social_network_username | The username of the social account associated with the draft. |
✅ Result: You have successfully retrieved your draft posts queue!