Hi, I have generated API token, and I am trying to hit REST API get all the spaces from confluence, but I am not able to get any response.
Welcome @Paurnima Rajput
I would suggest using Postman with your API calls. And the API you are looking for is this one: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space/#api-spaces-get
When you are setting up Postman, for Authentication select the basic authentication where you for username enter your email address and for password your Atlassian API key.
Hi Nikola, thank you for the help. I am following same documentation. I am trying to make simply get call for /wiki/REST/api/space but I am getting some false data. getting same data even if I use any query parameters or different endpoints.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nikola PerisicPerisic now I get to know, data I am getting is not false data but there is restriction so I can only be able to fetch upto top 250 records. I s the any way I can fetch more records. I tried pagination but it is not working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are limits indeed, and these are the ones:
Confluence Cloud imposes rate limits based on the type of API authentication used:
OAuth 2.0 (3LO) and API tokens:
60 requests per minute (user-based)
100 requests per 10 minutes (for specific endpoints, e.g., search)
OAuth 2.0 (Forge or Connect apps):
500 requests per 1 minute (per app and per instance)
User impersonation: 60 requests per minute
If you exceed these limits, you will receive a 429 Too Many Requests response, and you must wait before retrying.
Many API responses are paginated, meaning they return a limited number of results per request.
Default limit: 25 results per request
Maximum limit: 200 results per request
You need to use the start
and limit
parameters to paginate through large result sets.
Attachments:
Maximum size: 1 GB per file
API uploads may be subject to lower practical limits due to timeouts.
Page Body Content:
Maximum 5 MB per API request
Large pages should be split into multiple requests.
Maximum 100 webhooks per Confluence Cloud instance
If a webhook delivery fails, Confluence retries up to 5 times before disabling it.
Concurrent API Requests:
Some endpoints may have concurrency limits to prevent performance degradation.
Permission-Based Access:
API calls respect the user’s permissions, meaning you can only retrieve or modify content if you have the appropriate access.
Search API Rate Limits:
The search API has stricter rate limits (100 requests per 10 minutes) due to performance concerns.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Depending on your use case, it might be worth looking at Breeze.
Besides review and approval workflows, it provides CSV data export functionality, giving you all spaces and their details.
If you'd like to discuss your use case, feel free to schedule an appointment with me via the demo link in the Marketplace listing.
All the best,
Adrian from B1NARY (we are the developers of Breeze)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.