Submit dialog
Submits a dialog with input values. Used for dialogs containing text fields, checkboxes, dropdowns, or sliders. The dialog is closed after submission. Note: Full dialog response packets are not yet implemented; this clears local state.
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
instance_id*stringThe UUID of the SoulFire instance containing the bot.
uuidbot_id*stringThe profile UUID of the bot submitting the dialog.
uuidapplication/json- body
Request to submit a dialog with input values. Used for dialogs that have input fields requiring user data.
inputValues*Map of input key to value for each input field.
Keys must match the key field of DialogInput elements.
Response for dialog submission.
application/json- response
Response for dialog submission.
success*booleanWhether the submission was processed successfully.
error?|Error message if success is false. Possible errors: "No dialog is currently displayed"
curl -X POST 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/bots/497f6eca-6276-4993-bfeb-53cbbbba6f08/dialog:submit' \
-H 'Content-Type: application/json' \
-d '{
"inputValues": {
"property1": "string",
"property2": "string"
}
}'{
"success": true,
"error": "string"
}Was this page helpful?
Set bot rotation POST
Sets the bot's view rotation (look direction). Yaw is normalized to -180 to 180, pitch is clamped to -90 to 90. The action is queued and executed on the next game tick.
Update bot config entry PATCH
Updates a single configuration entry for a specific bot. The configuration is persisted to the database immediately.
