---
title: "Map Search Console property REST API | HitKeep"
description: "Reference for the HitKeep REST API operation Map Search Console property, including request parameters, responses, and authentication notes."
canonical: "https://hitkeep.com/api/operations/apisitesidintegrationsgoogle-search-consoleproperty/put/"
---

# Map Search Console property REST API

PUT

/api/sites/{id}/integrations/google-search-console/property

FetchcURL

```
const url = 'http://127.0.0.1:25737/api/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/integrations/google-search-console/property';
const options = {
  method: 'PUT',
  headers: {cookie: 'hk_token=<hk_token>', 'Content-Type': 'application/json'},
  body: '{"property_uri":"example"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```
curl --request PUT \
  --url http://127.0.0.1:25737/api/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/integrations/google-search-console/property \
  --header 'Content-Type: application/json' \
  --cookie hk_token=<hk_token> \
  --data '{ "property_uri": "example" }'
```

-

Maps a visible Search Console property to a HitKeep site.

## Authorizations

- **[cookieAuth](https://hitkeep.com/api/#cookieauth)**

## Parameters

### Path Parameters

**id**

required

string format: uuid

## Request Bodyrequired

application/json

object

**property_uri**

required

string

##### Examplegenerated

```
{
  "property_uri": "example"
}
```

## Responses

### 200

Google Search Console site mapping

application/json

object

**can_manage**

required

boolean

**mapped**

required

boolean

**mapped_at**

string format: date-time

**property_permission_level**

string

**property_uri**

string

**site_id**

required

string format: uuid

**sync_status**

object

**imported_end_date**

string format: date

**imported_start_date**

string format: date

**last_attempt_at**

string format: date-time

**last_error_category**

string

**last_success_at**

string format: date-time

**manual**

required

boolean

**next_retry_at**

string format: date-time

**state**

required

string

Allowed values: pending running succeeded failed needs_attention

**team_id**

required

string format: uuid

##### Example

```
{
  "sync_status": {
    "state": "pending"
  }
}
```

### 400

Invalid or unavailable property

application/json

object

**message**

string

##### Examplegenerated

```
{
  "message": "example"
}
```

### 403

Access denied

application/json

object

**message**

string

##### Examplegenerated

```
{
  "message": "example"
}
```

### 412

Google Search Console is not connected

application/json

object

**message**

string

##### Examplegenerated

```
{
  "message": "example"
}
```

[Previous Get site Search Console mapping](https://hitkeep.com/api/operations/apisitesidintegrationsgoogle-search-console/)[Next Unmap Search Console property](https://hitkeep.com/api/operations/apisitesidintegrationsgoogle-search-consoleproperty/delete/)
