---
title: "POST /search/save"
method: POST
path: "/search/save"
tags: ["Search"]
---

# POST /search/save

`POST /search/save`

Save search data

## Cookies

- `SessionIndex` string, required

## Request body

- object
  - `name` string, required — Name of the search
  - `searchtext` string, required — Search text or query entered by the user
  - `description` string — Additional description of the search
  - `featuretoggle` boolean — Whether a certain feature is enabled or not
  - `searchby` string — The criteria by which the search is filtered
  - `sortingby` string — Sorting method used for the search results
  - `filters` object — Filters applied to the search
    - `product` string[] — Array of product filters
    - `version` string[] — Array of version filters
    - `language` string[] — Array of language filters

## Response `200`

Successfully saved search data

- Search
  - `id` integer
  - `email` string
  - `name` string
  - `searchText` string
  - `featuretoggle` boolean
  - `searchby` string
  - `sortingby` string
  - `description` string
  - `position` integer
  - `filters` object
    - `products` string[]

## Other responses

- `400` — Failure response
- `401` — Unauthorized access
- `404` — No Saved Search found

---

[API](https://skmtc.net/infor/apis/infor-docs-api.md) · [All operations](https://skmtc.net/infor/apis/infor-docs-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/infor/infor-docs-api/revisions/c8f0d96c040e/schema)
