cURL
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" }
API key for authentication.
Email of the admin making the request.
Prompt edited successfully
The response is of type object.
object