CRM Connect (OAuth)
Start CRM Authorization
Returns an authorizeUrl to open in the browser; it does not redirect by itself. Call it from the same browser that will open that URL, with credentials included: it sets a short-lived cookie the callback checks, and the attempt expires after 5 minutes. API keys and MCP tokens get 403; 400 if returnTo is not on a GTM Scoop web-app origin; 503 if the provider is not set up on the server.
In this section
Authentication
Get API keySigned-in web session only
This action needs a person signed in to the GTM Scoop web app. API keys and MCP tokens get 403. The browser sends its session cookie, plus the x-csrf-token header on writes; the session's access token also works as a Bearer token.
Authorization: Bearer YOUR_SESSION_TOKENParameters
application/jsonMounted at
/api/v1
Connects a Salesforce org or HubSpot portal to the account with OAuth (PKCE): start from the browser, let the provider redirect back, then check status. provider is salesforce or hubspot, and one connection of each is kept per account.
Try it in the playground
Signed out: 10 free tries a day with names hidden. Log in for live data.
Open playgroundRelated endpoints