Add Search Console property
sites.addAdd a website property to Google Search Console by specifying either sc-domain:example.com for domain properties or a full URL with protocol and trailing slash for URL-prefix properties.
Instructions
Add a new website property to your Google Search Console account. Note: Domain properties require sc-domain prefix (e.g., sc-domain:example.com), URL-prefix properties require full URL (e.g., https://example.com/).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes | The Search Console property identifier, exactly as returned by sites.list. Two formats exist: domain properties use 'sc-domain:example.com'; URL-prefix properties use the full URL including protocol and trailing slash, e.g. 'https://www.example.com/'. Passing the wrong format returns a permission error even when the user owns the site — call sites.list first if unsure. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes |