cURL
curl --request POST \ --url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/prompts/{promptId}/assign \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "Assigned prompt to the chatbot successfully", "data": null }
Assign prompt to the chatbot
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Id of the chatbot
Id of the chatbot prompt
OK
Success Response
Indicates whether this is success response or error response
Overall message regarding the operation performed
Data returned from the server
Was this page helpful?