Skip to main content
PATCH
/
v1
/
chatbots
/
chatbot
/
{chatbotId}
/
follow-up-prompts
/
reorder
Reorder Follow-Up Prompts
curl --request PATCH \
  --url https://interhemispheric-unwet-paulene.ngrok-free.dev/api/v1/chatbots/chatbot/{chatbotId}/follow-up-prompts/reorder \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "orderedIds": [
    "<string>"
  ]
}
'
{
  "success": true,
  "message": "Follow-up prompts reordered successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chatbotId
string
required

Body

application/json
orderedIds
string[]
required

Follow-up prompt IDs in the desired display order

Response

Reordered successfully

success
boolean
Example:

true

message
string
Example:

"Follow-up prompts reordered successfully"