POST
/
modify_prompt
curl --request POST \
  --url https://botsettings.messagesimproved.com/modify_prompt \
  --header 'Content-Type: application/json' \
  --header 'admin-email: <admin-email>' \
  --header 'api-key: <api-key>' \
  --data '{
  "editedString": "<string>",
  "selectedBot": "<string>"
}'
{
  "message": "Prompt edited successfully"
}

Headers

api-key
string
required

API key for authentication.

admin-email
string
required

Email of the admin making the request.

Body

application/json

Response

200
application/json

Prompt edited successfully

The response is of type object.

POST
/
modify_prompt
curl --request POST \
  --url https://botsettings.messagesimproved.com/modify_prompt \
  --header 'Content-Type: application/json' \
  --header 'admin-email: <admin-email>' \
  --header 'api-key: <api-key>' \
  --data '{
  "editedString": "<string>",
  "selectedBot": "<string>"
}'
{
  "message": "Prompt edited successfully"
}

Headers

api-key
string
required

API key for authentication.

admin-email
string
required

Email of the admin making the request.

Body

application/json

Response

200
application/json

Prompt edited successfully

The response is of type object.