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.
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
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.