Skip to main content

ShareX custom uploader for imgtree

Upload captures straight to imgtree with a Bearer API key — URL copied to your clipboard after every upload.

Custom uploader JSON

Replace YOUR_API_KEY before importing. ShareX → Destinations → Custom uploader settings → Import.

{
  "Name": "imgtree",
  "DestinationType": "ImageUploader",
  "RequestMethod": "POST",
  "RequestURL": "https://imgtree.co/api/v1/upload",
  "Headers": {
    "Authorization": "Bearer YOUR_API_KEY"
  },
  "Body": "MultipartFormData",
  "FileFormName": "file",
  "URL": "$json:images[0].url$",
  "ThumbnailURL": "$json:images[0].thumb_url$",
  "DeletionURL": "$json:images[0].delete_url$"
}

Overview

Upload screenshots from ShareX to imgtree

ShareX can upload captures directly to imgtree using a custom uploader and a Bearer API key. After each upload, ShareX copies the public image URL — ready to paste in chat, tickets, or forums.

You need a free imgtree account and an API key from the account menu → API keys. Guest uploads are web-only; ShareX always uses the authenticated v1 API.

Setup

Create an API key

Sign in, open API keys from the account menu, and create a new key. Copy the secret immediately — it is shown only once.

Name the key something recognizable (for example “ShareX”) so you can revoke it later without affecting other integrations.

Create an API key

ShareX

Add the custom uploader

In ShareX: Destinations → Custom uploader settings → Import → paste the JSON below. Replace YOUR_API_KEY with the key you created and confirm the RequestURL matches your imgtree site.

ShareX’s single-request multipart upload works well with POST /api/v1/upload. Keep captures under your host’s body-size limit, or use the presigned upload flow from a script for very large files.

  • Destination type: Image uploader
  • Method: POST multipart form
  • File field name: file
  • Response URL: first image url in the JSON payload

Full API reference

Sharing

After upload

ShareX copies the direct image URL to your clipboard. Open the image page on imgtree for BBCode, Markdown, HTML embed codes, and a delete link.

The API response also includes thumb_url and delete_url if you want to map those in advanced ShareX workflows.

Go to free image hosting