Update Bot Configuration
https://backend.sindri1.stacks.localbusiness.pro/api/v1/botUpdate any subset of the bot configuration. Warning: when conversationSteps is provided, existing blocks not in the payload will be deactivated (full-sync per customer type).
X-Public-KeystringrequiredYour business public key. Used to identify which business is making the request.
X-TimestampstringrequiredCurrent Unix timestamp in seconds. Requests older than 5 minutes are rejected.
X-SignaturestringrequiredHMAC-SHA256 signature of the signing string: {timestamp}\n{METHOD}\n{path}\n{body}, using your private key as the secret.
namestringBot display name (max 255).
industrystringBusiness industry (max 255).
officeRolestringBot's office role (max 255).
voiceIdstringElevenLabs voice ID (max 255).
languagesstring[]Array of language names.
personalityTraitsobject[]Array of {name, description} objects.
conversationStepsobjectObject keyed by customer type name, each value an array of step objects with name, blockType, instructions.
Responses
{
"bot": {
"id": 1,
"name": "Summit AI",
"industry": "HVAC"
}
}Authentication — HMAC-SHA256
Every authenticated request requires three headers:
X-Public-KeyYour business public keyX-TimestampUnix timestamp (seconds)X-SignatureHMAC-SHA256 of signing stringSigning string: {timestamp}\n{METHOD}\n{path}\n{body}
Request
https://backend.sindri1.stacks.localbusiness.pro/api/v1/botRate Limits
With X-Public-Key: 60 req/min per key
Without: 10 req/min per IP
Code Examples
PUBLIC_KEY="pk_live_..."
PRIVATE_KEY="sk_live_..."
TIMESTAMP=$(date +%s)
PATH_URI="/api/v1/bot"
BODY='{"name":"Summit AI Assistant","industry":"HVAC"}'
SIGNATURE=$(printf '%s\n%s\n%s\n%s' "$TIMESTAMP" "PATCH" "$PATH_URI" "$BODY" \
| openssl dgst -sha256 -hmac "$PRIVATE_KEY" | awk '{print $2}')
curl -X PATCH \
-H "Content-Type: application/json" \
-H "X-Public-Key: $PUBLIC_KEY" \
-H "X-Timestamp: $TIMESTAMP" \
-H "X-Signature: $SIGNATURE" \
-d "$BODY" \
"https://backend.sindri1.stacks.localbusiness.pro$PATH_URI"