microCMS
Documentation
  • Pricing
  • Blog
  • FAQ
  • Contact
  • Sign In
  • Get started for free
Navigation
Tutorial
Next.js
  • Integration with Next.js
  • Getting Started with App Router
  • Tutorial (App Router)
  • Getting Started with Pages Router
  • Tutorial (Pages Router)
Astro
  • Getting Started
  • Integration with Astro
  • Tutorial
Nuxt
  • Integration with Nuxt
  • Getting Started
  • Tutorial
Gatsby
  • Integration with Gatsby
  • Getting Started
  • Tutorial
JavaScript
  • Integration with JavaScript
  • Getting Started (Browser)
  • Getting Started (Server)
PHP
  • Integration with PHP
  • Getting Started
Ruby
  • Integration with Ruby
  • Getting Started
Go
  • Integration with Go
  • Getting Started with microCMS
Manual
  • Introduction
Account & Login
  • Account Registration
  • Login
  • Email Address Authentication
Services
  • Creating a Service
  • Service Configuration
  • Template
  • Service Deletion
Payment
  • Change of Pricing Plan
  • Registering and Changing Payment Methods
API
  • Creating and Managing APIs
  • API Settings
  • Export/Import of API Schema
Fields
  • Text Field
  • Text Area
  • Image
  • Multiple Images
  • Date
  • Boolean
  • Selectable Field
  • Content Reference
  • Multiple Content References
  • Number
  • File
  • Extended Field
  • Repetition
  • Custom
Contents
  • CSV Export of Content
  • Content Creation
  • Content Editing
  • Content Management
  • View
  • Content Status
  • Custom Status
  • Setting the Content ID
  • Automatically Assigned Values for Content
  • CSV Import of Content
  • API Preview
  • Examples of Using Query Parameters with API Preview
  • Integration Methods by Rendering Type
  • Screen Preview
  • Setting Up Webhooks for Content
Rich Editor
  • How to Use the Rich Editor
  • Rich Editor WRITE API
  • How to Use the Old Rich Editor
Reviews
  • Review
  • AI Review
Media
  • Media Management
  • Changing Media Filters and Display Order
  • Media Tag Configuration
  • Setting Up Media Webhooks
  • Custom Domain Settings for Media
Permission Management
  • Member Management
  • Roles (Permission Management in the Admin Panel)
Environments
  • Multiple Environments (Development Environment)
  • Merging API Settings Between Environments
Connection
  • Amazon S3 Integration
Logs
  • Audit Log
  • Data Transfer Volume
Security
  • Content Update History
  • IP Restrictions for Management Dashboard
  • IP Restrictions for APIs
Authentication
  • Setting Up Two-Factor Authentication
  • Mandatory Two-Factor Authentication
  • Single Sign-On
Specifications & Limitations
  • Recommended Environment
  • Limitations / Precautions
Content API
  • What is the Content API?
Basic Operations
  • GET /api/v1/{endpoint}
  • GET /api/v1/{endpoint}/{content_id}
  • POST /api/v1/{endpoint}
  • PUT /api/v1/{endpoint}/{content_id}
  • PATCH /api/v1/{endpoint}/{content_id}
  • DELETE /api/v1/{endpoint}/{content_id}
API Keys
  • API Key (API Authentication and Authorization Management)
  • Migration from the Old API (X-API-KEY, etc.)
Responses & Error Handling
  • Response format for each field in the GET API
  • Specifying Query Parameters in the GET API
  • Error Responses of the Content API
Management API (Beta)
  • What is the Management API?
Content Operations
  • PUT /api/v1/contents/{endpoint}/{content_id}/reservation
  • GET /api/v1/contents/{endpoint}
  • GET /api/v1/contents/{endpoint}/{content_id}
  • PATCH /api/v1/contents/{endpoint}/{content_id}/status
  • PATCH /api/v1/contents/{endpoint}/{content_id}/createdBy
Media Operations
  • GET /api/v2/media
  • GET /api/v1/media
  • POST /api/v1/media
  • DELETE /api/v2/media
Member Operations
  • GET /api/v1/members
  • GET /api/v1/members/{member_id}
API Operations
  • POST /api/v1/apis
  • GET /api/v1/apis
  • GET /api/v1/apis/{endpoint}
Service Operations
  • GET /api/v1/service
Responses & Error Handling
  • Management API Error Responses
Image API
  • What is the Image API?
Parameters
  • Image Size
  • Quality
  • Resolution and Screen Size
  • Format
  • Text
  • Border
  • Padding
  • Shape
  • Download
  • Watermark
MCP Server
  • microCMS MCP
  • microCMS Document MCP Server
  • Top
  • Manual

Setting Up Media Webhooks

Last updated: 2026/09/02

You can send a Webhook notification when media is changed (created/updated/deleted).
This can be configured from "Media Management" → "Media Settings".


Webhook Timing

You can set the timing for issuing Webhooks when configuring each Webhook.


When Creating Media

Notifications will be sent when new media is created (uploaded) in the management screen.

Information

Webhook notifications will not be sent in the following cases. Please note.

  • When uploaded using the Management API

When Updating Media

Notifications will be sent when media is re-uploaded in the management screen or when the file name is changed.

Information

Webhook notifications will not be sent in the following cases. Please note.

  • When you change the creator of the media

When Deleting Media

Notifications will be sent when media is deleted from the management screen.

Information

Webhook notifications will not be sent in the following cases. Please note.

  • When you delete using the Management API
  • When you use bulk deletion of media

About Webhook Notifications

The media webhook notifications send POST requests to a specified URL. The receiving end can perform custom processing upon receiving the request.

Request Details

Header

The request header includes Content-Type: application/json.

Body

The request body contains information about the affected content and API.

{
  "service": "someId",
  "type": "edit",
  "old": {
    "url": "https://images.microcms-assets.io/assets/xxxx/yyyy/zzzz.jpg",
    "width": 100,
    "height": 100,
    "alt": "Some sample alt text."
  },
  "new": {
    "url": "https://images.microcms-assets.io/assets/xxxx/yyyy/zzzz.jpg",
    "width": 100,
    "height": 100,
    "alt": "Some sample alt text."
  },
}

service

This contains the subdomain of the service to which the modified media belongs.

type 

This indicates the type of change. For new additions, it will be new; for edits, edit; and for deletions, delete.

old

This contains the content before the media was edited or deleted. It will be null when a new media is created.

new

This contains the content after the media has been created or edited. It will be null when the media is deleted.

Common to old / new

url

This contains the URL of the media.

width

This contains the width of the media. It will be null for non-image files.

height

This contains the height of the media. It will be null for non-image files.

alt

This contains the alternative text set from the media management screen. If there is no setting or for non-image files, the key itself will not be included.

Security

The server receiving notifications from microCMS must be publicly accessible.
Therefore, depending on the processing, it is necessary to consider measures that account for the possibility of receiving POST requests from third parties.

Specifically, when setting the URL, you can configure a value known only to microCMS and the receiving server, such as ?auth=XXX, and verify whether this value is correct on the receiving server (i.e., whether the request is from microCMS).

Information

Similar to the Content Webhook, we are considering the implementation of adding a signature value (Signature) to the headers of Webhook requests.

Webhook Detailed Specifications

Retry

Retry processing will not be performed even if the webhook notification fails due to network errors or 4xx, 5xx errors.

Duplicate Sending

Webhook notifications will be sentonly once for each configured timing.

Order Guarantee

In principle, webhook notifications are sent in the order of operations executed.
However, since strict control is not implemented, the order is not guaranteed.

Source IP Address

The source IP address of the webhook is a dynamic IP address.
Additionally, the range of IP addresses is not publicly disclosed.

Contents

  • Webhook Timing
  • When Creating Media
  • When Updating Media
  • When Deleting Media
  • About Webhook Notifications
  • Request Details
  • Security
  • Webhook Detailed Specifications
  • Retry
  • Duplicate Sending
  • Order Guarantee
  • Source IP Address
  • Company
  • Legal Notice
  • Terms of Service
  • Privacy Policy

Copyright © microcms.io All rights reserved.