strategy
strategy

Update Prompt

Update prompt template for a state.

Creates user override if none exists.

put/api/strategy/prompts/{state}

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/strategy/prompts/{state}
  • Auth: none declared

Path parameters

statestring required

Request body

outbound_promptstring nullable

Prompt for outbound messages

reply_promptstring nullable

Prompt for reply messages

tonestring nullable

Tone: curious, friendly, professional, casual, warm, neutral

max_wordsinteger nullable

Word limit (10-200)

languagestring nullable

Language code: ru, en, or null for auto

reply_modestring nullable

Reply mode: off, draft, send

cooldown_minutesnumber nullable

Cooldown between replies (0-60 min)

outbound_modestring nullable

Outbound mode: off, draft, send

max_replies_per_dayinteger nullable

Max auto-replies per day (1-100)

Response

Successful Response

statestring required
outbound_promptstring required
reply_promptstring required
tonestring required
max_wordsinteger required
languagestring nullable required
is_customboolean required
reply_modestring
cooldown_minutesnumber
outbound_modestring
max_replies_per_dayinteger

Changes

No recorded changes to this operation across all 5 revisions of this API.