---
title: "Retrieve an application custom attribute definition"
method: GET
path: "/custom-attributes/application/definitions/{id}"
tags: ["Custom Attributes"]
---

# Retrieve an application custom attribute definition

`GET /custom-attributes/application/definitions/{id}`

Retrieves the application custom attribute definition with the specified ID.

## Path parameters

- `id` string, required

## Response `200`

Successfully retrieved the application custom attribute definition.

- AttributeDefinitionResDto
  - `id` string, required
  - `label` string, required
  - `viewType` string, required
  - `definition` union, required
    - object
      - `viewType` 'customText' | 'customNumber' | 'customCheckbox' | 'customDate' | 'customTimestamp' | 'customRating' | 'customCurrency' | 'customDateRange' | 'customDuration' | 'customUrl', required
    - object
      - `viewType` 'customSelect' | 'customMultiSelect', required
      - `options` string[], required
    - object
      - `viewType` 'customEntity' | 'customMultiEntity', required
      - `type` 'user', required
    - object
      - `viewType` 'customEntity' | 'customMultiEntity', required
      - `type` string, required
    - object
      - `viewType` string, required
  - `createdAt` string, date-time, required
  - `modifiedAt` string, date-time, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized - invalid or missing authentication
- `404` — Custom attribute definition not found
- `500` — Error response

---

[API](https://skmtc.net/spott/apis/spott-webhooks.md) · [All operations](https://skmtc.net/spott/apis/spott-webhooks/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spott/spott-webhooks/versions/ad1f8c51cf0a/schema)
