latestOpenAPI 3.0.02026-08-1610635191.3 KB

355890b6b4cc

X

Get a single generated X (Twitter) post by ID

Returns a single generated tweet or thread item belonging to the authenticated user by its unique ID.

get/x/posts/{id}

Path parameters

idstring required

The unique ID of the post to retrieve

Response

Successfully retrieved the X post

Example response

{
  "post": {
    "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"
  }
}