GET YOUR_SUBDOMAIN.auth.marketingcloudapis.com/v2/discovery

Gets tenant-specific REST and authentication base URIs for the Marketing Cloud Engagement tenant associated with the provided username and client ID.

NameTypeDescription
client_idstringRequired. Client ID for the application requesting the tenant-specific URIs.
resourcestringRequired. The username that you're requesting base URIs for. Format must be acct:{username}.
StatusNameTypeDescription
200  Response contains a collection of base URIs for the username
 subjectstringThe username that you requested base URIs for.
 linksobjectList of tenant-specific REST and authentication base URIs for the username.
    
400  The server can’t process the request. Query string data is missing or malformed.
 messagestringInvalid request

Send a GET request to the /v2/discovery endpoint.

The response includes information about the API endpoints that the user can access.