v11

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0112893437.0 KB
Composition

Get draft by ID

get/drafts/{id}

Path parameters

idstring required

Resource ID returned by the matching create or list endpoint.

Response

Draft details

idstring required
textstring required
topicstring
goalstring
createdAtstring date-time required
updatedAtstring date-time required

Example response

{
  "id": "42",
  "text": "Draft tweet about AI trends",
  "topic": "Technology",
  "goal": "Engagement",
  "createdAt": "2025-01-15T12:00:00Z",
  "updatedAt": "2025-01-16T09:30:00Z"
}