v1
latestOpenAPI 3.1.02026-07-2295105298.6 KBBasics
Provision Website
Creates 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.
Beta: This endpoint is in beta. The request and response schemas may change.
post/api/v1/websites/provision
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"
}
}