I was able to create an OAuth connection inside of Make, but I’m struggling to get the API call to create a subaccount and add a snapshot without 400 and 422 errors.
I have an OAuth 2.0 scenario request setup with that connection (all of the scopes are enabled) posting to https://services.leadconnectorhq.com/oauth/token
Inside of the scenario is my code:
Headers:
- Content-Type → application/json
Body Type:
- Raw → JSON
{
“grant_type”: “authorization_code”,
“client_id”: “The Client ID from my marketplace app”,
“client_secret”: “The Client secret key from my marketplace app”,
“redirect_uri”: “https://www.integromat.com/oauth/cb/oauth2”
}
Is this correct?
This is the doc that I’m going off of: Get Access Token | Integrations API
Really appreciate any insight you can provide!