---
title: "Search Attributes"
method: POST
path: "/attribute/search"
tags: ["Attribute"]
---

# Search Attributes

`POST /attribute/search`

Returns the organizations Attributes in paginated format. The pagination is handled with the `startIndex` and `length` keys in the request body.
There are two filtering options within the body:

- `searchTerm` field is searched within the titles of the Attributes
- `types` field is a string array used for filtering the Attributes by `type`
  - `type` is the data type for the value of the attribute and can have three different values:
    - 1 -> text
    - 2 -> date
    - 3 -> number

## Headers

- `api-version` string, required

## Request body

- AttributeSearchRequest
  - `startIndex` integer
  - `length` integer
  - `searchTerm` string
  - `types` integer[] — Filter by attribute types (1=text, 2=date, 3=number)

## Response `200`

Successful response

- ApiResponse
  - `message` string, nullable
  - `hasError` boolean
  - `validationErrors` string[]
  - `data` unknown
  - `content` unknown

---

[API](https://skmtc.net/sertifier/apis/sertifier-credential-api-documentation.md) · [All operations](https://skmtc.net/sertifier/apis/sertifier-credential-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sertifier/sertifier-credential-api-documentation/revisions/98c494325aae/schema)
