v1

latestOpenAPI 3.1.02026-07-2637098.0 KB

Create a site

Add a new site with URLs

post/accounts/{account_id}/sites

Path parameters

account_idinteger required

Account ID

Request body

namestring required

Site name (must be unique for the team)

typestring

Site type (production, staging, competitor, other)

Response

Example response

{
  "data": {
    "site_id": 123,
    "name": "SpeedCurve",
    "type": "production",
    "urls": [
      {
        "url_id": 123,
        "url": "https://www.speedcurve.com/about",
        "label": "About"
      }
    ],
    "settings": {
      "synthetic": {
        "paused": true,
        "regions": [
          {
            "region_id": "ap-southeast-2",
            "name": "Australia"
          }
        ],
        "test_profiles": [
          {
            "name": "Mobile Slow"
          }
        ],
        "test_runs": 3
      }
    }
  }
}