# Get a status page design template — API reference

> Returns the design specification, stored asset information, and current revision.

Source: https://upfour.io/docs/api/status-page-design-templates/get-a-status-page-design-template

[Developers](https://upfour.io/docs/api.md)/[Status page design templates](https://upfour.io/docs/api/status-page-design-templates.md)

Returns the design specification, stored asset information, and current revision.

GET https://app.upfour.io/v1/status-page-design-templates/{templateID}

scope status_page.read stable returns 200

## Parameters

| Field | Type | Description |
| --- | --- | --- |
| `templateID` required | uuid | path parameter |

## Returns

A successful request returns `200` with application/json.

Response fields 1 top-level fields

| Field | Type | Description |
| --- | --- | --- |
| `data` | StatusPageDesignTemplate | |
| StatusPageDesignTemplate · 32 fields FieldTypeDescription `accent_color` string `asset_kinds` string[]  · nullable one of`logo` `logo_dark` `favicon` The images the template stores, in the order logo, logo_dark, favicon. `assets` StatusPageDesignTemplateAssetInfo[]  · nullable Each item · 4 fields FieldTypeDescription `content_type` string `kind` string one of`logo` `logo_dark` `favicon` `sha256` string `size_bytes` integer `created_at` string (date-time) `description` string `ground` string one of`paper` `white` `cool` `header_dark` string `header_light` string `id` uuid `includes_css` boolean `layout` string one of`essential` `brand` `overview` `name` string `revision` integer Starts at 1 and rises with every update. `spec` StatusPageDesignTemplateSpecResponse StatusPageDesignTemplateSpecResponse · 12 fields FieldTypeDescription `accent_color` string #RRGGBB or empty for the platform default. `appearance` StatusPageAppearanceResponse StatusPageAppearanceResponse · 5 fields FieldTypeDescription `ground` string one of`paper` `white` `cool` Empty is stored as paper. `header_dark` string #RRGGBB or empty for the platform default. `header_light` string #RRGGBB or empty for the platform default. `layout` string one of`essential` `brand` `overview` `version` integer Must be 1. `custom_css` string At most 64 KiB; must not contain </style. `includes_css` boolean Must be true for custom_css to be non-empty. `logo_url` string External logo address, copied as text and never downloaded; only kept together with brand images. `theme` string one of`system` `light` `dark` Empty is stored as system. `version` integer `theme` string one of`system` `light` `dark` `updated_at` string (date-time) | | |

## Errors

Only the errors this operation can return. Every error uses the [same envelope](https://upfour.io/docs/api/responses.md).

| Status | Code | Meaning |
| --- | --- | --- |
| 400 | [bad_request](https://upfour.io/docs/api/errors#code-bad_request) | The request is malformed or fails validation. |
| 409 | [design_template_conflict](https://upfour.io/docs/api/errors#code-design_template_conflict) | The design template was changed after the caller read it. **When:** Updating or applying a design template that was changed after the caller read it. **Fix:** Reload the template and apply the change again. |
| 404 | [design_template_not_found](https://upfour.io/docs/api/errors#code-design_template_not_found) | The design template does not exist or is not visible to the caller. **When:** A design template id in the path or body that is unknown or not visible to the caller. **Fix:** List design templates and use an id from the list. |
| 404 | [not_found](https://upfour.io/docs/api/errors#code-not_found) | The requested resource does not exist or is outside the caller's scope. |

Every call can also return `unauthorized` (401), `rate_limit_exceeded` (429) or `internal_error` (500 / 502). See [Responses and errors](https://upfour.io/docs/api/responses.md).

[PreviousCreate a status page design template](https://upfour.io/docs/api/status-page-design-templates/create-a-status-page-design-template.md) [NextUpdate a status page design template](https://upfour.io/docs/api/status-page-design-templates/update-a-status-page-design-template.md)

## Request

### cURL

```bash
curl -s "https://app.upfour.io/v1/status-page-design-templates/00000000-0000-4000-8000-000000000001" \
  -H "Authorization: Bearer $UP4_API_KEY"
```

### JavaScript

```javascript
const res = await fetch("https://app.upfour.io/v1/status-page-design-templates/00000000-0000-4000-8000-000000000001", {
  headers: {
    Authorization: `Bearer ${process.env.UP4_API_KEY}`,
  },
});
console.log(res.status, await res.json());
```

### Python

```python
import os
import requests

res = requests.get(
    "https://app.upfour.io/v1/status-page-design-templates/00000000-0000-4000-8000-000000000001",
    headers={"Authorization": f"Bearer {os.environ['UP4_API_KEY']}"},
)
print(res.status_code, res.json())
```

### Go

```go
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	req, _ := http.NewRequest("GET", "https://app.upfour.io/v1/status-page-design-templates/00000000-0000-4000-8000-000000000001", nil)
	req.Header.Set("Authorization", "Bearer "+os.Getenv("UP4_API_KEY"))
	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	out, _ := io.ReadAll(res.Body)
	fmt.Println(res.StatusCode, string(out))
}
```

### PHP

```php
<?php
$ch = curl_init("https://app.upfour.io/v1/status-page-design-templates/00000000-0000-4000-8000-000000000001");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer " . getenv("UP4_API_KEY"),
    ],
]);
$response = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_RESPONSE_CODE), " ", $response, "\n";
curl_close($ch);
```

## Response

### 200

```json
{
  "data": {
    "accent_color": "",
    "asset_kinds": [
      "logo"
    ],
    "assets": [
      {
        "content_type": "image/png",
        "kind": "logo",
        "sha256": "721378bc96ef2ddece4a66b447ba60d6a1266860d9cb23f4e0e6c152f30279cb",
        "size_bytes": 70
      }
    ],
    "created_at": "2026-10-27T09:00:00Z",
    "description": "The look of the Acme status pages.",
    "ground": "paper",
    "header_dark": "#7a9bff",
    "header_light": "#294e9e",
    "id": "00000000-0000-4000-8000-000000000001",
    "includes_css": false,
    "layout": "brand",
    "name": "Acme blue",
    "revision": 1,
    "spec": {
      "accent_color": "",
      "appearance": {
        "ground": "paper",
        "header_dark": "#7a9bff",
        "header_light": "#294e9e",
        "layout": "brand",
        "version": 1
      },
      "custom_css": "",
      "includes_css": false,
      "logo_url": "",
      "theme": "system",
      "version": 1
    },
    "theme": "system",
    "updated_at": "2026-10-27T09:00:00Z"
  }
}
```

### 400

```json
{
  "error": {
    "code": "bad_request",
    "message": "The request is malformed or fails validation.",
    "request_id": "req_…"
  }
}
```

### 404

```json
{
  "error": {
    "code": "design_template_not_found",
    "message": "The design template does not exist or is not visible to the caller.",
    "request_id": "req_…"
  }
}
```

### 409

```json
{
  "error": {
    "code": "design_template_conflict",
    "message": "The design template was changed after the caller read it.",
    "request_id": "req_…"
  }
}
```
