GET
/
retrieve_prompt
curl --request GET \
  --url https://botsettings.messagesimproved.com/retrieve_prompt \
  --header 'admin-email: <admin-email>' \
  --header 'api-key: <api-key>'
{
  "prompt": "<string>"
}

Headers

api-key
string
required

API key for authentication.

admin-email
string
required

Email of the admin making the request.

Query Parameters

selectedBot
string
required

The ID of the selected bot

Response

200
application/json

A prompt was successfully retrieved

The response is of type object.

GET
/
retrieve_prompt
curl --request GET \
  --url https://botsettings.messagesimproved.com/retrieve_prompt \
  --header 'admin-email: <admin-email>' \
  --header 'api-key: <api-key>'
{
  "prompt": "<string>"
}

Headers

api-key
string
required

API key for authentication.

admin-email
string
required

Email of the admin making the request.

Query Parameters

selectedBot
string
required

The ID of the selected bot

Response

200
application/json

A prompt was successfully retrieved

The response is of type object.