Skip to main content
PATCH
/
v1
/
chatbots
/
chatbot
/
{chatbotId}
/
conversation-starters
/
reorder
Reorder Conversation Starters
curl --request PATCH \
  --url https://interhemispheric-unwet-paulene.ngrok-free.dev/api/v1/chatbots/chatbot/{chatbotId}/conversation-starters/reorder \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "orderedIds": [
    "id-1",
    "id-2",
    "id-3"
  ]
}
'
{
  "success": true,
  "message": "Conversation starters 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

Starter IDs in the desired display order

Example:
["id-1", "id-2", "id-3"]

Response

Reordered successfully

success
boolean
Example:

true

message
string
Example:

"Conversation starters reordered successfully"