Skip to content
Start in Cloud

Create site

POST
/api/sites
curl --request POST \
--url https://hitkeep.com/api/sites \
--header 'Content-Type: application/json' \
--cookie hk_token=<hk_token> \
--data '{ "domain": "example" }'

Creates new tracked site.

Media type application/json
object
domain
required
string
Example generated
{
"domain": "example"
}

Site

Media type application/json
object
created_at
string format: date-time
data_retention_days
integer
domain
string
id
string format: uuid
user_id
string format: uuid
Example generated
{
"created_at": "2026-04-15T12:00:00Z",
"data_retention_days": 1,
"domain": "example",
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"user_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}

Domain exists

Media type application/json
object
message
string
Example generated
{
"message": "example"
}