Reblog post

Reblog a post to your blog now, into the queue or as a draft.

POST https://cotlet.dev/api/v1/tumblr/posts/{post_id}/reblog

write Confirm

Reblogs a post from another blog onto yours, with your own comment and tags if you add them. The agent takes the reblog key from list_posts or get_post. Set hide_trail to show only your comment. Set state to queue to spread reblogs over the day. A reblog counts toward Tumblr's daily limit of new posts. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: reblog_post
NameTypeDescription
blog string required string Blog name, e.g. 'studio-notes' for studio-notes.tumblr.com. Names come from list_blogs.
from_blog string required string Blog the post is on, e.g. pixel-lab.
post_id string required string ID of the post to reblog, from list_posts.
comment string string Your text added on top of the post.
tags string[] string[] Tags without the # sign.
state enum enum published, queue, draft or private. Default: published.
hide_trail boolean boolean true shows only your comment. Default: false.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/tumblr/posts/7712345600123/reblog \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"blog":"studio-notes","from_blog":"pixel-lab","comment":"The palette on this one is perfect.","tags":["found","pixel art"],"state":"queue"}'
Python
result = client.call("tumblr", "reblog_post", {"blog":"studio-notes","from_blog":"pixel-lab","post_id":"7712345600123","comment":"The palette on this one is perfect.","tags":["found","pixel art"],"state":"queue"})
Node.js
const result = await cotlet.call('tumblr', 'reblog_post', {"blog":"studio-notes","from_blog":"pixel-lab","post_id":"7712345600123","comment":"The palette on this one is perfect.","tags":["found","pixel art"],"state":"queue"});
CLI
cotlet call tumblr reblog_post --data '{"blog":"studio-notes","from_blog":"pixel-lab","post_id":"7712345600123","comment":"The palette on this one is perfect.","tags":["found","pixel art"],"state":"queue"}'

Example response

JSON

{
  "post_id": "771204600412",
  "blog": "studio-notes",
  "state": "queue",
  "reblogged_from": "pixel-lab",
  "tags": [
    "found",
    "pixel art"
  ]
}

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.