---
title: "Search Campaigns"
method: POST
path: "/campaign/search"
tags: ["Campaign"]
---

# Search Campaigns

`POST /campaign/search`

Returns the organizations Campaigns 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 Campaigns
- `status` field takes in the `status` enum values in an array to filter the results

## Headers

- `api-version` string, required

## Request body

- CampaignSearchRequest
  - `startIndex` integer
  - `length` integer
  - `status` integer[] — Campaign status enum values (0=NoEntry, 1=Draft, 2=Scheduled, 3=Sent)
  - `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)
