Create Website
Changed onCreates a new website in your organization. The website will be created with onboarding step 1, ready for further configuration. 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. Tracking patterns preserve the submitted host, path case, and query parameters. An apex such as acme.com includes www.acme.com; an explicit www.acme.com tracks only that host. Paths include the named section and descendants on slash boundaries. Domain matching is case-insensitive; path and query values are case-sensitive.
Request
- Base URLhttps://api.athenahq.ai
- AuthAPI key in header x-api-key
Request body
Example request
{
"url": "https://example.com",
"external_id": "ws_a7f3b2c9"
}Response
Website created successfully. Partner responses include an externalId field (string or null); direct-customer responses omit the field entirely.
Example response
{
"website": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"websiteUrl": "example.com",
"orgId": "987e6543-e21b-12d3-a456-426614174000",
"onboardingStep": 1,
"externalId": "ws_a7f3b2c9"
}
}Changes
- warning
the
request property's maxLength was set to2048
- warning