Provision Website
Changed onCreates a fully configured website in a single call, skipping the onboarding wizard. Optionally configures competitors, prompts, and a processing schedule. Requires a global API key. Partner integrations may include an external_id to map their own identifier onto the new Athena website. A successful creation also provisions the website's Default prompt schedule in the same transaction.
Beta: This endpoint is in beta. The request and response schemas may change. Website and competitor tracking patterns preserve the submitted host, path case, and query constraints. Apex domains include their www form; explicit www hosts remain distinct. Paths match sections on slash boundaries.
Request
- Base URLhttps://api.athenahq.ai
- AuthAPI key in header x-api-key
Request body
Example request
{
"url": "acme.com",
"name": "Acme Corp",
"description": "Enterprise widgets company",
"country": "United States",
"language": "English",
"industry": "SaaS & Software",
"identifiers": [
"Acme",
"Acme Corp"
],
"competitors": [
{
"name": "WidgetCo",
"url": "widgetco.com",
"identifiers": [
"WidgetCo"
]
}
],
"prompts": [
{
"text": "best widget software",
"topic": "Products",
"type": "discovery"
}
],
"schedule": {
"days": {
"Monday": true,
"Wednesday": true,
"Friday": true
},
"models": {
"chatgpt": true,
"gemini": true,
"perplexity": true
}
},
"external_id": "ws_a7f3b2c9"
}Response
Website provisioned successfully
Example response
{
"website": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"url": "acme.com",
"name": "Acme Corp",
"orgId": "987e6543-e21b-12d3-a456-426614174000",
"promptCount": 2,
"competitorCount": 1,
"hasSchedule": true,
"externalId": "ws_a7f3b2c9"
}
}Changes
- warning
the
///request property's maxLength was set to500 - warning
the
//request property's maxLength was set to255 - warning
the
//request property's maxLength was set to2048 - warning
the
/request property's maxLength was set to500 - warning
the
request property's maxLength was set to255 - warning
the
//request property's maxLength was set to2000 - warning
the
request property's maxLength was set to2048 - info
the
request property default valueUncategorizedwas removed
- warning