Skip to content

Search Console settings

GET
/api/v1/search-console/settings
curl --request GET \
--url https://digize.com/api/v1/search-console/settings \
--header 'x-api-key: <x-api-key>'

Sending sitemaps after deploys, the words that make a search branded, and the emails.

Needs the analytics:read permission.

Done

Media typeapplication/json
object
submitOnDeploy
required
boolean
brandTerms
required
Array<string>
<= 30 items
weeklySummary
required
boolean
droppedPages
required
boolean
emails
required
Array<string>
<= 20 items

Example generated

{
"submitOnDeploy": true,
"brandTerms": [
"example"
],
"weeklySummary": true,
"droppedPages": true,
"emails": [
"hello@example.com"
]
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}