Skip to main content
POST
/
api
/
v1
/
websites
Create Website
curl --request POST \
  --url https://api.athenahq.ai/api/v1/websites \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "url": "https://example.com"
}
'
{
"website": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"websiteUrl": "example.com",
"orgId": "987e6543-e21b-12d3-a456-426614174000",
"onboardingStep": 1
}
}

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Body

application/json

Request body for creating a new website

url
string<uri>
required

The URL of the website to create. Protocol (http/https) and trailing slashes will be automatically removed.

Example:

"https://example.com"

Response

Website created successfully

website
object
required

A newly created website resource