> ## Documentation Index
> Fetch the complete documentation index at: https://developers.pcibooking.net/llms.txt
> Use this file to discover all available pages before exploring further.

# List All CSS Records

> Retrieve a list of all CSS records in your account.

<Card title="Stylesheets Guide" icon="book" href="/account-setup/stylesheets">
  Customize the appearance of hosted forms
</Card>

The response is an array of CSS resource summaries in your account. Each item includes the resource name, description, content type, and whether it is the default. To retrieve the full CSS content, use the [Retrieve CSS Record](/api-reference/general/retrieve-css-record) endpoint.

## Error Responses

| HTTP Status | Error Code | Description                                           |
| ----------- | ---------- | ----------------------------------------------------- |
| 401         | -1003      | Not authenticated. The API key is missing or invalid. |

## Parameters

### Headers

<ParamField header="Authorization" type="string" required>
  Your API key prefixed with `APIKEY`. Example: `APIKEY your-api-key`. See the [Authentication guide](/getting-started/authentication).
</ParamField>

<RequestExample>
  ```javascript Node.js theme={null}
  const response = await fetch('https://service.pcibooking.net/api/resources/stylesheet', {
    headers: {
      'Authorization': 'APIKEY your-api-key'
    }
  });

  const cssRecords = await response.json();
  console.log(cssRecords);
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://service.pcibooking.net/api/resources/stylesheet',
      headers={
          'Authorization': 'APIKEY your-api-key'
      }
  )

  css_records = response.json()
  print(css_records)
  ```
</RequestExample>

## Response

<ResponseExample>
  ```json 200 theme={null}
  [
    {
      "ResourceName": "DefaultCSS",
      "Description": "The default CSS",
      "IsDefault": true,
      "ContentType": "text/css"
    },
    {
      "ResourceName": "ArabicCSS",
      "Description": "CSS for Arabic pages",
      "IsDefault": false,
      "ContentType": "text/css"
    }
  ]
  ```

  ```json 401 theme={null}
  {
      "code": -1003,
      "message": "Not authorized to access this resource",
      "moreInfo": "Bad or missing authorization data, expected APIKEY",
      "errorList": null
  }
  ```
</ResponseExample>
