ImageKit icon

ImageKit

Interact with the ImageKit API

Account Origin → Create

AI-generated

Summary

Creates a new ImageKit origin by sending a JSON configuration object to the ImageKit API.

Inputs

  • originData (required) — JSON object containing the origin configuration to be created. The object is sent directly as the request body.

Output shape

a single record

Returns the full ImageKit API response for the created origin, including its ID and configuration details.

Examples

Example 1: Creating a new CDN origin named 'production' at root level

originData: {"name": "production", "path": "/", "originHandler": {"type": "cdn"}}

Links

Discussion