Build the Resource URL

Access all Reports and Dashboards REST API resources by using the URI for your Salesforce org, combined with version and Experience Cloud site information, and the URI for the resource.
When building a URL, start with your My Domain login URL. To get your My Domain name, use the getMyDomainName() Apex method. You can also find your full My Domain login URL on the My Domain page in Setup.
https://MyDomainName.my.salesforce.com
Then add the version information:
/services/data/v63.0
Then add the resource:
/analytics/reports
Put together, the full URL is:
https://MyDomainName.my.salesforce.com/services/data/v63.0/analytics/reports
Some resources, such as notifications, often require one or more URL parameters without which API requests return an error:
https://MyDomainName.my.salesforce.com/services/data/v63.0/analytics/notifications?source=lightningReportSubscribe