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

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

URL Parameters

NameTypeDescription
client_idstringRequiredClient ID for the application requesting the tenant-specific URIs.
resourcestringRequiredMarketing Cloud username that you request base URIs for. Format must be 'acct: open-caret username close-caret', without spaces or quotation marks. Fill in the username.

Responses

StatusNameTypeDescription
200  Response contains a collection of base URIs for the username
 subjectstringMarketing Cloud 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

Example Request

Example Response