Overview
SmartPNG Integration API is a synchronous image compression API designed for backend services, CMS plugins, and automation flows. It exposes three endpoints:Quick facts
Typical flow
- Create a SmartPNG account and generate an API key from the dashboard.
- Call
POST /validateto confirm the key and available credits. - Call
POST /compresswithmultipart/form-data. - Decode the returned
compressed_datafield and write it back to a file or upload target.
Website setup guides
- Follow Get API Key to see the exact
smartpng-vuewebsite flow. - Follow Send Your First Request to validate a key and compress a file.
API reference
- Start with API Overview.
- Use the endpoint pages for request and response details:
