Skip to main content
PATCH
Update AI instructions

Authorizations

x-api-key
string
header
required

Location/organization API key.

Path Parameters

location_id
string
required

Body

application/json

Replaces the complete current location-level instructions. The value is not merged with the existing instructions.

chatbot_instructions
string | null

Complete non-blank replacement instructions, or null to clear them.

Required string length: 1 - 10000

Response

The updated AI instructions and the immediately previous value.

The updated instructions together with the value that was active immediately before this request.

object
enum<string>
Available options:
ai_instructions
location_id
string
chatbot_instructions
string | null
previous_chatbot_instructions
string | null