List mailing skins
On this page
GET
/v1/design/skinslist_design_skins| Risk | read |
| Authentication | API key or OAuth access token |
| Scopes | design:read |
| Idempotency | natural: repeating the call gives the same result |
| Dry run | not applicable |
| Success status | 200 |
| Response type | application/json |
What it does#
- Use when: You want to choose fonts and colors for a mailing.
- Do not use when: you want layouts (call list_design_starters).
- Side effects: None.
- Reversible: Not applicable, nothing changes.
- Required scope: design:read.
- Idempotency: safe to repeat.
- Typical next step: call render_design to preview a starter in a skin.
Scopes#
design:read: Read design starters and skins, and render a design to HTML.
Request#
Path parameters#
None.
Query parameters#
None.
Every read also accepts fields=a,b,c to return only those top-level fields.
Response#
| Field | Type | Required | Description |
|---|---|---|---|
data | array of object | yes | |
data[].id | string | yes | |
data[].label | string | yes | |
data[].description | string | yes | |
data[].heading_font | string | yes | |
data[].body_font | string | yes | |
data[].button_radius | integer, min -9007199254740991, max 9007199254740991 | yes | |
data[].palette | object | yes |
Examples#
neutral#
Request:
curl 'https://api.seemly.com/v1/design/skins' \
-H "Authorization: Bearer $SEEMLY_API_KEY"const response = await fetch("https://api.seemly.com/v1/design/skins", {
headers: {
"Authorization": `Bearer ${process.env.SEEMLY_API_KEY}`,
},
});
const result = await response.json();
console.log(response.status, result);import os
import requests
response = requests.get(
"https://api.seemly.com/v1/design/skins",
headers={
"Authorization": f"Bearer {os.environ['SEEMLY_API_KEY']}",
},
)
print(response.status_code, response.json())Response: 200:
{
"data": [
{
"id": "neutral",
"label": "Neutral",
"description": "Plain and readable.",
"heading_font": "Georgia",
"body_font": "Georgia",
"button_radius": 4,
"palette": {
"background": "#ffffff",
"text": "#1a1a1a"
}
}
]
}Errors#
| Status | Codes |
|---|---|
| 401 | unauthenticated, credential_revoked, credential_expired |
| 403 | insufficient_scope, plan_does_not_include, api_suspended, consent_required |
| 429 | rate_limited |
| 503 | service_unavailable |
Every error is an application/problem+json body with a code, a fix sentence and next_actions. See reading a problem response.