Confluence searchv3 REST API

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

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):


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)?

Dear @QueenieMa ,

Did you try the following?


Best regards