Create a Release

Create a new plugin release via the AutomagicWP API.

Create a new release for your plugin by uploading a zip file URL. This endpoint is typically called from your CI/CD pipeline after a build.

Endpoint

	POST /api/v1/plugin/update

Request

	curl -XPOST "https://automagicwp.com/api/v1/plugin/update" 
  -H "Authorization: Bearer <API_KEY>" 
  -H "Content-Type: application/json" 
  -d '{
        "plugin_id": "plugin_123456789012345678901234",
        "zip_url": "https://example.com/my-plugin-1.2.3.zip"
      }'

Parameters

Parameter Type Required Description
plugin_id string Yes Your plugin ID from the dashboard
zip_url string Yes Publicly accessible URL to the plugin zip file

Response

	{
  "success": true,
  "version": "1.2.3"
}

Authentication

This endpoint requires a valid API key passed as a Bearer token. See Authentication for details.