Make API: Create Connection

I saw this other post where several people were having difficulties creating connections with the Make API.

I had the same need to create a connection to Google Maps. This is the Body that worked for me.

{
“accountName”:“Google Maps”,
“accountType”:“google-maps”,
“apiKey”:“{{GoogleMapsAPIKey}}”,
“scopes”:
}

The two issues I had were 1) not knowing the name of the “apiKey” key value, and 2) not having the api key value encased in quotes.

I quite mistakenly happened upon it by eliminating the key altogether. The API then responded with what it was missing. Might work for other APIs as well.

{
“accountName”:“Google Maps”,
“accountType”:“google-maps”,
“scopes”:
}