---
title: "List services with cookies"
method: GET
path: "/sites/{id}/services"
tags: ["Services"]
---

# List services with cookies

`GET /sites/{id}/services`

## Request

- Base URL: `http://localhost:3001/api/v1`
- URL: `http://localhost:3001/api/v1/sites/{id}/services`
- Auth: HTTP bearer

Returns all detected services and their cookies for a site.

## Path parameters

- `id` string, uuid, required: Site ID

## Response `200`

List of services

- object[]
  - `id` string, uuid, required
  - `siteId` string, uuid, required
  - `categoryId` string, uuid, required
  - `slug` string, required
  - `label` string, required
  - `description` string, required
  - `privacyPolicyUrl` string, nullable, required
  - `logoUrl` string, nullable, required
  - `createdAt` string, required
  - `updatedAt` string, required
  - `cookies` object[], required
    - `id` string, uuid, required
    - `serviceId` string, uuid, required
    - `name` string, required
    - `description` string, required
    - `duration` string, required
    - `createdAt` string, required

## Other responses

- `401`: Unauthorized
- `404`: Site not found

---

[API](https://skmtc.dev/consentlayer/apis/consentlayer-api.md) · [All operations](https://skmtc.dev/consentlayer/apis/consentlayer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/consentlayer/apis/consentlayer-api/revisions/b89d4b189d50?raw)
