Ploi API

List status pages

List all your status pages

GET api/status-pages

Example request:

curl -X GET "https://ploi.io/api/status-pages" \
-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": {
                "primary": "#1853DB",
                "secondary": "#1853DB",
                "borders": {
                    "header": false
                },
                "lightMode": "light",
                "logo": "",
                "branding": true
            }
        },
    ],
    "links": {
        "first": "https://ploi.io/api/status-pages?page=1",
        "last": "https://ploi.io/api/status-pages?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "https://ploi.io/api/status-pages",
        "per_page": 15,
        "to": 1,
        "total": 1
    }
}