---
title: "Generate followup questions"
method: POST
path: "/chat/message/followup-suggestions"
tags: ["API: Message Metadata"]
---

# Generate followup questions

`POST /chat/message/followup-suggestions`

## Request

- Base URL: `https://api.sentiyen.com/api/v3`
- URL: `https://api.sentiyen.com/api/v3/chat/message/followup-suggestions`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/sentiyen/apis/sentiyen-api-v3/docs/chat/message/followup-suggestions/post.ts> (a function with typed inputs; its response is checked against the schema)

This method generates a list of followup questions based on the last message and the conversation context.

## Request body

- object
  - `messageId` string, uuid, required

## Response `200`

A successful response with a list of generated suggested followup questions.

- object
  - `followupSuggestions` string[]

## Other responses

- `422`: Some or all of the received payload is unprocessable.
- `500`: Internal server error

---

[API](https://skmtc.dev/sentiyen/apis/sentiyen-api-v3.md) - [All operations](https://skmtc.dev/sentiyen/apis/sentiyen-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/sentiyen/apis/sentiyen-api-v3/revisions/8ce4e621146e?raw)
