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
  • Content API

Response format for each field in the GET API

Last updated: 2026/04/30

Response by Field

1. Text Field

This is a field where you can freely input text in a single line.

Response Type

String

Example

"textField": "some text"

Response When the Field is Empty

There are the following patterns depending on the input method.
No key / null

Information

For details on the response when the field is empty, please also check the list at the bottom of this page.

2. Text Area

A field that allows free input of text over multiple lines. The input will be in plain text.

Response Type

String

Example

"textArea": "some\ntext"

Response When the Field is Empty

There are the following patterns depending on the input method.
No key / null

Information

If it includes line breaks, it will be output as \n.

3. Rich Editor

A field that allows free input of multi-line formatted text.

Response Type

String (HTML format)

Example

"richEditor": "<p>some text</p>"

Response when the field is empty

There are the following patterns depending on the input method.
No key / null

4. Old Rich Editor

This is a field where you can freely input multi-line formatted text.

Response Type

String (HTML format)

Example

"richEditorOld": "<p>some text</p>"

Response When the Field is Empty

There are the following patterns depending on the input method.
No key / ""

5. Image

This is a field for images.

Response Type

Object (Image Object)
※ The alt field is optional, so the key itself may not be included.
※ The height and width fields may also not be included depending on the file extension.

Example

"image": {
        "url": "https://images.microcms-assets.io/assets/xxxx/yyyy/image.png.",
        "height": 630,
        "width": 1200,
        "alt": "Some sample alt text."
}

Response When the Field is Empty

No keys

6. Multiple Images

This is a field for multiple images.

Response Type

Array (an array of image objects)

Example

"imageList": [
        {
            "url": "https://images.microcms-assets.io/assets/xxxx/yyyy/image1.png",
            "height": 630,
            "width": 1200,
            "alt": "Some sample alt text."
        },
        {
            "url": "https://images.microcms-assets.io/assets/xxxx/yyyy/image2.png",
            "height": 630,
            "width": 1200,
            "alt": "Some sample alt text."
        }
]

Response When the Field is Empty

Empty array ([])

7. Date and Time

This is a field of type Date.

Response Type

String (date and time in ISO 8601 format, UTC)

Example

"date": "2023-01-01T00:00:00.000Z"

Response when the field is empty

No key

8. Boolean Values

This is a field of type Boolean.

Response Type

Boolean value (true or false)

Example

"boolean": true

Response When the Field is Null

false

Information

The value of the boolean field is set to false by default.

9. Select Field

This is a field for selecting a value from a predefined list.

Response Type

Array (an array of predefined options)

Example

// When multiple selection is OFF
"selectField": ["Apple"]

// When multiple selection is ON and multiple options are selected
"selectField": ["Apple", "ORANGE"]

Response when the field is empty

Empty array ([])

10. Content Reference

This field references other content.

Response Type

Object (data of other content)

Example

"relationalContent": {
        "id": "xxxxxxxxxx",
        "createdAt": "2023-01-01T00:00:00.000Z",
        "updatedAt": "2023-01-01T00:00:00.000Z",
        "publishedAt": "2023-01-01T00:00:00.000Z",
        "revisedAt": "2023-01-01T00:00:00.000Z",
            "title": "some title"  
}

Response when the field is null

null

11. Multiple Content References

This field references multiple other contents.

Response Type

Array (an array of data from other contents)

Example

"relationalContentList": [
        {
                "id": "xxxxxxxxxx",
                "createdAt": "2023-01-01T00:00:00.000Z",
                "updatedAt": "2023-01-01T00:00:00.000Z",
                "publishedAt": "2023-01-01T00:00:00.000Z",
                "revisedAt": "2023-01-01T00:00:00.000Z",
                "title": "some title"  
        },
        {
                "id": "yyyyyyyy",
                "createdAt": "2023-02-01T00:00:00.000Z",
                "updatedAt": "2023-02-01T00:00:00.000Z",
                "publishedAt": "2023-02-01T00:00:00.000Z",
             "revisedAt": "2023-02-01T00:00:00.000Z",
                "title": "some title 2" 
        }
]

Response When the Field is Empty

Empty array ([])

12. Number

This is a field of type Number.

Response Type

Numeric value

Example

"number": 42

Response When the Field is Null

There are the following patterns depending on the input method.
No key / null

13. Custom Field

This is a field that utilizes an already created custom field.

Response Type

Object

Example

"customField": {
        "fieldId": "someCustomField",
        // The content follows the created custom field
        "title": "some title"
}

Response When the Field is Null

There are the following patterns depending on the input method.
null / {"fieldId": "someFieldId"}

14. Repeating Fields

This is a field that allows you to select multiple existing Custom Fields and input them repeatedly.

Response Type

Array (an array of Custom Field objects)

Example

"repeatField": [
        {
                "fieldId": "someCustomField",
                "title": "some title"
        },
        {
                "fieldId": "someCustomField",
                "title": "some title 2"
        }
]

Response When the Field is Empty

There are the following patterns depending on the input method.
Empty array ([]) / null

15. File

This is a field for files. The response includes the file's URL and file size (in Bytes).

Response Type

Object

Example

"file": {
        "url": "https://files.microcms-assets.io/assets/xxxxx/yyyy/files.zip",
        "fileSize": 10000
}

Response when the field is empty

No key

16. Extended Fields

This is a field that can load external data.

Response Type

Object (an object of data linked from the application)

Example

"iframe": {
        "id": "123"
}

Response when the field is empty

No key

Information

For more details on the response of extended fields, please also refer to the extended fields detail page.
External Data Integration with Extended Fields | microCMS Documentation

Response List for Empty Field Values

This section provides a list of responses for each field when the value is empty, categorized by input method.

Input from Management Screen

CSV Import

POST/PUT API (※1)

Add fields to existing API (※2)

PATCH API
(※3)

Text Field

No key

No key

null

Text Area

No key

No key

null

Rich Editor

No key

No key

null

Old Rich Editor (Deprecated)

No key

No key

""

Image

No key

No key

No key

Multiple Images

[]

[]

[]

Date and Time

No key

No key

No key

Boolean

false

false

false

Select Field

[]

[]

[]

Content Reference

null

null

null

Multiple Content References

[]

[]

[]

Number

No key

No key

null

Custom Field

{"fieldId": "someFieldId", ...}

(※4)

null

{"fieldId": "someFieldId", ...}

(※4)

Repeating Field

[]

null

[]

File

No key

No key

No key

Extended Field

No key (※5)

No key

No key

(Note 1) For registering empty values in the POST/PUT API, please refer to "POST /api/v1/{endpoint}" and "PUT /api/v1/{endpoint}/{content_id}".
(Note 2) This is the response when adding fields to an already registered API schema and requesting existing content. Once the content is updated, the response will be the same as "input from the management screen".
(Note 3) For registering empty values in the PATCH API, please refer to "PATCH /api/v1/{endpoint}/{content_id}".
(Note 4) The values in the response are determined by the schema structure of the Custom Fields.
(Note 5) If data is entered into a field and then cleared from the management screen, the key will remain, and an arbitrary empty value (such as "", null, [], etc.) will be entered.

Information

"Without a key" refers to a state where the key for the corresponding field is not included in the response at all.

Contents

  • Response by Field
  • 1. Text Field
  • 2. Text Area
  • 3. Rich Editor
  • 4. Old Rich Editor
  • 5. Image
  • 6. Multiple Images
  • 7. Date and Time
  • 8. Boolean Values
  • 9. Select Field
  • 10. Content Reference
  • 11. Multiple Content References
  • 12. Number
  • 13. Custom Field
  • 14. Repeating Fields
  • 15. File
  • 16. Extended Fields
  • Response List for Empty Field Values
  • Company
  • Legal Notice
  • Terms of Service
  • Privacy Policy

Copyright © microcms.io All rights reserved.