Which permissions are rquired for /spaces and /pages api to work in the console app?

Mansi Gusain March 4, 2025

Hi, I have created my app on this URL- 

https://developer.atlassian.com/console/myapps/

I have provided the following permissions- 

 

write:confluence-content read:confluence-space.summary write:confluence-file read:confluence-props read:confluence-content.all read:confluence-content.summary read:confluence-content.permission read:confluence-user

 

Now my issue is - that when I am querying from the app it tells -404 , how to resolve?

 

image.png

These are apis- 

 

get /wiki/api/v2/spaces

post /wiki/api/v2/pages

 

This is the schema- 

 

 

openapi: 3.1.0 info: title: Atlassian Confluence API version: 1.0.0 servers: - url: https://name.atlassian.net/wiki/api/v2 - description: Confluence Server paths: /spaces: get: operationId: getSpaceInformation summary: Retrieve space information parameters: - in: query name: keys required: true schema: type: string description: The key of the space to retrieve responses: '200': description: Success content: application/json: schema: type: object properties: id: type: string security: - bearerAuth: [] /pages: post: operationId: createPage summary: Create a new page requestBody: required: true content: application/json: schema: type: object properties: spaceId: type: string status: type: string title: type: string parentId: type: string body: type: object properties: representation: type: string example: storage value: type: string required: - spaceId - status - title - body responses: '200': description: Page created successfully security: - bearerAuth: [] components: securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT

 

 

I have added the scopes and other urls - 

 

 

image.png

 

Help is appreciated. 

 

I have deployed the app in the confluence cloud also. 

 

I saw the documentation, but the following permissions are not there in the app- 

 

read:space:confluence , 

 

write:page:confluence

2 answers

0 votes
Mansi Gusain March 5, 2025

The scoped i have - write:page:confluence read:space:confluence read:page:confluence read:me write:confluence-content read:confluence-space.summary write:confluence-file read:confluence-props read:confluence-content.all read:confluence-content.summary read:confluence-content.permission read:confluence-user 

0 votes
Mansi Gusain March 4, 2025

Hi can some help be provided?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events