Confluence searchv3 REST API

Queenie Ma
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 9, 2023

Hi. In my app, I want to create a similar search experience as the Live Search component:

Screen Shot 2023-02-08 at 12.24.11.png

I see that this calls an endpoint like this (which seems to be private because I can't find any information on it in the documentation):

/rest/searchv3/1.0/search?queryString=test&user={user_id}&pageSize=5&highlight=false&sessionUuid=0-0-0-0&where=CS

However, when I call this endpoint using OAuth 2.0 (3LO) and the search:confluence scope, I get back an Unauthorized error:

{
"code": 401,
"message": "Unauthorized; scope does not match"
}

What scope should I use to call this endpoint? Or is there a similar public endpoint that I can use that will provide the same functionality (with the bodyTextHighlights returned)?

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 21, 2023

Hi @Queenie Ma  and welcome,

here the documentation for Confluence Cloud rest api https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search/

Hope this helps,

Fabio

Suggest an answer

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

Atlassian Community Events