Skip to main content
POST
Modify a prompt for a selected bot

Headers

api-key
string
required

API key for authentication.

admin-email
string
required

Email of the admin making the request.

Body

application/json
editedString
string

The new prompt text.

selectedBot
string

The ID of the selected bot (optional, falls back to session).

Response

Prompt edited successfully

message
string
Example:

"Prompt edited successfully"