Yes! Workspace admins on Business and Enterprise plans can use Air's Public API to programmatically generate CDN links for assets.
Programmatically generated CDN links allow developers to quickly distribute compressed proxy images across websites, Shopify pages, and custom applications without manual exporting. These API-generated links provide the same flexibility as the in-product CDN workflow, letting you customize the output to fit your exact needs.
Getting Started
To access the Public API, a workspace admin must first generate a public API key. You can create and manage your keys by navigating to Workspace Settings and selecting API Access.
Configuring CDN Links
When generating a CDN link through the API, developers can configure several core parameters in the request to customize the response:
Size: Choose between preset export sizes (original or half) or specify a custom width and height to fit the asset to its final location.
Format: Request the image in JPG, PNG, or WEBP format depending on your performance and quality needs.
Ready to start building? Visit the API developer documentation for complete details on endpoints and the request/response flow.
For more context on these features, check out our guides on API Access and the CDN Links overview.
