---
title: "POST /v1beta/properties/{propertiesId}/firebaseLinks"
method: POST
path: "/v1beta/properties/{propertiesId}/firebaseLinks"
tags: ["properties"]
---

# POST /v1beta/properties/{propertiesId}/firebaseLinks

`POST /v1beta/properties/{propertiesId}/firebaseLinks`

## Request

- Base URL: `https://analyticsadmin.googleapis.com`
- URL: `https://analyticsadmin.googleapis.com/v1beta/properties/{propertiesId}/firebaseLinks`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/analytics.edit`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/analytics.edit`

Creates a FirebaseLink. Properties can have at most one FirebaseLink.

## Path parameters

- `propertiesId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Request body

- GoogleAnalyticsAdminV1betaFirebaseLink: A link between a Google Analytics property and a Firebase project.
  - `createTime` string, google-datetime: Output only. Time when this FirebaseLink was originally created.
  - `name` string: Identifier. Example format: properties/1234/firebaseLinks/5678
  - `project` string: Immutable. Firebase project resource name. When creating a FirebaseLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, returned FirebaseLinks will always have a project_name that contains a project number. Format: 'projects/{project number}' Example: 'projects/1234'

## Response `200`

Successful response

- GoogleAnalyticsAdminV1betaFirebaseLink: A link between a Google Analytics property and a Firebase project.
  - `createTime` string, google-datetime: Output only. Time when this FirebaseLink was originally created.
  - `name` string: Identifier. Example format: properties/1234/firebaseLinks/5678
  - `project` string: Immutable. Firebase project resource name. When creating a FirebaseLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, returned FirebaseLinks will always have a project_name that contains a project number. Format: 'projects/{project number}' Example: 'projects/1234'

---

[API](https://skmtc.dev/google/apis/analyticsadmin.md) - [All operations](https://skmtc.dev/google/apis/analyticsadmin/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/analyticsadmin/revisions/2f06698abda1?raw)
