---
title: "Search for Attribute Keys"
method: POST
path: "/v1/attribute_keys/search"
tags: ["Attributes"]
---

# Search for Attribute Keys

`POST /v1/attribute_keys/search`

You can search for Attribute Keys by various search criteria.

## Request body

- object
  - `name` string — A name for the custom attribute key.
  - `kind` string — The kind of custom attribute key. Must be one of the following - [text, date, email, image].
  - `department_id` number — Only return custom attribute keys of the given Department.
  - `page_size` number — The pagination response size, default of 50.
  - `page` number — The pagination page.

## Response `200`

OK

- object
  - `attribute_keys` object[]
    - `id` number
    - `name` string
    - `kind` string
    - `department_id` number
  - `meta` object
    - `current_page` number
    - `next_page` unknown
    - `prev_page` unknown
    - `total_pages` number
    - `total_count` number

---

[API](https://skmtc.net/accredible/apis/accredible-credential-api.md) · [All operations](https://skmtc.net/accredible/apis/accredible-credential-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/accredible/accredible-credential-api/versions/56b317c13686/schema)
