Home / Add and activate websites

Add and activate websites

Add a website without starting a report, or prepare its first check. You can also find inactive websites and prepare their activation.

In this article

labrika_site_create

Example requests

Add example.com without running an analysis.

Create a project for AI Visibility.

Add a site without starting a report. If site_in_connection is false, follow next_step to add it to the connection.

sites:create

Required parameters
site, operation_key
Before use

labrika_project_find_by_domain → site.host + site.report_type

How to check the result

site_uuid; site_in_connection → next_step

Reuse operation_key when resending the same action. A new action or changed parameters needs a new key. Do not create another job just to check its status.

site.host; site.report_type=site_audit / keyword_rankings_refresh / ai_visibility; site.title; site.keywords; site.search_engines; site.pages_limit

labrika_site_create_prepare

Example requests

How much is adding example.com with an audit?

Prepare a new project with a rankings check.

Quote adding a site and running its first report. Check the domain for existing projects before approval.

For a paid action, review the quote and select Confirm and start in Labrika. Then ask the chat for its status.

sites:create

Required parameters
site, operation_key
Optional parameters
payment_option
Before use

labrika_project_find_by_domain → site.host + site.report_type

How to check the result

Preparing a quote does not start the job. Review the amount, currency and selected settings using the Labrika link. Confirm the launch on that page, then check action_id with labrika_action_get.

labrika_action_get → site_uuid

Reuse operation_key when resending the same action. A new action or changed parameters needs a new key. Do not create another job just to check its status.

site.host; site.report_type=site_audit / keyword_rankings_refresh; site.keywords; site.search_engines; site.pages_limit; payment_option=auto / subscription_quota / money_balance

labrika_inactive_sites_list

Example requests

Show my inactive sites.

Is example.com among my inactive sites?

List your inactive sites. Use the chosen site's project_xid to reactivate it.

sites:activate

Optional parameters
limit, cursor
Before use

labrika_connection_info → sites:activate

How to check the result

If has_more=true, continue with next_cursor as cursor and unchanged filters, even if the current page is empty. An empty first page does not prove that no data exists.

project_xid → labrika_site_activate

labrika_site_activate

Example requests

Prepare activation of example.com.

I want to reactivate this site.

Prepare site reactivation and open the approval link. Use selection_url after activation if the site needs to be added to the connection.

sites:activate

Required parameters
project_xid, operation_key
Before use

labrika_inactive_sites_list → project_xid

How to check the result

labrika_action_get; selection_url

Reuse operation_key when resending the same action. A new action or changed parameters needs a new key. Do not create another job just to check its status.