Skip to main content
POST
/
v1
/
status-pages
Create a new status page.
curl --request POST \
  --url https://api.checklyhq.com/v1/status-pages \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "url": "<string>",
  "customDomain": "<string>",
  "logo": "<string>",
  "redirectTo": "<string>",
  "favicon": "<string>",
  "defaultTheme": "AUTO",
  "cards": [
    {
      "id": "<string>",
      "statusPageId": "<string>",
      "name": "<string>",
      "services": [
        {
          "id": "<string>"
        }
      ]
    }
  ]
}'
{
  "name": "<string>",
  "url": "<string>",
  "customDomain": "<string>",
  "logo": "<string>",
  "redirectTo": "<string>",
  "favicon": "<string>",
  "defaultTheme": "AUTO",
  "cards": [
    {
      "id": "<string>",
      "name": "<string>",
      "services": [
        {
          "name": "<string>",
          "id": "<string>",
          "accountId": "<string>",
          "created_at": "2023-12-25",
          "updated_at": "2023-12-25",
          "checks": [
            {
              "id": "<string>",
              "name": "<string>"
            }
          ]
        }
      ],
      "created_at": "2023-12-25",
      "updated_at": "2023-12-25"
    }
  ],
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

The Checkly Public API uses API keys to authenticate requests. You can get the API Key here. Your API key is like a password: keep it secure! Authentication to the API is performed using the Bearer auth method in the Authorization header and using the account ID. For example, set Authorization header while using cURL: curl -H "Authorization: Bearer [apiKey]" "X-Checkly-Account: [accountId]"

Headers

x-checkly-account
string

Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general

Body

application/json
name
string
required
url
string
required
cards
object[]
required
customDomain
string

A custom user domain, e.g. "status.example.com". See the docs on updating your DNS and SSL usage.

redirectTo
string
favicon
string
defaultTheme
enum<string>
default:AUTO
Available options:
LIGHT,
DARK,
AUTO

Response

Created

name
string
required
url
string
required
id
string
required
customDomain
string

A custom user domain, e.g. "status.example.com". See the docs on updating your DNS and SSL usage.

redirectTo
string
favicon
string
defaultTheme
enum<string>
default:AUTO
Available options:
LIGHT,
DARK,
AUTO
cards
object[]
I