---
title: "Search Designs"
method: POST
path: "/design/search"
tags: ["Design"]
---

# Search Designs

`POST /design/search`

Returns the organizations Designs 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:

- `type` field is used for filtering between certificate and badge designs
  - 1 -> certificate
  - 2 -> badge
- `searchTerm` field is searched within the titles of the designs

The `preview` field in the response will contain the HTML of the design.

## Headers

- `api-version` string, required

## Request body

- DesignSearchRequest
  - `startIndex` integer
  - `length` integer
  - `type` integer — 1 = certificate, 2 = badge
  - `searchTerm` string

## 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)
