Conversations

Update conversation policy

Requires conversations:policy:write. At least one operation is required. freezeForMinutes conflicts with unfreeze=true. Unresolved handoffs lock policy changes.

patch/conversations/{conversationId}/policy

Request

  • Base URL
    https://platform-api.visitoai.com/m2m/v1
  • Auth
    HTTP bearer

Path parameters

conversationIdstring required

Request body

statusAction'archive' | 'unarchive' | 'block' | 'unblock'
manualEnabledboolean
freezeForMinutesinteger
unfreezeboolean

Clear the timed pause. Does not override manual mode or unresolved handoffs.

Response

Success

okboolean
conversationIdstring
changedboolean
statusBeforestring
statusAfterstring
manualEnabledBeforeboolean
manualEnabledAfterboolean
frozenUntilAtAfterstring date-time nullable
conversationKeystring
frozenUntilAtBeforestring
isFrozenBeforeboolean
isFrozenAfterboolean
frozenSecondsRemainingAfterinteger

Changes

No recorded changes to this operation across all 1 revision of this API.