Skip to navigation

Update Procedure Visibility

Update or clear the visibility of a procedure draft. This is the condition that controls if a procedure is visible to the agent in its procedure menu.

Path parameters

agent_idstringRequired
Agent ID to get the procedure draft from
branch_idstringRequired
Branch ID to get the procedure draft from
procedure_idstringRequired
The procedure ID

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
visibilityobjectOptional
The condition that controls if the procedure is visible to the agent in its procedure menu. Null clears it, so the procedure is always visible.

Response

Successful Response
procedure_idstring
Procedure ID
namestring<=200 characters
Procedure name
contentstring<=50000 characters
Procedure content
typeenumDefaults to free_form
Procedure type
Allowed values:
triggerstringOptionalDefaults to

When the agent should use this procedure. Empty string means this is a sub-procedure that should only start when another procedure references it.

folder_parent_idstringOptional
Procedure ID of the folder this procedure is placed in. None means root.
visibilityobjectOptional
The condition that controls if the procedure is visible to the agent in its procedure menu. None means always visible.

Errors

422
Procedures Update Visibility Request Unprocessable Entity Error