{"openapi":"3.1.0","info":{"title":"MyDeskQueue API","version":"1.0.0","description":"Personal API for scheduling posts to X through MyDeskQueue. Same plan limits as the website. The free trial is an introduction special: 30 posts in your first 30 days, 1 topic desk, no link posts, no credit card. Paid plans: Starter $3.99 (50 posts/3 links/3 topic desks), Pro $10 (150/10/5), Creator $19 (300/25/10), Growth $29 (350/40/10), Promoter $39 (300/60/20), Super User $59 (800/100/30), Super User Premium $79 (1,200/120/40). Yearly billing is 15% off 12 months; allowances still reset each month. Create a key in Settings. The full key is shown once."},"servers":[{"url":"https://mydeskqueue.com/api/v1"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"A personal key that starts with dq_live_"}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"string"}}},"Post":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"status":{"type":"string","enum":["scheduled","sent","failed","cancelled","draft"]},"scheduled_for":{"type":"string","nullable":true},"sent_at":{"type":"string","nullable":true},"x_post_id":{"type":"string","nullable":true},"error":{"type":"string","nullable":true},"contains_url":{"type":"boolean"},"x_account_id":{"type":"string"},"desk_id":{"type":"string"}}}}},"paths":{"/me":{"get":{"summary":"Your plan and connected X account","description":"Returns the billed plan, posts left, and trial fields (posts_left, days_left, exhausted) for the introduction special of 30 posts in 30 days.","responses":{"200":{"description":"Account"}}}},"/desks":{"get":{"summary":"List desks","responses":{"200":{"description":"Desks"}}}},"/posts":{"get":{"summary":"List posts","parameters":[{"name":"status","in":"query","schema":{"type":"string","enum":["scheduled","sent","failed","draft"]}}],"responses":{"200":{"description":"List"}}},"post":{"summary":"Schedule or send a post","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string"},"schedule":{"type":"string","description":"now, spread out, draft, or a date and time"},"x_account_id":{"type":"string"},"desk_id":{"type":"string"},"media_ids":{"type":"array","items":{"type":"string"}}}}}}},"responses":{"201":{"description":"Created"}}}},"/posts/{id}":{"get":{"summary":"Get one post","responses":{"200":{"description":"Post"}}},"patch":{"summary":"Edit or reschedule if not sent","responses":{"200":{"description":"Updated"}}},"delete":{"summary":"Cancel if not sent","responses":{"200":{"description":"Cancelled"}}}}}}