List blogs

Blogs your Tumblr account can post to, with name, title and URL.

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

read

Returns every blog on the signed-in account, the primary blog first. Use the name field as the blog parameter of the other endpoints. Posts is the count Tumblr shows on the blog.

Parameters

No parameters.

Request

cURL
curl https://cotlet.dev/api/v1/tumblr/blogs \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("tumblr", "list_blogs")
Node.js
const result = await cotlet.call('tumblr', 'list_blogs');
CLI
cotlet call tumblr list_blogs

Example response

JSON

{
  "blogs": [
    {
      "name": "studio-notes",
      "title": "Studio notes",
      "url": "https://studio-notes.tumblr.com",
      "primary": true,
      "posts": 1840
    },
    {
      "name": "studio-sketches",
      "title": "Sketches",
      "url": "https://studio-sketches.tumblr.com",
      "primary": false,
      "posts": 212
    }
  ]
}

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.