---
title: "List the organization’s style profiles"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.cloudraker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List the organization’s style profiles

Path: CloudRaker Workspace API › Style profiles

`GET /style-profiles`

Every style profile of the caller’s organization, oldest first. At most one carries `isDefault`. Authorization: any member.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Code samples

### cURL

```bash
curl --request GET \
  --url https://api.cloudraker.com/style-profiles \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/style-profiles';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/style-profiles"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

The organization’s profiles.

#### Example

```json
{
  "data": [
    {
      "name": "string",
      "logoFileId": null,
      "colors": {},
      "fonts": {},
      "page": {},
      "headings": {},
      "table": {},
      "isDefault": false,
      "id": "sty_01J9ZQ8YV3K7M2N4P6R8T0W2X4",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "createdBy": "string"
    }
  ]
}
```

- `data` (`listStyleProfiles.response.200.data`; array<object>, required)
  - `name` (`listStyleProfiles.response.200.data.name`; string, required)
    - minLength 1; maxLength 120
  - `id` (`listStyleProfiles.response.200.data.id`; string, required)
    - example `"sty_01J9ZQ8YV3K7M2N4P6R8T0W2X4"`
  - `createdAt` (`listStyleProfiles.response.200.data.createdAt`; string, required)
    - format `date-time`; pattern `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
  - `updatedAt` (`listStyleProfiles.response.200.data.updatedAt`; string, required)
    - format `date-time`; pattern `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
  - `createdBy` (`listStyleProfiles.response.200.data.createdBy`; string, required)
  - `logoFileId` (`listStyleProfiles.response.200.data.logoFileId`; any of, optional)
    - default `null`
    - any of: `string`, `null`
  - `colors` (`listStyleProfiles.response.200.data.colors`; object, optional)
    - default `{}`
    - `primary` (`listStyleProfiles.response.200.data.colors.primary`; string, optional)
      - pattern `^#[0-9a-fA-F]{6}$`; default `"#1F6FEB"`; example `"#1F6FEB"`
    - `secondary` (`listStyleProfiles.response.200.data.colors.secondary`; string, optional)
      - pattern `^#[0-9a-fA-F]{6}$`; default `"#6E7781"`; example `"#1F6FEB"`
    - `text` (`listStyleProfiles.response.200.data.colors.text`; string, optional)
      - pattern `^#[0-9a-fA-F]{6}$`; default `"#111111"`; example `"#1F6FEB"`
  - `fonts` (`listStyleProfiles.response.200.data.fonts`; object, optional)
    - default `{}`
    - `body` (`listStyleProfiles.response.200.data.fonts.body`; string, optional)
      - minLength 1; maxLength 64; default `"Noto Serif"`
    - `heading` (`listStyleProfiles.response.200.data.fonts.heading`; string, optional)
      - minLength 1; maxLength 64; default `"Roboto"`
    - `baseSize` (`listStyleProfiles.response.200.data.fonts.baseSize`; number, optional)
      - min 7; max 18; default `10.5`
  - `page` (`listStyleProfiles.response.200.data.page`; object, optional)
    - default `{}`
    - `paper` (`listStyleProfiles.response.200.data.page.paper`; string, optional)
      - one of `"a4"`, `"us-letter"`; default `"a4"`
    - `margins` (`listStyleProfiles.response.200.data.page.margins`; object, optional)
      - default `{}`
      - `top` (`listStyleProfiles.response.200.data.page.margins.top`; number, optional)
        - min 1; max 5; default `2.2`
      - `bottom` (`listStyleProfiles.response.200.data.page.margins.bottom`; number, optional)
        - min 1; max 5; default `2.2`
      - `left` (`listStyleProfiles.response.200.data.page.margins.left`; number, optional)
        - min 1; max 5; default `2`
      - `right` (`listStyleProfiles.response.200.data.page.margins.right`; number, optional)
        - min 1; max 5; default `2`
    - `headerText` (`listStyleProfiles.response.200.data.page.headerText`; string, optional)
      - maxLength 200; default `""`
    - `footerText` (`listStyleProfiles.response.200.data.page.footerText`; string, optional)
      - maxLength 200; default `""`
    - `pageNumbers` (`listStyleProfiles.response.200.data.page.pageNumbers`; boolean, optional)
      - default `true`
  - `headings` (`listStyleProfiles.response.200.data.headings`; object, optional)
    - default `{}`
    - `numbered` (`listStyleProfiles.response.200.data.headings.numbered`; boolean, optional)
      - default `false`
    - `color` (`listStyleProfiles.response.200.data.headings.color`; string, optional)
      - one of `"primary"`, `"text"`; default `"primary"`
  - `table` (`listStyleProfiles.response.200.data.table`; object, optional)
    - default `{}`
    - `headerFill` (`listStyleProfiles.response.200.data.table.headerFill`; string, optional)
      - one of `"primary"`, `"secondary"`, `"none"`; default `"secondary"`
    - `stroke` (`listStyleProfiles.response.200.data.table.stroke`; boolean, optional)
      - default `true`
  - `isDefault` (`listStyleProfiles.response.200.data.isDefault`; boolean, optional)
    - default `false`


Source: https://docs.cloudraker.com/workspace/api/style-profiles/list-style-profiles/index.md
