Ploi API
Ploi API

Get status page

Get the selected status page

GET api/status-pages/{statusPage}

Example request:

curl -X GET "https://ploi.io/api/status-pages/{statusPage}" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Example response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "data": {
        "id": 1,
        "name": "My awesome status page",
        "slug": "my-awesome-status-page",
        "description": null,
        "theme": {
            "logo": null,
            "borders": {
                "header": false
            },
            "primary": "#1853DB",
            "branding": true,
            "lightMode": "light",
            "secondary": "#1853DB"
        }
    }
}