Upload files and get links to share.
Delete after
curl -H "Authorization: Bearer YOUR_TOKEN" \ -F "files[]=@photo.png" "/upload?expires=24"
Get a token and a ready-made ShareX config on Account. The full API is in the docs.