all-about-apikey/instatus
Muhammad Daffa 7372a52709 Fix repository structure and add todolist 2022-07-23 20:53:29 +07:00
..
README.md Fix repository structure and add todolist 2022-07-23 20:53:29 +07:00

README.md

Instatus

Description

Post to and update maintenance and incidents on your status page through an HTTP REST API

Example Request

  • Curl
curl -H "Authorization: Bearer {{token}}" https://api.instatus.com/v1/pages
  • Raw
GET /v1/pages HTTP/1.1
Authorization: Bearer {{token}}
Host: api.instatus.com

Response

  • Success
[
    {
        "id":"xxxxxxxxxxxxxxx",
        "subdomain":"test",
        "name":"test",
        "logoUrl":null,
        "faviconUrl":null,
        "websiteUrl":null,
        "customDomain":null,
        "publicEmail":null,
        "twitter":null,
        "status":"UP",
        "subscribeBySms":false,
        "sendSmsNotifications":true,
        ...
    }
]
  • Error
{
    "error":{
        "code":"forbidden",
        "message":"API key does not belong to a user."
    }
}

Regex

[a-z0-9]{32}

Example API key

bb1aa18d0eeea0fc7ggg799h3i9578j