Skip to content

Visibility Pro

All operations require authentication, except the 4 marked Public.

13 operationsv1/hosting/web
Agent setup

List local SEO directoriesProductionPublic

GET
/1.0/hosting/web/localSeo/directoriesList

List local SEO directories. Returns the search engines, navigation systems and social networks covered by a local SEO offer in a country.

Query parameters

country
required
CountryEnum

Country of the location

ValuesFR
offer
required
OfferEnum

Local SEO offer

Valuesnormal

Response

200DirectoriesListsuccessful operation
navigationSystems
Directory[]

Navigation systems

searchEngines
Directory[]

Search engines

socialNetworks
Directory[]

Social networks

Public: no token needed

$ curl https://api.eu.ovhcloud.com/1.0/hosting/web/localSeo/directoriesList
ResponseExample
{ "navigationSystems": [ { "code": "string", "displayName": "string" } ], "searchEngines": [ { "code": "string", "displayName": "string" } ], "socialNetworks": [ { "code": "string", "displayName": "string" } ]}

Check local SEO email availabilityProductionPublic

GET
/1.0/hosting/web/localSeo/emailAvailability

Check local SEO email availability. Returns whether an email address can be used for a local SEO order, and the hosting already using it.

Query parameters

email
required
string

The email address to check

Response

200EmailAvailabilitysuccessful operation
availability
EmailAvailabilityEnum

Availability of the email address

Valuesavailablemergenictaken
serviceName
string

Hosting on which the email address is used

Public: no token needed

$ curl https://api.eu.ovhcloud.com/1.0/hosting/web/localSeo/emailAvailability
ResponseExample
{ "availability": "available", "serviceName": "string"}

Get visibility check resultsProductionPublic

GET
/1.0/hosting/web/localSeo/visibilityCheckResult

Get visibility check results. Returns the listings found for the location in each directory, with the sync status of each field.

Query parameters

directory
required
string

Get the result only for one directory

id
required
integer

Id of the check

token
required
string

Token received when requesting the check

Response

200VisibilityCheckResultResponse[]successful operation
city
string

City of the location

cityStatus
FieldStatusEnum

City of the location (sync status)

ValuesMATCHMISMATCHMISSINGNOT_APPLICABLEPRESENT
country
string

Country of the location

countryStatus
FieldStatusEnum

Country of the location (sync status)

ValuesMATCHMISMATCHMISSINGNOT_APPLICABLEPRESENT
dateCreated
stringdate-time

The date and time the listing was created in database

directoryType
string

The directory where this listing appears

email
string

A contact email for the location

emailStatus
FieldStatusEnum

A contact email for the location (sync status)

ValuesMATCHMISMATCHMISSINGNOT_APPLICABLEPRESENT
flowStatus
FlowStatusEnum

The status of the current listing

ValuesALL_INFORMATION_SUBMITTEDDONT_REMOVEINACTIVEMANUALLY_DEACTIVATEDNEEDS_REVIEWNOT_SUPPORTEDNO_ACTION_NEEDEDREMOVAL_NEEDEDREMOVAL_REVIEW_NEEDEDREMOVAL_SUBMITTEDREMOVEDSUBMISSION_NEEDEDWAITING_DIRECTORY_ACTIONWAITING_USER_ACTION
listingId
string

The listing id in the directory database

listingUrl
string

The listing url on the directory website

name
string

The location's name used for this listing

nameStatus
FieldStatusEnum

The location's name used for this listing (sync status)

ValuesMATCHMISMATCHMISSINGNOT_APPLICABLEPRESENT
phone
string

The location's contact phone number

phoneStatus
FieldStatusEnum

The location's contact phone number (sync status)

ValuesMATCHMISMATCHMISSINGNOT_APPLICABLEPRESENT
province
string

Province of the location

provinceStatus
FieldStatusEnum

Province of the location (sync status)

ValuesMATCHMISMATCHMISSINGNOT_APPLICABLEPRESENT
street
string

The location's street address

streetAndNo
string

A localized combination of street and streetNo

streetAndNoStatus
FieldStatusEnum

A localized combination of street and streetNo (sync status)

ValuesMATCHMISMATCHMISSINGNOT_APPLICABLEPRESENT
streetNo
string

The location's street number

streetNoStatus
FieldStatusEnum

The location's street number (sync status)

ValuesMATCHMISMATCHMISSINGNOT_APPLICABLEPRESENT
streetStatus
FieldStatusEnum

The location's street address (sync status)

ValuesMATCHMISMATCHMISSINGNOT_APPLICABLEPRESENT
streetType
string

The street type for Spain

streetTypeStatus
FieldStatusEnum

The street type for Spain (sync status)

ValuesMATCHMISMATCHMISSINGNOT_APPLICABLEPRESENT
syncStatus
ListingStatusEnum

The sync status of the listing

ValuesIN_SYNCNOT_FOUNDNOT_IN_SYNCNOT_SUPPORTEDNO_ONLINE_LISTINGTECHNICAL_PROBLEMS
website
string

A valid url for the location's website

websiteStatus
FieldStatusEnum

A valid url for the location's website (sync status)

ValuesMATCHMISMATCHMISSINGNOT_APPLICABLEPRESENT
zip
string

Zipcode of the location

zipStatus
FieldStatusEnum

Zipcode of the location (sync status)

ValuesMATCHMISMATCHMISSINGNOT_APPLICABLEPRESENT

Public: no token needed

$ curl https://api.eu.ovhcloud.com/1.0/hosting/web/localSeo/visibilityCheckResult
ResponseExample
[ { "city": "string", "cityStatus": "MATCH", "country": "string", "countryStatus": "MATCH", "dateCreated": "2024-01-01T12:00:00Z", "directoryType": "string", "email": "string", "emailStatus": "MATCH", "flowStatus": "ALL_INFORMATION_SUBMITTED", "listingId": "string", "listingUrl": "string", "name": "string", "nameStatus": "MATCH", "phone": "string", "phoneStatus": "MATCH", "province": "string", "provinceStatus": "MATCH", "street": "string", "streetAndNo": "string", "streetAndNoStatus": "MATCH", "streetNo": "string", "streetNoStatus": "MATCH", "streetStatus": "MATCH", "streetType": "string", "streetTypeStatus": "MATCH", "syncStatus": "IN_SYNC", "website": "string", "websiteStatus": "MATCH", "zip": "string", "zipStatus": "MATCH" }]

List local SEO accountsProduction

GET
/1.0/hosting/web/{serviceName}/localSeo/account

List local SEO accounts. Returns the IDs of the local SEO accounts of the hosting. Filter them by email.

Path parameters

serviceName
required
string

The internal name of your hosting

Query parameters

email
string

Filter the value of email property (like)

Response

200integer[]successful operation

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/hosting/web/{serviceName}/localSeo/account \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ 0]

Get a local SEO accountProduction

GET
/1.0/hosting/web/{serviceName}/localSeo/account/{id}

Get a local SEO account. Returns the email address, status, creation date and last update date of the local SEO account, and its running task.

Path parameters

id
required
integer

Account id

serviceName
required
string

The internal name of your hosting

Response

200accountsuccessful operation
creationDate
read-only
stringdate-time

Date of creation of the account

email
read-only
string

Email address associated to the account

id
read-only
integer

Account id

lastUpdate
read-only
stringdate-time

Date of the last account's update

status
read-only
StatusEnum

Current status of the account

Valuescreatedcreatingdeletingupdating
taskId
read-only
integer

Running task associated to the account

Example uses id = 0, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/hosting/web/{serviceName}/localSeo/account/{id} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "creationDate": "2024-01-01T12:00:00Z", "email": "string", "id": 0, "lastUpdate": "2024-01-01T12:00:00Z", "status": "created", "taskId": 0}

Check local SEO email availabilityProduction

GET
/1.0/hosting/web/{serviceName}/localSeo/emailAvailability

Check local SEO email availability. Returns whether an email address can be used for a local SEO order, and the hosting already using it.

Path parameters

serviceName
required
string

The internal name of your hosting

Query parameters

email
required
string

The email address to check

Response

200EmailAvailabilitysuccessful operation
availability
EmailAvailabilityEnum

Availability of the email address

Valuesavailablemergenictaken
serviceName
string

Hosting on which the email address is used

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/hosting/web/{serviceName}/localSeo/emailAvailability \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "availability": "available", "serviceName": "string"}

List local SEO locationsProduction

GET
/1.0/hosting/web/{serviceName}/localSeo/location

List local SEO locations. Returns the IDs of the local SEO locations of the hosting. Each location is a business listed in online directories.

Path parameters

serviceName
required
string

The internal name of your hosting

Response

200integer[]successful operation

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/hosting/web/{serviceName}/localSeo/location \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ 0]

Get a local SEO locationProduction

GET
/1.0/hosting/web/{serviceName}/localSeo/location/{id}

Get a local SEO location. Returns the name, address, country, offer and status of the location, with its creation and last update dates.

Path parameters

id
required
integer

Location id

serviceName
required
string

The internal name of your hosting

Response

200locationsuccessful operation
accountId
read-only
integer

Account id

address
read-only
string

Address of the location

country
read-only
CountryEnum

Country of the location

ValuesFR
creationDate
read-only
stringdate-time

Date of the installation of the location

id
read-only
integer

Location id

lastUpdate
read-only
stringdate-time

Date of the last location's update

name
read-only
string

Name of the location

offer
read-only
OfferEnum

Local SEO offer for this location

Valuesnormal
status
read-only
StatusEnum

Current status of the location

Valuescreatedcreatingdeletingupdating
taskId
read-only
integer

Running task associated to the location

Example uses id = 0, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/hosting/web/{serviceName}/localSeo/location/{id} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "accountId": 0, "address": "string", "country": "FR", "creationDate": "2024-01-01T12:00:00Z", "id": 0, "lastUpdate": "2024-01-01T12:00:00Z", "name": "string", "offer": "normal", "status": "created", "taskId": 0}

Get location service informationProduction

GET
/1.0/hosting/web/{serviceName}/localSeo/location/{id}/serviceInfos

Get location service information. Returns the billing information of the location: creation and expiration dates, renewal settings and contacts.

Path parameters

id
required
integer

Location id

serviceName
required
string

The internal name of your hosting

Response

200Servicesuccessful operation
canDeleteAtExpiration
read-only
boolean

Indicates that the service can be set up to be deleted at expiration

contactAdmin
read-only
string
—
contactBilling
read-only
string
—
contactTech
read-only
string
—
creation
read-only
stringdate
—
domain
read-only
string
—
engagedUpTo
read-only
stringdate
—
expiration
read-only
stringdate
—
possibleRenewPeriod
read-only
integer[]

All the possible renew period of your service in month

renew
RenewType

Way of handling the renew

renewalType
read-only
RenewalTypeEnum

Detailed renewal type of a service

ValuesautomaticForcedProductautomaticV2012automaticV2014automaticV2016automaticV2024manualoneShotoption
serviceId
read-only
integer
—
status
read-only
StateEnum
—
ValuesautorenewInProgressexpiredinCreationokpendingDebtunPaid

Example uses id = 0, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/hosting/web/{serviceName}/localSeo/location/{id}/serviceInfos \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "canDeleteAtExpiration": true, "contactAdmin": "string", "contactBilling": "string", "contactTech": "string", "creation": "2024-01-01", "domain": "string", "engagedUpTo": "2024-01-01", "expiration": "2024-01-01", "possibleRenewPeriod": [ 0 ], "renew": { "automatic": true, "deleteAtExpiration": true, "forced": true, "manualPayment": true, "period": 0 }, "renewalType": "automaticForcedProduct", "serviceId": 0, "status": "autorenewInProgress"}

Check location visibilityProductionPublic

POST
/1.0/hosting/web/localSeo/visibilityCheck

Check location visibility. Starts a visibility check for a location from its name, street, zip code and country. Returns whether the location is already managed.

Request body (required)

country
required
CountryEnum

Country of the location

ValuesFR
name
required
string

Name of the location

street
required
string

Address line 1 of the location

zip
required
string

Zipcode of the location

Response

200VisibilityCheckResponsesuccessful operation
alreadyManaged
boolean

Is the searched location already managed ?

searchData
SearchData

Searched location data

Public: no token needed

$ curl https://api.eu.ovhcloud.com/1.0/hosting/web/localSeo/visibilityCheck
ResponseExample
{ "alreadyManaged": true, "searchData": { "city": "string", "country": "string", "id": 0, "name": "string", "province": "string", "street": "string", "streetNo": "string", "token": "string", "zip": "string" }}

Log in to a local SEO accountProduction

POST
/1.0/hosting/web/{serviceName}/localSeo/account/{id}/login

Log in to a local SEO account. Returns a single sign-on URL, with an authentication token, to log in to the local SEO account.

Path parameters

id
required
integer

Account id

serviceName
required
string

The internal name of your hosting

Response

200stringsuccessful operation

Example uses id = 0, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/hosting/web/{serviceName}/localSeo/account/{id}/login \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
"string"

Update location renewalProduction

POST
/1.0/hosting/web/{serviceName}/localSeo/location/{id}/serviceInfosUpdate

Update location renewal. Updates the renewal settings of the location: automatic renewal, renewal period and deletion at expiration.

Path parameters

id
required
integer

Location id

serviceName
required
string

The internal name of your hosting

Request body (required)

renew
required
RenewType

Renew type

Response

200—successful operation

Example uses id = 0, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/hosting/web/{serviceName}/localSeo/location/{id}/serviceInfosUpdate \
  -H "authorization: Bearer $OVH_TOKEN"

Terminate a local SEO locationProduction

POST
/1.0/hosting/web/{serviceName}/localSeo/location/{id}/terminate

Terminate a local SEO location. Requests the termination of the location. A link to confirm it is sent by email to the administrator contact.

Path parameters

id
required
integer

Location id

serviceName
required
string

The internal name of your hosting

Response

200stringsuccessful operation

Example uses id = 0, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/hosting/web/{serviceName}/localSeo/location/{id}/terminate \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
"string"