List drafts

Drafts on a blog, newest first.

GET https://cotlet.dev/api/v1/tumblr/drafts

read

Lists drafts of one blog, newest first, 20 per page. A queued post that fails to publish ends up here. Use post_id with edit_post to move a draft into the queue.

Parameters

Parameters: list_drafts
NameTypeDescription
blog string required string Blog name, e.g. 'studio-notes' for studio-notes.tumblr.com. Names come from list_blogs.
limit integer integer 1 to 20. Default: 20.
cursor string string Next page cursor from the previous call.

Request

cURL
curl "https://cotlet.dev/api/v1/tumblr/drafts?blog=studio-notes" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("tumblr", "list_drafts", {"blog":"studio-notes"})
Node.js
const result = await cotlet.call('tumblr', 'list_drafts', {"blog":"studio-notes"});
CLI
cotlet call tumblr list_drafts --data '{"blog":"studio-notes"}'

Example response

JSON

{
  "drafts": [
    {
      "post_id": "771198400021",
      "summary": "(no text)",
      "tags": [],
      "saved_at": "2026-10-12T20:11:00Z"
    }
  ],
  "next_cursor": null
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.