---
title: "Get Preset By Id"
method: GET
path: "/api/v1/preset/{preset_id}"
tags: ["Preset"]
---

# Get Preset By Id

`GET /api/v1/preset/{preset_id}`

## Request

- Base URL: `https://api.scade.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.scade.pro/api/v1/preset/{preset_id}`
- Auth: none declared

## Path parameters

- `preset_id` integer, required

## Headers

- `x-company-id` string
- `x-auth-as-staff` boolean
- `x-owner-payment-flag` boolean
- `authorization` string
- `x-auth-token` string

## Cookies

- `ory_kratos_session` string

## Response `200`

Successful Response

- UserPresetReadSchema
  - `id` integer, required
  - `name` string, required
  - `config` string, required
  - `image` string
  - `is_public` boolean, required
  - `order_value` integer, required
  - `preset_type` 'STYLE' | 'AVATAR', required: An enumeration.
  - `preset_categories` PresetCategoryInPresetReadSchema[], required
    - `id` integer, required
    - `name` string, required
    - `order_value` integer, required
    - `company_id` string
  - `is_owner` boolean
  - `user_id` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/scade/apis/scade-prod.md) - [All operations](https://skmtc.dev/scade/apis/scade-prod/llms.txt) - [OpenAPI document](https://skmtc.dev/scade/apis/scade-prod/revisions/f3d7ba71abbc?raw)
