POST
/
v1
/
integrations
Google Analytics 4 Connector
curl --request POST \
  --url https://api.matia.io/v1/integrations
{
  "destinationId": "<string>",
  "destinationSchema": "<string>",
  "replicationFrequency": "<string>",
  "onSchemaUpdate": "<string>",
  "enabled": true,
  "sourceConfig": {
    "type": "google_analytics_4",
    "name": "<string>",
    "connection": {
      "refresh_token": "<string>",
      "client_id": "<string>",
      "client_secret": "<string>",
      "rollback": 123
    },
    "connectionType": "<string>",
    "owners": [
      "<string>"
    ]
  },
  "sourceSettings": {
    "account": "<string>",
    "properties": [
      "<string>"
    ],
    "customReports": [
      "<string>"
    ]
  }
}
This connector uses the common integration parameters as described in the Create Integration endpoint, along with the GA4-specific parameters below.

The schema is of type object.