latestOpenAPI 3.0.02026-08-1610635191.3 KB
355890b6b4cc
X
Get generated X (Twitter) posts for the authenticated user
Returns the list of generated X posts and threads, including visualization image URLs when available. Supports optional pagination.
get/x/posts
Query parameters
pageinteger
Page number for pagination (starts at 1). If not provided, returns all results.
limitinteger
Number of items per page (max 100, default 50 if page is specified)
Response
Successfully retrieved X posts
Example response
{
"posts": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"requestId": "660e8400-e29b-41d4-a716-446655440000",
"result": "Just launched our new AI feature! It's amazing.",
"type": "tweet",
"createdOn": "2024-01-15T10:35:00Z",
"tweetImageUrl": "https://cdn.example.com/user-image.jpg",
"dataTableImageUrl": "https://cdn.example.com/table.png",
"barChartImageUrl": "https://cdn.example.com/chart.png",
"sources": [
{
"type": "feed-item",
"sourceId": "c0a8015c-82ff-455b-b3d5-8bfab98809c2",
"reference": "https://twitter.com/autocontentapi/status/123",
"description": "Reddit: Launch post announcing v2"
}
],
"shareUrl": "https://autocontentapi.com/share/podcast/550e8400-e29b-41d4-a716-446655440000/20240115"
}
]
}