---
title: "Search Credentials"
method: POST
path: "/credential/search"
tags: ["Credential"]
---

# Search Credentials

`POST /credential/search`

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

- `searchTerm` field is searched within the name and emails of the Credentials
- `campaignIds` field is a string array used for filtering the Credentials which belong to the given Campaigns
- `recipientIds` field is a string array used for filtering the Credentials which belong to the given Recipients

## Headers

- `api-version` string, required

## Request body

- CredentialSearchRequest
  - `startIndex` integer
  - `length` integer
  - `status` integer
  - `campaignIds` string[] — Filter by Campaign IDs
  - `recipientIds` string[] — Filter by Recipient IDs
  - `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)
