Update the tunable configuration for a session
PATCH/api/sessions/:sessionId/config
Merges the supplied keys into the session config; omitted keys are left unchanged and an explicit null clears a key back to its default. No restart is required or performed. autoRejectCalls is re-read on every incoming call and linkPreview on every send-text or send-template, so both apply immediately; the two reconnect settings are read once per start and therefore apply on the next start.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Updated session configuration
A supplied value is outside its accepted range
The API key is missing, unknown, revoked, or expired
The API key's role, session or chat scope, or IP allow-list does not allow this operation
Session not found
The session config kept changing under concurrent requests; retry