---
title: "Returns GA4 link state"
method: GET
path: "/googleanalytics4/linkstate"
tags: ["Google analytics 4"]
---

# Returns GA4 link state

`GET /googleanalytics4/linkstate`

## Request

- The document declares no server URL.
- Auth: API key in header `TWN-InstanceKey` and API key in header `TWN-Authentication`

## Query parameters

- `returnUri` string

## Response `200`

OK

- GoogleAuthModel: Model containing data related to the current GA4 authorization
  - `Authorized` boolean: Flag indicates whether this instance is authorized to GA4
  - `RedirectUrl` string, nullable: Link containing Google authorization to GA4

---

[API](https://skmtc.dev/tweakwise/apis/app-api.md) - [All operations](https://skmtc.dev/tweakwise/apis/app-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tweakwise/apis/app-api/revisions/dc936bf76941?raw)
