Atlassian · Schema
ContentCreate
CodeCollaborationPlatformProductivitySoftware DevelopmentAtlassianAustraliaA2A
Properties
| Name | Type | Description |
|---|---|---|
| id | stringnull | The ID of the draft content. Required when publishing a draft. |
| title | stringnull | |
| type | string | The type of the new content. Custom content types defined by apps are also supported. eg. 'page', 'blogpost', 'comment' etc. |
| space | objectnull | The space that the content is being created in. |
| status | string | The status of the new content. |
| container | objectnull | The container of the content. Required if type is `comment` or certain types of custom content. If you are trying to create a comment that is a child of another comment, specify the parent comment in |
| ancestors | arraynull | The parent content of the new content. If you are creating a top-level `page` or `comment`, this can be left blank. If you are creating a child page, this is where the parent page id goes. If you are |
| body | object | The body of the new content. Does not apply to attachments. Only one body format should be specified as the property for this object, e.g. `storage`. Note, `editor2` format is used by Atlassian only. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/atlassian/json-schema/atlassian-content-create-schema.json",
"title": "ContentCreate",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/atlassian-content-api-openapi.yml#/components/schemas/ContentCreate",
"required": [
"type"
],
"type": [
"object",
"null"
],
"additionalProperties": true,
"properties": {
"id": {
"type": [
"string",
"null"
],
"description": "The ID of the draft content. Required when publishing a draft."
},
"title": {
"maxLength": 255,
"type": [
"string",
"null"
]
},
"type": {
"type": "string",
"description": "The type of the new content. Custom content types defined by apps are also supported. eg. 'page', 'blogpost', 'comment' etc."
},
"space": {
"required": [
"key"
],
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": [
"integer",
"null"
],
"format": "int64"
},
"name": {
"type": [
"string",
"null"
]
},
"icon": {
"$ref": "#/$defs/Icon"
},
"identifiers": {
"$ref": "#/$defs/GlobalSpaceIdentifier"
},
"description": {
"type": [
"object",
"null"
],
"properties": {
"plain": {
"$ref": "#/$defs/SpaceDescription"
},
"view": {
"$ref": "#/$defs/SpaceDescription"
},
"_expandable": {
"type": "object",
"properties": {
"view": {
"type": "string"
},
"plain": {
"type": "string"
}
}
}
}
},
"homepage": {
"$ref": "#/$defs/Content"
},
"type": {
"type": [
"string",
"null"
]
},
"metadata": {
"type": [
"object",
"null"
],
"properties": {
"labels": {
"$ref": "#/$defs/LabelArray"
},
"_expandable": {
"type": "object"
}
}
},
"operations": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/$defs/OperationCheckResult"
}
},
"permissions": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/$defs/SpacePermission"
}
},
"status": {
"type": [
"string",
"null"
]
},
"settings": {
"$ref": "#/$defs/SpaceSettings"
},
"theme": {
"$ref": "#/$defs/Theme"
},
"lookAndFeel": {
"$ref": "#/$defs/LookAndFeel"
},
"history": {
"required": [
"createdDate"
],
"type": "object",
"properties": {
"createdDate": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"$ref": "#/$defs/User"
}
}
},
"key": {
"type": "string",
"description": "The key of the space."
},
"links": {
"type": [
"object",
"null"
],
"additionalProperties": true
}
},
"description": "The space that the content is being created in."
},
"status": {
"type": "string",
"description": "The status of the new content.",
"default": "current",
"enum": [
"current",
"deleted",
"historical",
"draft"
]
},
"container": {
"required": [
"id",
"type"
],
"type": [
"object",
"null"
],
"additionalProperties": true,
"properties": {
"id": {
"oneOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"description": "The `id` of the container."
},
"type": {
"type": "string",
"description": "The `type` of the container."
}
},
"description": "The container of the content. Required if type is `comment` or certain types of\ncustom content. If you are trying to create a comment that is a child of another comment,\nspecify the parent comment in the ancestors field, not in this field."
},
"ancestors": {
"type": [
"array",
"null"
],
"description": "The parent content of the new content. If you are creating a top-level `page` or `comment`,\nthis can be left blank. If you are creating a child page, this is where the parent page id goes.\nIf you are creating a child comment, this is where the parent comment id goes. Only one parent\ncontent id can be specified.",
"items": {
"required": [
"id"
],
"type": "object",
"additionalProperties": true,
"properties": {
"id": {
"type": "string",
"description": "The `id` of the parent content."
}
}
}
},
"body": {
"type": "object",
"properties": {
"view": {
"$ref": "#/$defs/ContentBodyCreate"
},
"export_view": {
"$ref": "#/$defs/ContentBodyCreate"
},
"styled_view": {
"$ref": "#/$defs/ContentBodyCreate"
},
"storage": {
"$ref": "#/$defs/ContentBodyCreate"
},
"editor": {
"$ref": "#/$defs/ContentBodyCreate"
},
"editor2": {
"$ref": "#/$defs/ContentBodyCreate"
},
"wiki": {
"$ref": "#/$defs/ContentBodyCreate"
},
"anonymous_export_view": {
"$ref": "#/$defs/ContentBodyCreate"
},
"plain": {
"$ref": "#/$defs/ContentBodyCreate"
},
"atlas_doc_format": {
"$ref": "#/$defs/ContentBodyCreate"
},
"raw": {
"$ref": "#/$defs/ContentBodyCreate"
}
},
"description": "The body of the new content. Does not apply to attachments.\nOnly one body format should be specified as the property for\nthis object, e.g. `storage`.\n\nNote, `editor2` format is used by Atlassian only. `anonymous_export_view` is\nthe same as `export_view` format but only content viewable by an anonymous\nuser is included."
}
},
"$defs": {
"ButtonLookAndFeel": {
"required": [
"backgroundColor",
"color"
],
"type": [
"object",
"null"
],
"properties": {
"backgroundColor": {
"type": "string"
},
"color": {
"type": "string"
}
}
},
"Container": {
"type": [
"object",
"null"
],
"additionalProperties": true,
"description": "Container for content. This can be either a space (containing a page or blogpost)\nor a page/blog post (containing an attachment or comment)"
},
"ContainerLookAndFeel": {
"required": [
"background",
"backgroundColor",
"backgroundImage",
"backgroundSize",
"borderRadius",
"padding"
],
"type": [
"object",
"null"
],
"properties": {
"background": {
"type": "string"
},
"backgroundAttachment": {
"type": [
"string",
"null"
]
},
"backgroundBlendMode": {
"type": [
"string",
"null"
]
},
"backgroundClip": {
"type": [
"string",
"null"
]
},
"backgroundColor": {
"type": [
"string",
"null"
]
},
"backgroundImage": {
"type": [
"string",
"null"
]
},
"backgroundOrigin": {
"type": [
"string",
"null"
]
},
"backgroundPosition": {
"type": [
"string",
"null"
]
},
"backgroundRepeat": {
"type": [
"string",
"null"
]
},
"backgroundSize": {
"type": [
"string",
"null"
]
},
"padding": {
"type": "string"
},
"borderRadius": {
"type": "string"
}
}
},
"Content": {
"required": [
"status",
"type"
],
"type": [
"object",
"null"
],
"additionalProperties": true,
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string",
"description": "Can be \"page\", \"blogpost\", \"attachment\" or \"content\""
},
"status": {
"type": "string"
},
"title": {
"type": "string"
},
"space": {
"$ref": "#/$defs/Space"
},
"history": {
"$ref": "#/$defs/ContentHistory"
},
"version": {
"$ref": "#/$defs/Version"
},
"ancestors": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/$defs/Content"
}
},
"operations": {
"type": "array",
"items": {
"$ref": "#/$defs/OperationCheckResult"
}
},
"children": {
"$ref": "#/$defs/ContentChildren"
},
"childTypes": {
"$ref": "#/$defs/ContentChildType"
},
"descendants": {
"$ref": "#/$defs/ContentChildren"
},
"container": {
"$ref": "#/$defs/Container"
},
"body": {
"type": "object",
"properties": {
"view": {
"$ref": "#/$defs/ContentBody"
},
"export_view": {
"$ref": "#/$defs/ContentBody"
},
"styled_view": {
"$ref": "#/$defs/ContentBody"
},
"storage": {
"$ref": "#/$defs/ContentBody"
},
"wiki": {
"$ref": "#/$defs/ContentBody"
},
"editor": {
"$ref": "#/$defs/ContentBody"
},
"editor2": {
"$ref": "#/$defs/ContentBody"
},
"anonymous_export_view": {
"$ref": "#/$defs/ContentBody"
},
"atlas_doc_format": {
"$ref": "#/$defs/ContentBody"
},
"dynamic": {
"$ref": "#/$defs/ContentBody"
},
"raw": {
"$ref": "#/$defs/ContentBody"
},
"_expandable": {
"type": "object",
"properties": {
"editor": {
"type": "string"
},
"view": {
"type": "string"
},
"export_view": {
"type": "string"
},
"styled_view": {
"type": "string"
},
"storage": {
"type": "string"
},
"editor2": {
"type": "string"
},
"anonymous_export_view": {
"type": "string"
},
"atlas_doc_format": {
"type": "string"
},
"wiki": {
"type": "string"
},
"dynamic": {
"type": "string"
},
"raw": {
"type": "string"
}
}
}
}
},
"restrictions": {
"type": "object",
"properties": {
"read": {
"$ref": "#/$defs/ContentRestriction"
},
"update": {
"$ref": "#/$defs/ContentRestriction"
},
"_expandable": {
"type": "object",
"properties": {
"read": {
"type": "string"
},
"update": {
"type": "string"
}
}
},
"_links": {
"$ref": "#/$defs/GenericLinks"
}
}
},
"metadata": {
"$ref": "#/$defs/ContentMetadata"
},
"macroRenderedOutput": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"extensions": {
"type": "object"
},
"_expandable": {
"type": "object",
"properties": {
"childTypes": {
"type": "string"
},
"container": {
"type": "string"
},
"metadata": {
"type": "string"
},
"operations": {
"type": "string"
},
"children": {
"type": "string"
},
"restrictions": {
"type": "string"
},
"history": {
"type": "string"
},
"ancestors": {
"type": "string"
},
"body": {
"type": "string"
},
"version": {
"type": "string"
},
"descendants": {
"type": "string"
},
"space": {
"type": "string"
},
"extensions": {
"type": "string"
},
"schedulePublishDate": {
"type": "string"
},
"schedulePublishInfo": {
"type": "string"
},
"macroRenderedOutput": {
"type": "string"
}
}
},
"_links": {
"$ref": "#/$defs/GenericLinks"
}
},
"description": "Base object for all content types."
},
"ContentArray": {
"required": [
"_links",
"results",
"size"
],
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/$defs/Content"
}
},
"start": {
"type": "integer",
"format": "int32"
},
"limit": {
"type": "integer",
"format": "int32"
},
"size": {
"type": "integer",
"format": "int32"
},
"_links": {
"$ref": "#/$defs/GenericLinks"
}
}
},
"ContentBody": {
"required": [
"representation",
"value"
],
"type": "object",
"properties": {
"value": {
"type": "string"
},
"representation": {
"type": "string",
"enum": [
"view",
"export_view",
"styled_view",
"storage",
"editor",
"editor2",
"anonymous_export_view",
"wiki",
"atlas_doc_format",
"raw"
]
},
"embeddedContent": {
"type": "array",
"items": {
"$ref": "#/$defs/EmbeddedContent"
}
},
"webresource": {
"$ref": "#/$defs/WebResourceDependencies"
},
"mediaToken": {
"type": "object",
"properties": {
"collectionIds": {
"type": "array",
"items": {
"type": "string"
}
},
"contentId": {
"type": "string"
},
"expiryDateTime": {
"type": "string"
},
"fileIds": {
"type": "array",
"items": {
"type": "string"
}
},
"token": {
"type": "string"
}
}
},
"_expandable": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"embeddedContent": {
"type": "string"
},
"webresource": {
"type": "string"
},
"mediaToken": {
"type": "string"
}
}
},
"_links": {
"$ref": "#/$defs/GenericLinks"
}
}
},
"ContentBodyCreate": {
"required": [
"representation",
"value"
],
"type": "object",
"additionalProperties": true,
"properties": {
"value": {
"type": "string",
"description": "The body of the content in the relevant format."
},
"representation": {
"type": "string",
"description": "The content format type. Set the value of this property to\nthe name of the format being used, e.g. 'storage'.",
"enum": [
"view",
"export_view",
"styled_view",
"storage",
"editor",
"editor2",
"anonymous_export_view",
"wiki",
"atlas_doc_format",
"plain",
"raw"
]
}
},
"description": "This object is used when creating or updating content."
},
"ContentChildType": {
"type": "object",
"properties": {
"attachment": {
"required": [
"_links",
"value"
],
"type": "object",
"properties": {
"value": {
"type": "boolean"
},
"_links": {
"$ref": "#/$defs/GenericLinks"
}
}
},
"comment": {
"required": [
"_links",
"value"
],
"type": "object",
"properties": {
"value": {
"type": "boolean"
},
"_links": {
"$ref": "#/$defs/GenericLinks"
}
}
},
"page": {
"required": [
"_links",
"value"
],
"type": "object",
"properties": {
"value": {
"type": "boolean"
},
"_links": {
"$ref": "#/$defs/GenericLinks"
}
}
},
"_expandable": {
"type": "object",
"properties": {
"all": {
"type": "string"
},
"attachment": {
"type": "string"
},
"comment": {
"type": "string"
},
"page": {
"type": "string"
},
"whiteboard": {
"type": "string"
}
}
}
},
"additionalProperties": true,
"description": "Shows whether a piece of content has attachments, comments, or child pages/whiteboards.\nNote, this doesn't actually contain the child objects."
},
"ContentChildren": {
"type": "object",
"additionalProperties": true,
"properties": {
"attachment": {
"$ref": "#/$defs/ContentArray"
},
"comment": {
"$ref": "#/$defs/ContentArray"
},
"page": {
"$ref": "#/$defs/ContentArray"
},
"_expandable": {
"type": "object",
"additionalProperties": true,
"properties": {
"attachment": {
"type": "string"
},
"comment": {
"type": "string"
},
"page": {
"type": "string"
}
}
},
"_links": {
"$ref": "#/$defs/GenericLinks"
}
}
},
"ContentHistory": {
"required": [
"latest"
],
"type": [
"object",
"null"
],
"properties": {
"latest": {
"type": "boolean"
},
"createdBy": {
"$ref": "#/$defs/User"
},
"ownedBy": {
"$ref": "#/$defs/User"
},
"lastOwnedBy": {
"$ref": "#/$defs/User"
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastUpdated": {
"$ref": "#/$defs/Version"
},
"previousVersion": {
"$ref": "#/$defs/Version"
},
"contributors": {
"type": "object",
"properties": {
"publishers": {
"$ref": "#/$defs/UsersUserKeys"
}
}
},
"nextVersion": {
"$ref": "#/$defs/Version"
},
"_expandable": {
"type": "object",
"properties": {
"lastUpdated": {
"type": "string"
},
"previousVersion": {
"type": "string"
},
"contributors": {
"type": "string"
},
"nextVersion": {
"type": "string"
},
"ownedBy": {
"type": "string"
},
"lastOwnedBy": {
"type": "string"
}
}
},
"_links": {
"$ref": "#/$defs/GenericLinks"
}
}
},
"ContentLookAndFeel": {
"type": "object",
"properties": {
"screen": {
"$ref": "#/$defs/ScreenLookAndFeel"
},
"container": {
"$ref": "#/$defs/ContainerLookAndFeel"
},
"header": {
"$ref": "#/$defs/ContainerLookAndFeel"
},
"body": {
"$ref": "#/$defs/ContainerLookAndFeel"
}
}
},
"ContentMetadata": {
"type": "object",
"additionalProperties": true,
"properties": {
"currentuser": {
"type": "object",
"properties": {
"favourited": {
"type": "object",
"properties": {
"isFavourite": {
"type": "boolean"
},
"favouritedDate": {
"type": "string",
"format": "date-time"
}
}
},
"lastmodified": {
"type": "object",
"properties": {
"version": {
"$ref": "#/$defs/Version"
},
"friendlyLastModified": {
"type": "string"
}
}
},
"lastcontributed": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"when": {
"type": "string",
"format": "date-time"
}
}
},
"viewed": {
"type": "object",
"properties": {
"lastSeen": {
"type": "string",
"format": "date-time"
},
"friendlyLastSeen": {
"type": "string"
}
}
},
"scheduled": {
"type": "object"
},
"_expandable": {
"type": "object",
"properties": {
"favourited": {
"type": "string"
},
"lastmodified": {
"type": "string"
},
"lastcontributed": {
"type": "string"
},
"viewed": {
"type": "string"
},
"scheduled": {
"type": "string"
}
}
}
}
},
"properties": {
"$ref": "#/$defs/GenericLinks"
},
"frontend": {
"type": "object",
"additionalProperties": true
},
"labels": {
"oneOf": [
{
"$ref": "#/$defs/LabelArray"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/Label"
}
}
]
}
},
"description": "Metadata object for page, blogpost, comment content"
},
"ContentRestriction": {
"required": [
"_expandable",
"_links",
"operation"
],
"type": "object",
"properties": {
"operation": {
"type": "string",
"enum": [
"administer",
"copy",
"create",
"delete",
"export",
"move",
"purge",
"purge_version",
"read",
"restore",
"update",
"use"
]
},
"restrictions": {
"type": "object",
"properties": {
"user": {
"$ref": "#/$defs/UserArray"
},
"group": {
"$ref": "#/$defs/GroupArray"
},
"_expandable": {
"type": "object",
"properties": {
"user": {
"type": "string"
},
"group": {
"type": "string"
}
}
}
}
},
"content": {
"$ref": "#/$defs/Content"
},
"_expandable": {
"type": "object",
"properties": {
"restrictions": {
"type": "string"
},
"content": {
"type": "string"
}
}
},
"_links": {
"$ref": "#/$defs/GenericLinks"
}
}
},
"Embeddable": {
"type": "object",
"additionalProperties": true
},
"EmbeddedContent": {
"type": "object",
"additionalProperties": true,
"properties": {
"entityId": {
"type": "integer",
"format": "int64"
},
"entityType": {
"type": "string"
},
"entity": {
"$ref": "#/$defs/Embeddable"
}
}
},
"GenericAccountId": {
"type": [
"string",
"null"
],
"description": "The account ID of the user, which uniquely identifies the user across all Atlassian products.\nFor example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`."
},
"GenericLinks": {
"type": "object",
"additionalProperties": {
"oneOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "string"
}
]
}
},
"GenericUserKey": {
"type": [
"string",
"null"
],
"description": "This property is no longer available and will be removed from the documentation soon.\nUse `accountId` instead.\nSee the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details."
},
"GenericUserName": {
"type": [
"string",
"null"
],
"description": "This property is no longer available and will be removed from the documentation soon.\nUse `accountId` instead.\nSee the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details."
},
"GlobalSpaceIdentifier": {
"type": [
"object",
"null"
],
"required": [
"spaceIdentifier"
],
"properties": {
"spaceIdentifier": {
"type": "string"
}
}
},
"Group": {
"required": [
"name",
"type",
"id"
],
"type": "object",
"properties": {
"type": {
"type": "string",
"default": "group",
"enum": [
"group"
]
},
"name": {
"type": "string"
},
"id": {
"type": "string"
},
"_links": {
"$ref": "#/$defs/GenericLinks"
}
}
},
"GroupArray": {
"required": [
"limit",
"results",
"size",
"start"
],
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/$defs/Group"
}
},
"start": {
"type": "integer",
"format": "int32"
},
"limit": {
"type": "integer",
"format": "int32"
},
"size": {
"type": "integer",
"format": "int32"
}
}
},
"HeaderLookAndFeel": {
"required": [
"backgroundColor",
"button",
"primaryNavigation",
"search",
"secondaryNavigation"
],
"type": "object",
"properties": {
"backgroundColor": {
"type": "string"
},
"button": {
"$ref": "#/$defs/ButtonLookAndFeel"
},
"primaryNavigation": {
"$ref": "#/$defs/NavigationLookAndFeel"
},
"secondaryNavigation": {
"$ref": "#/$defs/NavigationLookAndFeel"
},
"search": {
"$ref": "#/$defs/SearchFieldLookAndFeel"
}
}
},
"HorizontalHeaderLookAndFeel": {
"required": [
"backgroundColor",
"primaryNavigation"
],
"type": "object",
"properties": {
"backgroundColor": {
"type": "string"
},
"button": {
"$ref": "#/$defs/ButtonLookAndFeel"
},
"primaryNavigation": {
"$ref": "#/$defs/TopNavigationLookAndFeel"
},
"secondaryNavigation": {
"$ref": "#/$defs/NavigationLookAndFeel"
},
"search": {
"$ref": "#/$defs/SearchFieldLookAndFeel"
}
}
},
"Icon": {
"required": [
"height",
"isDefault",
"path",
"width"
],
"type": [
"object",
"null"
],
"properties": {
"path": {
"type": "string"
},
"width": {
"type": "integer",
"format": "int32"
},
"height": {
"type": "integer",
"format": "int32"
},
"isDefault": {
"type": "boolean"
}
},
"description": "This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting."
},
"Label": {
"required": [
"id",
"label",
"name",
"prefix"
],
"type": "object",
"properties": {
"prefix": {
"type": "string"
},
"name": {
"type": "string"
},
"id": {
"type": "string"
},
"label": {
"type": "string"
}
}
},
"LabelArray": {
"required": [
"results",
"size"
],
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/$defs/Label"
}
},
"start": {
"type": "integer",
"format": "int32"
},
"limit": {
"type": "integer",
"format": "int32"
},
"size": {
"type": "integer",
"format": "int32"
},
"_links": {
"$ref": "#/$
# --- truncated at 32 KB (60 KB total) ---
# Full source: https://artifacts.apis.io/atlassian/json-schema/atlassian-content-create-schema.json
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/atlassian-content-create"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.