Domains

Create domain

Create a domain

post/domains

Request

  • Base URL: https://admin-api.docs.keitaro.io/admin_api/v1
  • URL: https://admin-api.docs.keitaro.io/admin_api/v1/domains
  • Auth: API key in header Api-Key

Request body

namestring required

Domain name

default_campaign_idinteger

Run campaign on the domain

group_idstring

Group ID

catch_not_foundboolean

Catch the traffic of non-existent URLs

notesstring

Notes for the domain

ssl_redirectboolean

Force browsers to redirect from HTTP to HTTPS

allow_indexingboolean

Allow robots to index the domain content

admin_dashboardboolean

Allow access to admin dashboard

Response

Domain data

idinteger
namestring
network_statusstring
default_campaignstring
default_campaign_idinteger
state'active' | 'deleted'
created_atstring
updated_atstring
catch_not_foundboolean
campaigns_countinteger
ssl_redirectboolean
allow_indexingboolean
admin_dashboardboolean
cloudflare_proxyboolean
group_idinteger
groupstring
is_sslboolean
dns_providerstring
error_solutionstring
statusstring
notesstring

Changes

No recorded changes to this operation across all 1 revision of this API.