# hematite docs: screenshot hosting, ShareX and the API

The hematite docs: guides to uploading, sharing and linking your screenshots, from the browser, ShareX or your own domain, and the REST API for developers.

## Use hematite

Upload screenshots, share their links and make them yours: from the browser, with ShareX, on your own domain.

- [Upload your first screenshot](https://hematite.gg/docs/getting-started/first-upload): How to upload a screenshot to hematite from the browser: drop, paste or pick files, choose who sees them, and copy each link as it goes up.
- [ShareX setup: upload with one keypress](https://hematite.gg/docs/uploaders/sharex): How to set up ShareX with hematite: download the config, add it to ShareX, and upload with one keypress. What each part does, and what its errors mean.
- [Share links: page or file, and share codes](https://hematite.gg/docs/guides/share-links): How hematite share links work: send them to a share page or the file itself, set your address and the share code's style, and give an image a new link.
- [Custom domains for your share links](https://hematite.gg/docs/guides/custom-domains): Put hematite share links on a domain: add your own and change its nameservers, or use one someone shares. What changes in its DNS, and who can use it.

## Build with the API

Upload and manage images from your own code: the REST API, its tokens and limits, the SDK, and every endpoint.

- [API authentication and tokens](https://hematite.gg/docs/developers/authentication): How to authenticate with the hematite API: session tokens, personal API keys, upload tokens for ShareX, app tokens, and the header that carries them.
- [API errors and rate limits](https://hematite.gg/docs/developers/errors): What a failed hematite API request answers: the error codes, validation errors per field, rate limits per endpoint, their headers, and plan limits.
- [hematite SDK for JavaScript and TypeScript](https://hematite.gg/docs/developers/sdk): How to use @hematite/sdk, the official JavaScript and TypeScript client for the hematite API: install it, sign in with a token, upload and edit images.
- [Images API](https://hematite.gg/docs/developers/reference/images): The Images API: upload, read, edit and delete images, one by one or in bulk, with every endpoint's fields, who may call it, its rate limit and a curl example.
