# Get cookie consent settings

**Publié le** : 2026-05-08
**Catégorie** : Settings & Config

## `GET /cookie-consent/settings`

**Get cookie consent settings**

Returns the consent banner configuration (categories, texts, appearance).

Required permissions: `cookie_consent.view`

### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `401` | Unauthorized — invalid or missing API token |
| `403` | Forbidden — insufficient permissions |


### Examples

```bash
curl https://api.lynkow.com/v1/cookie-consent/settings \
  -H "Authorization: Bearer $API_TOKEN"
```

### Response Example

```json
{
  "data": {
    "enabled": true,
    "position": "bottom",
    "categories": [
      {
        "key": "necessary",
        "label": "Necessary",
        "required": true
      },
      {
        "key": "analytics",
        "label": "Analytics",
        "required": false
      },
      {
        "key": "marketing",
        "label": "Marketing",
        "required": false
      }
    ],
    "texts": {
      "title": "Cookie Preferences",
      "description": "We use cookies to improve your experience.",
      "acceptAll": "Accept All",
      "rejectAll": "Reject All"
    }
  }
}
```

---