We used to fetch some sprint details (e.g., Name and EndDate) using a personal token and then URL https://OURSITE.atlassian.net/rest/agile/1.0/board/1/sprint.
As this token is expired, I wanted to switch to a service account. I learned that this requires a different URL scheme, https://api.atlassian.com/ex/jira/CLOUD_ID/API_ENDPOINT. This works fine vor v2/3 stuff (like rest/api/3/project or even rest/api/3/issue/PRJ-1234), but as far as I can see, v2/3 offers no access to Jira Software specific data, so I have to stick with the 1.0 API. But is this possible?? The obvious variant, i.e. using rest/agile/1.0/board/1/sprint, just returns a "401: Unauthorized; scope does not match", but I guess that's just because the URL is wrong (it returns for the same for rest/api/agile/1.0/issue/PRJ-1234, which works using v2/3 api).
So, am I missing something or is really not possible to get sprint details using the service account API??