Summary
We’re seeing a strange issue where pages created via the createConfluencePageV2 API endpoint return a successful response (200 OK) but never actually appear in Confluence. They’re not indexed, not visible in the UI, and can’t be retrieved through search or the content APIs, even though the API call itself reports success.
Issue Description
Whenever we submit a request to createConfluencePageV2, Confluence replies with HTTP 200 OK and no errors. However, those pages never show up anywhere:
In short, it’s as if Confluence acknowledges the request but never actually saves or indexes the new page. We’ve tried multiple spaces (including a team space and a personal space), and the behavior is identical everywhere.
How to Reproduce
nginx
CopyEdit
POST https://api.atlassian.com/wiki/rest/api/content
(this is the underlying endpoint used by createConfluencePageV2)
CopyEdit
b775381d-868b-4412-a705-28aaf155a953
json
CopyEdit
{
"title": "AVAgent ADF Test – Direct ID Fetch",
"status": "current",
"spaceId": "~712020670468013f184c35b353e19c8acdee5f",
"body": {
"value": "{\"type\": \"doc\", \"version\": 1, \"content\": [{\"type\": \"paragraph\", \"content\": [{\"type\": \"text\", \"text\": \"ADF Test created by AVAgent. Will fetch by contentId.\"}]}]}",
"representation": "editor"
}
}
ini
CopyEdit
title = "AVAgent ADF Test – Direct ID Fetch"
→ No results returned.
bash
CopyEdit
GET /rest/api/content?space=~712020670468013f184c35b353e19c8acdee5f
→ The newly “created” page is not in the list.
Additional Notes
What We’re Asking
Could you please help us figure out:
Any guidance or insight you can provide would be greatly appreciated. Thanks!
Hi @Devesh Kumar Sharma ,
Have you managed to resolve this?
I don't think I have ever tested creation of Confluence content via API (maybe via webhooks and automation), but I guess it should be possible with standard REST APIs (e.g., Create page) 🤔
Cheers,
Tobi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.