Skip to main content
POST
/
v1
/
status-pages
/
services
Create a service
curl --request POST \
  --url https://api.checklyhq.com/v1/status-pages/services \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "name": "<string>",
  "id": "<string>",
  "accountId": "<string>",
  "created_at": "2023-12-25",
  "updated_at": "2023-12-25",
  "checks": [
    {
      "id": "<string>",
      "name": "<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

Response

Successful

name
string
required
id
string
required
accountId
string
required
created_at
string<date>
required
updated_at
string<date>
checks
object[]
I