PUT
/
crm
/
step

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
string
required

The ID of the CRM step to update.

name
string | null

New name for the step.

trigger
string | null

New trigger condition or keyword for the step.

prompt
string | null

New main prompt or instruction for the step.

initialMessage
string | null

New initial message for the step.

autoNextStepId
string | null

New ID of the step to automatically transition to. Use null to remove.

autoNextTime
integer | null

New time in seconds for auto-transition. Use null to remove.

defaultStatus
enum<string> | null

New default status for conversations at this step.

Available options:
RESOLVED,
UNRESOLVED,
HUMAN_REQUESTED
defaultPriority
enum<string> | null

New default priority for conversations at this step.

Available options:
LOW,
MEDIUM,
HIGH
assigneeLogicType
enum<string> | null

New logic for assigning conversations at this step.

Available options:
none,
clear,
single_user,
random_selected,
fair_distribution_selected
selectedMembershipIdsForAssignee
string[] | null

New list of membership IDs for assignee logic.

isRequired
boolean | null

New mandatory status for the step.

agentId
string | null

New Agent ID to associate with this step. Use null to remove.

Response

200 - application/json
id
string

The unique identifier for the CRM step.

index
integer

The order/index of the step within its scenario.

prompt
string | null

The main prompt or instruction for this step.

trigger
string | null

A trigger condition or keyword for this step.

initialMessage
string | null

An initial message to be sent when this step is activated.

autoNextStepId
string | null

ID of the step to automatically transition to after this one.

autoNextTime
integer | null

Time in seconds to wait before automatically transitioning to autoNextStepId.

defaultStatus
enum<string> | null

Default status to set for conversations reaching this step.

Available options:
RESOLVED,
UNRESOLVED,
HUMAN_REQUESTED
defaultPriority
enum<string> | null

Default priority to set for conversations reaching this step.

Available options:
LOW,
MEDIUM,
HIGH
assigneeLogicType
enum<string> | null

Logic for assigning conversations at this step.

Available options:
none,
clear,
single_user,
random_selected,
fair_distribution_selected
selectedMembershipIdsForAssignee
string[] | null

List of membership IDs for assignee logic.

isRequired
boolean | null

Indicates if this step is mandatory.

organizationId
string
agentId
string | null
scenarioId
string
createdAt
string

Timestamp of when the step was created.

updatedAt
string

Timestamp of when the step was last updated.

agent
object | null
scenario
object