latestOpenAPI 3.0.02026-08-1610635191.3 KB

355890b6b4cc

X

Get recurring X (Twitter) templates

Returns all recurring tweet/thread templates for the authenticated user with their configuration and scheduling details.

get/x/recurring

Response

Successfully retrieved recurring templates

successboolean

Example response

{
  "success": true,
  "templates": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "type": "tweet",
      "feedIds": [
        101,
        202
      ],
      "deepResearchIds": [
        "550e8400-e29b-41d4-a716-446655440000"
      ],
      "projectIds": [
        "123e4567-e89b-12d3-a456-426614174000"
      ],
      "audioUrl": "https://example.com/audio.mp3",
      "url": "https://example.com/article",
      "text": "Breaking news about AI...",
      "prompt": "Make it engaging with emojis",
      "imageUrl": "https://example.com/image.jpg",
      "promptAudioUrl": "https://example.com/prompt.mp3",
      "queryText": "Top AI news today",
      "queryAudioUrl": "https://example.com/query.mp3",
      "tweetStyle": "Paragraphs",
      "callbackData": "user-data-123",
      "dailyCount": 2,
      "scheduleEndDate": "2024-12-31T23:59:59Z",
      "lastRunAt": "2024-01-15T10:30:00Z",
      "nextRunAt": "2024-01-15T14:30:00Z",
      "createdOn": "2024-01-01T00:00:00Z"
    }
  ]
}