Home/Atlassian REST API reference
Jira and Confluence Cloud REST API
Confluence content properties through the REST API
Content properties hold JSON next to a page. POST /wiki/api/v2/pages/{page-id}/properties creates one with a key and a value. An update uses the property id in the path and a version.number one higher than the current one.
Endpoints
| Method | Path | What it does |
|---|---|---|
POST | /wiki/api/v2/pages/{page-id}/properties | Creates a property for a page. |
GET | /wiki/api/v2/pages/{page-id}/properties | Lists the properties of a page. |
PUT | /wiki/api/v2/pages/{page-id}/properties/{property-id} | Updates a property. |
DELETE | /wiki/api/v2/pages/{page-id}/properties/{property-id} | Deletes a property. |
Examples
POST /wiki/api/v2/pages/{pageId}/properties
Creates the property ref-demo with a JSON object as value.
curl
curl -X POST \
-u "you@example.com:$ATLASSIAN_API_TOKEN" \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
--data '{
"key": "ref-demo",
"value": {
"reviewed": true
}
}' \
'https://your-domain.atlassian.net/wiki/api/v2/pages/{pageId}/properties'Python (requests)
import os
import requests
EMAIL = "you@example.com"
r = requests.post(
'https://your-domain.atlassian.net/wiki/api/v2/pages/{pageId}/properties',
auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
headers={'Accept': 'application/json'},
json={'key': 'ref-demo', 'value': {'reviewed': True}},
)
print(r.status_code, r.text)Response: HTTP 200
{
"version": {
"number": 1,
"message": "",
"minorEdit": false,
"authorId": "<accountId>",
"createdAt": "2026-11-29T17:32:08.404Z"
},
"value": {
"reviewed": true
},
"key": "ref-demo",
"id": "33685793"
}Sent to Atlassian Cloud on .
GET /wiki/api/v2/pages/{pageId}/properties
Lists the properties on the page. Two system keys appear next to the new one.
curl
curl \
-u "you@example.com:$ATLASSIAN_API_TOKEN" \
-H 'Accept: application/json' \
'https://your-domain.atlassian.net/wiki/api/v2/pages/{pageId}/properties'Python (requests)
import os
import requests
EMAIL = "you@example.com"
r = requests.get(
'https://your-domain.atlassian.net/wiki/api/v2/pages/{pageId}/properties',
auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
headers={'Accept': 'application/json'},
)
print(r.status_code, r.text)Response: HTTP 200
{
"results": [
{
"version": {
"number": 1
},
"value": "{\"titleLayoutAlignment\":\"LEFT\",\"subtitle\":\"\",\"subtitleEnabled\":false,\"titlePropertyBylineEnabled\":false,\"titlePropertyEmojiEnabled\":false,\"headerImageLayout\":\"ABOVE\",\"headerImageStylingEnabled\":false}",
"key": "page-title-property-draft",
"id": "33653099"
},
{
"version": {
"number": 1
},
"value": "{\"titleLayoutAlignment\":\"LEFT\",\"subtitle\":\"\",\"subtitleEnabled\":false,\"titlePropertyBylineEnabled\":false,\"titlePropertyEmojiEnabled\":false,\"headerImageLayout\":\"ABOVE\",\"headerImageStylingEnabled\":false}",
"key": "page-title-property-published",
"id": "33653101"
},
{
"version": {
"number": 1
},
"value": {
"reviewed": true
},
"key": "ref-demo",
"id": "33685793"
}
]
}Sent to Atlassian Cloud on .
PUT /wiki/api/v2/pages/{pageId}/properties/{propertyId}
Updates the value; version.number is 2.
curl
curl -X PUT \
-u "you@example.com:$ATLASSIAN_API_TOKEN" \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
--data '{
"key": "ref-demo",
"value": {
"reviewed": false
},
"version": {
"number": 2
}
}' \
'https://your-domain.atlassian.net/wiki/api/v2/pages/{pageId}/properties/{propertyId}'Python (requests)
import os
import requests
EMAIL = "you@example.com"
r = requests.put(
'https://your-domain.atlassian.net/wiki/api/v2/pages/{pageId}/properties/{propertyId}',
auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
headers={'Accept': 'application/json'},
json={'key': 'ref-demo', 'value': {'reviewed': False}, 'version': {'number': 2}},
)
print(r.status_code, r.text)Response: HTTP 200
{
"version": {
"number": 2,
"message": "",
"minorEdit": false,
"authorId": "<accountId>",
"createdAt": "2026-11-29T17:32:09.936Z"
},
"value": {
"reviewed": false
},
"key": "ref-demo",
"id": "33685793"
}Sent to Atlassian Cloud on .
DELETE /wiki/api/v2/pages/{pageId}/properties/{propertyId}
Deletes the property by id.
curl
curl -X DELETE \
-u "you@example.com:$ATLASSIAN_API_TOKEN" \
-H 'Accept: application/json' \
'https://your-domain.atlassian.net/wiki/api/v2/pages/{pageId}/properties/{propertyId}'Python (requests)
import os
import requests
EMAIL = "you@example.com"
r = requests.delete(
'https://your-domain.atlassian.net/wiki/api/v2/pages/{pageId}/properties/{propertyId}',
auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
headers={'Accept': 'application/json'},
)
print(r.status_code, r.text)Response: HTTP 204
No response body.
Sent to Atlassian Cloud on .
How it behaves
- The create call answers 200 (not 201) with id, key, value and version number 1 (conf-property-create).
- A new page already holds the keys page-title-property-draft and page-title-property-published, whose values are JSON strings (conf-property-list).
- A value stored as an object comes back as an object. The system values come back as strings.
- The update uses the property id in the path, takes version.number 2 and answers with version 2 (conf-property-update). Delete answers 204 (conf-property-delete).
Pitfalls
- The update path uses the property id, not the key. List the properties first to get the id.
- The two system keys were created with the page, not by the request, so leave them alone when you list and clean up properties.
- A value of any JSON type is accepted by the schema, so validate it in your own code.
Questions and answers
Can a property hold an array?
The schema leaves value untyped. Only an object was run.