I'm unable to access the Confluence Cloud REST API. I always get the same error using postman.
This is the request I've been using:
Request: GET 'https://domain.atlassian.net/wiki/api/v2/spaces'
Basic Auth: email:api_token
This is the response I've been getting:
{
"errors": [
{
"status": 404,
"code": "NOT_FOUND",
"title": "Not Found",
"detail": null
}
]
}
When I try the same url using a browser (where I am already signed in), I am getting the correct response as expected.