Create Status Page

POST {{batmanURL}}/v4/statuspages

Create a new status page.

Request Body

{"name"=>"Example status page", "description"=>"My customers can see if my system is online.", "isPublic"=>false, "domainName"=>"my-infra", "customDomainName"=>"my-infra", "logoUrl"=>"my-logo-url", "timezone"=>"Asia/Kolkata", "teamID"=>"6129ac15518568defa92794b", "themeColor"=>{"primary"=>"#000000", "secondary"=>"#ffffff"}, "allowWebhookSubscription"=>true, "allowComponentsSubscription"=>true, "allowMaintenanceSubscription"=>true, "components"=>[{"type"=>"component", "name"=>"Example component 1", "allowSubscription"=>true, "description"=>"my first component", "components"=>[{"type"=>"child component", "name"=>"Example component 2", "allowSubscription"=>true, "description"=>"This component is related to example component.", "serviceID"=>"optional-service-id"}]}], "contactEmail"=>"support@example.com", "ownerType"=>"user", "ownerID"=>"64a3a5b756f68e303cae1b67"}

RESPONSES

status: OK

{"data":{"id":909,"organizationID":"60cb200bc9de4a0008d2fc41","name":"Example status page","isPublic":false,"timezone":"Asia/Kolkata","description":null,"domainName":"my-infra","contactEmail":"support@example.com","themeColor":{"primary":"#000000","secondary":"#ffffff"},"allowComponentsSubscription":true,"allowMaintenanceSubscription":true,"allowWebhookSubscription":true,"ownerType":"user","ownerID":"64a3a5b756f68e303cae1b67","teamID":"6129ac15518568defa92794b"}}