---
title: "Set article search"
method: PUT
path: "/v1/projects/{projectId}/messenger/article-search"
tags: ["messenger"]
---

# Set article search

`PUT /v1/projects/{projectId}/messenger/article-search`

## Request

- Base URL: `https://api.prodantix.com`
- URL: `https://api.prodantix.com/v1/projects/{projectId}/messenger/article-search`
- Auth: HTTP bearer

Lets visitors search the help centre's articles in the messenger, and where they find them: tab, first_view or while_typing. Turning it on needs a plan with article search, and answers 402 otherwise.

## Path parameters

- `projectId` string, required

## Request body

- object
  - `on` boolean, required
  - `placement` 'tab' | 'first_view' | 'while_typing', required

## Response `200`

The article search as stored

- object
  - `on` boolean, required
  - `placement` 'tab' | 'first_view' | 'while_typing', required

## Other responses

- `403`: The caller may not do this
- `404`: The project is not there

---

[API](https://skmtc.dev/prodantix/apis/prodantix-api.md) · [All operations](https://skmtc.dev/prodantix/apis/prodantix-api/llms.txt) · [OpenAPI document](https://skmtc.dev/prodantix/apis/prodantix-api/revisions/fde6615df5a1?raw)
