Authentication

The Microshot API uses API keys to authenticate requests.

API keys are managed via the Microshot interface. To view or create one, navigate to your API Keys:

API requests without authentication will fail.

Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, etc.

Add your API key to the x-api-key header to access the API endpoints.

# example cURL request
curl -H 'x-api-key: <your_api_key>' https://api.microshot.io/v1/screenshot?url=https://github.com

Last updated

Was this helpful?