Request
POST https://app.botsify.com/api/v1/update-instruction
Authorization: Bearer token — include your token in the Authorization: Bearer <token> header.
Body Parameters
integer
required
The unique identifier of the bot whose version you want to patch.
string
required
The name of the instruction field to update. Must be one of:
agent— the main system instructionsmemory— memory/retention configurationsoul— personality and tone descriptionidentity— identity and brand voice settingsuser_info— user context handling rules
string
The new content to write into the specified
field. If omitted or empty, the field is cleared.integer
The ID of the version to patch. When omitted, the patch is applied to the currently active version.
Example — Patch the Soul Field on a Specific Version
Example — Patch the Active Version
Response
A successful request returns200 OK with the updated version object, reflecting only the changed field.
