---
title: "Save Favourite"
method: POST
path: "/layer-setup-favourites"
---

# Save Favourite

`POST /layer-setup-favourites`

## Request

- Base URL: `https://api.segly.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.segly.io/layer-setup-favourites`
- Auth: none declared

## Headers

- `authorization` string, nullable

## Request body

- FavouriteSource
  - `preset` string, nullable
  - `job_id` string, uuid, nullable

## Response `200`

Successful Response

- FavouriteSetup
  - `id` string, uuid, required
  - `preset` string, required
  - `labels` string[], required
  - `source_type` 'builtin' | 'job', required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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