Skip to content

List GTM accounts for the connected Google user

GET
/v1/integrations/gtm/accounts
curl --request GET \
--url https://api.monita.ai/v1/integrations/gtm/accounts \
--header 'Authorization: Bearer <token>'

OK

Media typeapplication/json
object
accounts
required
Array<object>
object
accountId
required
string
name
required
string
path
required
string
Examplegenerated
{
"accounts": [
{
"accountId": "example",
"name": "example",
"path": "example"
}
]
}

Not connected / not configured

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}